Restart a statefulset:
kubectl rollout restart statefulset mystatefulset -n mynamespace
Scale stateful
kubectl scale statefulsets mystatefulset --replicas=2 -n mynamespace
Scale deployment
kubectl scale deployment mydeployment --replicas=2 -n mynamespace
Leave a Reply