Kubernetes 101 : Upgrading the cluster - Rollouts -
We could use the command line for example to update an "nginx" image running inside our kubernetes cluster.
We could use the below command:
--record: for the changes to be recorded, so that we could see them in the "CHANGE-CAUSE" field, when when we display the deployment "history rollout".
Then we check our rollout using the below command:
Then we check our rollout using the below command:
We could achieve the same results, by directly changing the deployment Yaml file and applying the changes:
Comments