Check the Rolling Update
Explore how to monitor Kubernetes rolling updates using kubectl rollout and port-forward commands. Understand the update process and verify application versions during deployment to ensure zero downtime and successful updates. Learn to clean up deployments effectively to avoid unnecessary resource use.
We'll cover the following...
We'll cover the following...
Monitor the progress
Kubernetes provides us with a kubectl rollout command that helps us to monitor the progress of the Deployment.
kind: Deployment
apiVersion: apps/v1
metadata:
name: qsk-deploy
spec:
replicas: 5 # <<== Change this to 10
selector:
matchLabels:
project: qsk-book
template:
metadata:
labels:
project: qsk-book
spec:
containers:
- name: qsk-pod
imagePullPolicy: Always
ports:
- containerPort: 8080
image: nigelpoulton/qsk-book:1.0 Playground
Run the above widget ...