Difference between revisions of "Kubectl scale sts"
Jump to navigation
Jump to search
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{lc}} | ||
[[kubectl scale]] [[sts]] | [[kubectl scale]] [[sts]] | ||
− | [[kubectl scale statefulset]] | + | [[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 == | ||
+ | * <code>[[kubectl get sts]]</code> | ||
== See also == | == See also == | ||
+ | * {{kubectl scale}} | ||
+ | * {{StatefulSets}} | ||
* {{Kubernetes Workloads}} | * {{Kubernetes Workloads}} | ||
[[Category:K8s]] | [[Category:K8s]] |
Latest revision as of 09:45, 6 February 2024
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]
kubectl scale
: [deployment | sts | --help
], HPA- StatefulSets (sts):
kubectl [ get | describe | scale ] statefulset
- Kubernetes Workloads:
Deployment
,ReplicaSet, StatefulSet, DaemonSets, Job, CronJob
,.apps/
Advertising: