Difference between revisions of "Kubectl scale sts"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
[[kubectl scale statefulset]] yourstatefulset --replicas=X | [[kubectl scale statefulset]] yourstatefulset --replicas=X | ||
+ | |||
+ | kubectl scale statefulset elasticsearch-master --replicas=0 | ||
+ | [[statefulset.apps/]]elasticsearch-master scaled | ||
+ | |||
+ | == Related == | ||
[[kubectl get sts]] | [[kubectl get sts]] | ||
Revision as of 16:08, 12 December 2023
kubectl scale sts
kubectl scale statefulset yourstatefulset --replicas=X
kubectl scale statefulset elasticsearch-master --replicas=0 statefulset.apps/elasticsearch-master scaled
Related
kubectl get sts
See also
kubectl scale
: [deployment | sts | --help
], HPA- StatefulSets (sts):
kubectl [ get | describe | scale ] statefulset
- Kubernetes Workloads:
Deployment
,ReplicaSet, StatefulSet, DaemonSets, Job, CronJob
,.apps/
Advertising: