Remove a deployment
Show detailed info about a deployment
Perform rolling update of deployment
Scale replicas of a deployment
kubectl scale deployment <deployment-name> --replicas=<n>
Adjusts the number of pod replicas.
Scale up to 5 replicas
kubectl scale deployment nginx-deploy --replicas=5
Check rollout status of deployment
Rollback to previous deployment revision
Delete a pod