Moke exam 2 - Q-5

Moke exam 2 - Q-5
I am trying to run below command

[Kubectl run nginx-deploy --image=nginx:1.16 --replicas=1 --record

it’'s showing below message

Flag --replicas has been deprecated, has no effect and will be removed in the future.
pod/nginx-deploy created

Could you please share solution.

Hi @karkarbhautik,
It’s just a deprecation warning message.

Regards,
KodeKloud Support

1 Like