The steps to this update process are:
- Update the code or dependencies in source control
- Build and tag a new Docker image
- Push the Docker image to the container repository
- Update the deployment resource in Kubernetes to use this new image
An example of stepping through this will highlight how you can start to roll out code updates, either directly or by adding additional services, to your application.
For this example, we will not change any code immediately, we just want to include the Redis Python library so that it's available. To do this, we would normally use PIP to install the library we want. With our Python example, we are installing all the required libraries with PIP through the dependency listing ...