From pet to cattle
Home
terraform
terraform HCL reference
terraform command reference
kubernetes
kubernetes object reference
kustomize reference
kubernetes distributions
kubectl reference
kubernetes controllers
helm reference
argo
ArgoCD reference
Argo Workflows reference
about
aws
AWS CDK reference
How to imperatively change a container's image
2 min read
To change a container's image we can:
Update the yaml definition and push it using
kubectl apply
Use
kubectl edit
to update it using a definition fetched from the Kubernetes cluster itself
To use
kubectl set image
to set the new image
Let's check how to use
kubectl set image
14/05/2021
Read more...
From pet to cattle
Treat your kubernetes clusters like cattle, not pets