Hi ..taking exam in 6 hours .... 🙂 question how to imperat . . .

Laslo Pastor:
hi …taking exam in 6 hours … :slightly_smiling_face: question how to imperatively set image with version
controlplane $ k rollout history deployment dep-nginx
deployment.apps/dep-nginx
REVISION CHANGE-CAUSE
1 <none>
2 kubectl set image deploy/dep-nginx nginx=nginx:1.16.1 --record=true

controlplane $ k set image deploy dep-nginx nginx:1.16.1=nginx:lates --record
deployment.apps/dep-nginx image updated
error: unable to find container named “nginx:1.16.1”

Madhan Kumar:
below is the command and what each word in it means , hope it helps :
kubectl set image deployment deployment-name container-name=image-name --record