Updating a cluster

Kops behaves similarly to kubectl; you can edit the configuration files in the editor before actually doing any changes on the cluster. The kops update command will apply configuration changes, but will not modify the running infrastructure. To update the running cluster, you will need to execute the rolling-update command. The following will start the update or recreation process of the cluster's infrastructure:

$ kops rolling-update clusteryes

Our fresh cluster is running, but it's empty. Let's deploy something.

Get Docker and Kubernetes for Java Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.