Create a ReplicationController:
kubectl create -f nginx-rc.yml
Get the ReplicationController:
kubectl get rc nginx-rc
kubectl get rc nginx-rc -o wide
kubectl get rc nginx-rc -o yaml
kubectl get rc nginx-rc -o json
Describe the ReplicationController:
kubectl describe rc nginx-rc
Scale up the replicas:
kubectl scale rc nginx-rc --replicas=5
Edit the running manifest file:
kubectl edit rc nginx-rc
Delete the ReplicationController:
kubectl delete rc nginx-rc
kubectl delete -f nginx-rc.yml