Manage Deployment

  1. Create

kubectl create -f deployment.yaml
  1. Get

kubectl get deployments
  1. Update

kubectl apply -f deployment.yaml
  1. Status

kubectl rollout status deployments/my-deployment

kubectl rollout history deployments/my-deployment
  1. Rollback

kubectl rollout undo deployments/my-deployment