Kubernetes 101 : Upgrading the cluster - Rollouts -

Upgrading an application running inside kubernetes:

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:

We could also check all the changes of the deployment using the below command:

We could achieve the same results, by directly changing the deployment Yaml file and applying the changes:

Then we apply the changes using the below command:

We could see the changes in the image updated by the deployment, using the below command:


Leave as a comment: