In this chapter, we have covered Kubernetes and the clustering process in detail. In order to enhance this knowledge, we recommend the following exercises:
- Run a hello world application on the Kubernetes cluster:
- The hello world application can look exactly the same as the one we described in the exercises for Chapter 2, Introducing Docker
- Deploy the application with three replicas
- Expose the application with the NodePort service
- Make a request (using curl) to the application
- Implement a new feature, Goodbye World!, and deploy it using a rolling update:
- This feature can be added as a new endpoint, /bye, which always returns Goodbye World!
- Rebuild a Docker image with a new version tag
- Use the RollingUpdate strategy and readinessProbe
- Observe the rolling update procedure
- Make a request (using curl) to the application