- Edit ReplicationController or ReplicaSet.
kubectl edit replicaset archetype
- Update Pod template to use a newer image.
#within the config modify the template image #confirm settings with kubectl get replicaset archetype -o yaml
- Delete all running pods.
kubectl delete pods -l app=archetype
- ReplicationController or ReplicaSet creates new pods with update image.
kubectl get pods --show-labels
Last active
November 5, 2019 14:46
-
-
Save duffney/a2b5dc2f1047a4a3dcd619e073ecbbc5 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment