imperative commands cheatsheet code example
Example 1: kubectl create pod imperative command
kubectl run --image= --restart=Never
Example 2: imperative command kubectl update replicas count deployment
kubectl edit deployment/nginx-deployment
kubectl run --image= --restart=Never
kubectl edit deployment/nginx-deployment