Hi... What is the solution to the second part of this question?

SR:
Hi… What is the solution to the second part of this question?

Narendra Singh:
@SR use the --record flag while doing the image update.

SR:
What is the command for updating the deployment to 1.17? I don’t want to use kube edit.
It was an imperative command.

Pankaj Arora:

kubectl set image deployment/nginx-deployment nginx=nginx:1.16.1 --record

This command you need to use.

Ioannis Angelakopoulos:

kubectl set image deployment nginx-deploy nginx=nginx:1.17 --record