The application is running with 5 replicas. You can verify this with the kubectl get deployments command.
You’ll configure a rolling update that will force Kubernetes to update one replica at a time in a methodical manner until all 5 replicas are running on the new version. Kubernetes offers a lot of options to control how the update takes place but, for the purpose of this course, you will stick to this simple method. You are free to explore more advanced options in your own time.
You’ll complete the following steps:
Edit the deploy.yml file to specify a new version and configure update settings
Re-send the YAML file to Kubernetes
Observe the process
Test the new version of the application
Edit the Deployment YAML file
Open the deploy.yml file and add the 6 new lines (10-15), as shown in the following listing. Also, change the last line (26) to reference version 1.1 of the image.