kubectl create pod imperative code example
Example 1: kubectl create pod imperative command
kubectl run <pod-name> --image=<image> --restart=Never
Example 2: imperative command kubectl update replicas count deployment
kubectl edit deployment/nginx-deployment
Example 3: imperative command kubectl update replicas count deployment
kubectl scale --replicas=<count> deployment/nginx-deployment