...

/

Check the Rolling Update

Check the Rolling Update

Learn to monitor the status of the rolling update.

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 ...