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