Difference between revisions of "Kubernetes StatefulSet"
Jump to navigation
Jump to search
(12 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | [[StatefulSets]] | + | [[StatefulSets]] available since [[K8s v1.9]] (Dec/2017) |
* https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/ | * https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/ | ||
+ | [[kubectl get sts -A]] | ||
− | [[kubectl scale sts]] | + | [[kubectl scale sts]] yourstatefulset [[--replicas]]=X |
+ | |||
+ | [[kubectl describe sts -A]] | ||
[[kubectl patch sts elastic-operator]] | [[kubectl patch sts elastic-operator]] | ||
== Related == | == Related == | ||
− | + | * <code>[[statefulset.apps]]</code> | |
+ | * <code>[[kubectl get all -A]] | grep statefulset.apps</code> | ||
+ | * <code>[[kubectl get sts]] -A</code> | ||
+ | * <code>[[kind: StatefulSet]]</code> | ||
+ | * <code>[[VolumeClaimTemplate]]</code> | ||
+ | * <code>[[statefulset-controller]]</code> | ||
+ | * <code>[[kubectl get all]]</code> | ||
== See also == | == See also == |
Revision as of 09:46, 6 February 2024
StatefulSets available since K8s v1.9 (Dec/2017)
kubectl get sts -A
kubectl scale sts yourstatefulset --replicas=X
kubectl describe sts -A
kubectl patch sts elastic-operator
Related
statefulset.apps
kubectl get all -A | grep statefulset.apps
kubectl get sts -A
kind: StatefulSet
VolumeClaimTemplate
statefulset-controller
kubectl get all
See also
Advertising: