kubectl scale deployment base-migrate --replicas=0 -n bpa-ns deployment.apps/base-migrate scaled
kubectl scale deployment base-migrate --replicas=1 -n bpa-ns deployment.apps/base-migrate scaled
kubectl rollout restart deployment db-migrate -n test-ns
references:
https://loft.sh/blog/how-to-restart-pods-in-kubectl-a-tutorial-with-examples/
No comments:
Post a Comment