kubectl describe deployment nginx-deploymentLook for the container name. In this case it would be nginx-container.
kubectl set image deployment/nginx-deployment nginx-container=nginx:1.18Monitor status
kubectl rollout status deployment/nginx-deploymentRelated notes#
- Deployment Rollback — undo a rolling update that went bad
- Deployment and Service Update — editing replicas, image, and service together

