Kubernetes CKAD
Configuration: In Docker | In kubernetes yaml file CMD - args ENTRYPOINT - command The command opton specified in yaml file will overide the entry point specified in docker file,same with the case of args Config maps: blog 1.Create config map imperative way: 2.Declare in a separate yaml file in declarative way as shown below and use in pod definition file: 3. Use only single key property or use in volumes Secrets: It is not good practice to store sensitive information in configmap, so we use secrets sytanxes of both looks like almost same 1.Creating secrets using imperative way 2.Creating secrets using declarative way 3.Use only single key property or use in volumes 4.we didn't store actual passwords,we use base64 encoding, see below 5.we can decode base64 encoded strings as below 6. viewing secret maps Security context: Blog If we want to add specific capabilties to containers,we can add in pod-definition file as shown below We can do the same in docker from docker run comm...