How to run pod with existing statefulset in kubernetes cluster?
You can scale a statefulset in different ways:
kubectl scale --replicas=1 statefulset/my-setkubectl scale sts my-set --replicas=1kubectl patch sts my-set -p '{"spec":{"replicas":1}}'
You can scale a statefulset in different ways:
kubectl scale --replicas=1 statefulset/my-setkubectl scale sts my-set --replicas=1kubectl patch sts my-set -p '{"spec":{"replicas":1}}'