kubectl scale sts

From wikieduonline
(Redirected from Kubectl scale statefulset)
Jump to navigation Jump to search

kubectl scale sts
kubectl scale statefulset yourstatefulset --replicas=X


kubectl scale statefulset elasticsearch-master --replicas=0
statefulset.apps/elasticsearch-master scaled
kubectl scale statefulset my-release-mariadb --replicas=0
statefulset.apps/my-release-mariadb scaled

Related[edit]

See also[edit]

Advertising: