Kubernetes Deployment Operations TaskSet

Icon 1 7 Troubleshooting Commands

Icon 2 Contributed by stewartshea

Icon 2 Codecollection: rw-cli-codecollection


Perform oprational tasks for a Kubernetes deployment.

Tasks:
  • Restart Deployment `DEPLOYMENT_NAME` in Namespace `NAMESPACE`
  • Force Delete Pods in Deployment `DEPLOYMENT_NAME` in Namespace `NAMESPACE`
  • Rollback Deployment `DEPLOYMENT_NAME` in Namespace `NAMESPACE` to Previous Version
  • Scale Down Deployment `DEPLOYMENT_NAME` in Namespace `NAMESPACE`
  • Scale Up Deployment `DEPLOYMENT_NAME` in Namespace `NAMESPACE` by SCALE_UP_FACTORx
  • Clean Up Stale ReplicaSets for Deployment `DEPLOYMENT_NAME` in Namespace `NAMESPACE`
  • Scale Down Stale ReplicaSets for Deployment `DEPLOYMENT_NAME` in Namespace `NAMESPACE`