Managing Kubernetes
We created a Kubernetes cluster, we learned about the kubectl
utility and about some of the tools available to develop and maintain your applications in the Kubernetes cluster.
So, if you look back at my three questions in the introduction of this chapter, I've answered the first question. In this section, I am going to answer the other two questions and also cover how to update the Kubernetes version.
Updating applications
Earlier on, we used Helm and Draft to manage our application, doing all the hard work. But you can also update the workload with the help of kubectl
.
Normally, your cluster is empty now, let's quickly deploy our nginx pod
again:
kubectl run nginx --image=nginx
Have a good look at the deployment:

This actually tells us that we wanted one instance, there is one running, that one is up to date (the number of instances that were updated to match the desired), and it is available. The version of nginx running is not the latest one, so I want to update it to version...