From c83d6be2c93f03ec9ae6d73e0f0309612e52049d Mon Sep 17 00:00:00 2001 From: Marius Kimmina <38843153+mariuskimmina@users.noreply.github.com> Date: Mon, 10 Oct 2022 20:11:25 +0200 Subject: [PATCH 1/2] Update statefulset.md Match lowercase spelling of "controller" to the rest of the documentation. --- content/en/docs/concepts/workloads/controllers/statefulset.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/concepts/workloads/controllers/statefulset.md b/content/en/docs/concepts/workloads/controllers/statefulset.md index b5900ecc9ff..5fd692a3cc8 100644 --- a/content/en/docs/concepts/workloads/controllers/statefulset.md +++ b/content/en/docs/concepts/workloads/controllers/statefulset.md @@ -214,7 +214,7 @@ This must be done manually. ### Pod Name Label -When the StatefulSet {{< glossary_tooltip term_id="controller" >}} creates a Pod, +When the StatefulSet {{}} creates a Pod, it adds a label, `statefulset.kubernetes.io/pod-name`, that is set to the name of the Pod. This label allows you to attach a Service to a specific Pod in the StatefulSet. From 0fead5cf46e9c8538ebe30391923f3e8ee32fe7a Mon Sep 17 00:00:00 2001 From: Marius Kimmina Date: Sun, 23 Oct 2022 08:06:05 +0200 Subject: [PATCH 2/2] aditional small fixes --- .../en/docs/concepts/workloads/controllers/statefulset.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/docs/concepts/workloads/controllers/statefulset.md b/content/en/docs/concepts/workloads/controllers/statefulset.md index 5fd692a3cc8..2f05c13b46f 100644 --- a/content/en/docs/concepts/workloads/controllers/statefulset.md +++ b/content/en/docs/concepts/workloads/controllers/statefulset.md @@ -148,7 +148,7 @@ a Pod is considered ready, see [Container Probes](/docs/concepts/workloads/pods/ ## Pod Identity -StatefulSet Pods have a unique identity that is comprised of an ordinal, a +StatefulSet Pods have a unique identity that consists of an ordinal, a stable network identity, and stable storage. The identity sticks to the Pod, regardless of which node it's (re)scheduled on. @@ -274,7 +274,7 @@ annotations for the Pods in a StatefulSet. There are two possible values: create new Pods that reflect modifications made to a StatefulSet's `.spec.template`. `RollingUpdate` -: The `RollingUpdate` update strategy implements automated, rolling update for the Pods in a +: The `RollingUpdate` update strategy implements automated, rolling updates for the Pods in a StatefulSet. This is the default update strategy. ## Rolling Updates @@ -416,7 +416,7 @@ owner reference has been updated appropriate to the policy. If a condemned Pod i force-deleted while the controller is down, the owner reference may or may not have been set up, depending on when the controller crashed. It may take several reconcile loops to update the owner references, so some condemned Pods may have set up owner references and -other may not. For this reason we recommend waiting for the controller to come back up, +others may not. For this reason we recommend waiting for the controller to come back up, which will verify owner references before terminating Pods. If that is not possible, the operator should verify the owner references on PVCs to ensure the expected objects are deleted when Pods are force-deleted.