Chapter 4: Automated operations
View in the book.
Buy the book.
Kubernetes can automate many operations, like restarting your container if it crashes and migrating your application in the case of hardware failure. Kubernetes can also help you update your application without outages and glitches by booting the new version and monitoring its status to ensure it’s ready to serve traffic before removing the old version.
4.1.2 Adding a readiness probe
Add a readiness probe to avoid sending traffic to unready Pods.
4.1.3 Adding a liveness probe
Add a liveness probe to restart broken Pods.
4.2.1 Rolling update strategy
Rollout changes to Deployments gradually with rolling update.
4.2.2 Re-create strategy
Rollout changes to Deployments with re-create.
4.2.3 Blue/green strategy
Rolling out with blue/green.