Difference between revisions of "Kubectl scale sts"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
  [[kubectl scale]] [[sts]]
 
  [[kubectl scale]] [[sts]]
  
  [[kubectl scale statefulset]] statefulset --replicas=X
+
  [[kubectl scale statefulset]] yourstatefulset --replicas=X
  
  [[kubectl get sts]]
+
 
 +
  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 ==

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]

Advertising: