Managing Kubernetes clusters on GKE
Google Kubernetes Engines offers us the seamless experience of running Kubernetes; it also makes Kubernetes administration so easy. Depending on the expected peak time, we might want to scale the Kubernetes nodes out or in. Alternatively, we could use Autoscaler to do auto-scaling for the nodes. Kubernetes is an evolving platform. The release pace is fast. We might want to upgrade the cluster version from time to time, which is very easy to do. We could also use the Autoupgrade feature to upgrade the cluster by enabling automatically schedule feature in GKE. Let's see how to do it.
Getting ready
Before setting up the administration features that GCP offers, we'll have to have a cluster up and running. We'll reuse the cluster we created in the Playing with the Google Kubernetes Engine recipe in this chapter.
How to do it…
In this recipe, we'll introduce how to manage the number of nodes based on usage and requirements. Also, we'll learn how to deal with cluster...