Can anyone tell me "--generator=run-pod/v1" is mandatory to be used while creati . . .

Amal Srivastav:
can anyone tell me “–generator=run-pod/v1” is mandatory to be used while creating any Pods using imperative way? Same is there in Mock Test2 solution video.

Mark:
nope it’s not required, perhaps it should be from older version.

Mark:
https://kubernetes.io/docs/reference/kubectl/cheatsheet/#interacting-with-running-pods

Mark:
refer ^^ links for more details.

Amal Srivastav:
@Mark Thanks