So the last time i created a pod was back in k8s 1.18 during CKA prep, changed r . . .

Ramon:
So the last time i created a pod was back in k8s 1.18 during CKA prep, changed roles and now rusty. How do I create a pod using imperative commands. Simple question, i know but humor me a bit please. Thanks

Tej_Singh_Rana:
Hello, @Ramon
With help of kubectl run command.
nginx pod - kubectl run nginx --image=nginx

Adeyemi Alatishe:
kubectl run nginx-pod --image=nginx