Rapid-fire: kubectl rollout commands for deployments.
BeginnerProductionRapid-Fire Commands
Answer
kubectl set image deployment/api api=reg.example.com/api:$GIT_SHA -n shop
kubectl rollout status deployment/api -n shop --timeout=300s
kubectl rollout history deployment/api -n shop
kubectl rollout undo deployment/api -n shop --to-revision=3
kubectl rollout restart deployment/api -n shop
kubectl rollout pause deployment/api -n shop
More on Rapid-Fire Commands
Rapid-fire: how do you trigger a GitHub Actions workflow from the CLI and watch it?BeginnerRapid-fire: how do you list and manage GitHub secrets and variables via CLI?BeginnerRapid-fire: how do you validate a GitHub Actions workflow locally?BeginnerRapid-fire: how do you validate a `.gitlab-ci.yml` and trigger a pipeline from the CLI?BeginnerRapid-fire: how do you trigger a Jenkins job remotely with parameters?IntermediateRapid-fire: how do you validate a Declarative Jenkinsfile from the command line?Intermediate