Fixing links between pages. (#1869)
* Fixing links between pages. * Address review comments.
This commit is contained in:
parent
051fa3a742
commit
b748017566
|
|
@ -34,7 +34,7 @@ In order to list all the pods which belong to a StatefulSet, which have a label
|
|||
kubectl get pods -l app=myapp
|
||||
```
|
||||
|
||||
If you find that any Pods listed are in `Unknown` or `Terminating` state for an extended period of time, refer to the [Deleting StatefulSet Pods](/docs/tasks/stateful-sets/deleting-pods/) task for instructions on how to deal with them. You can debug individual Pods in a StatefulSet using the [Debugging Pods](/docs/user-guide/debugging-pods-and-replication-controllers/#debugging-pods) guide.
|
||||
If you find that any Pods listed are in `Unknown` or `Terminating` state for an extended period of time, refer to the [Deleting StatefulSet Pods](/docs/tasks/manage-stateful-set/delete-pods/) task for instructions on how to deal with them. You can debug individual Pods in a StatefulSet using the [Debugging Pods](/docs/user-guide/debugging-pods-and-replication-controllers/#debugging-pods) guide.
|
||||
|
||||
StatefulSets provide a debug mechanism to pause all controller operations on Pods using an annotation. Setting the `pod.alpha.kubernetes.io/initialized` annotation to `"false"` on any StatefulSet Pod will *pause* all operations of the StatefulSet. When paused, the StatefulSet will not perform any scaling operations. Once the debug hook is set, you can execute commands within the containers of StatefulSet pods without interference from scaling operations. You can set the annotation to `"false"` by executing the following:
|
||||
|
||||
|
|
@ -77,7 +77,9 @@ kubectl annotate pods <pod-name> pod.alpha.kubernetes.io/initialized="true" --ov
|
|||
{% endcapture %}
|
||||
|
||||
{% capture whatsnext %}
|
||||
Learn more about debugging an init-container. *TODO: Link to Task: Debugging an init-container*
|
||||
|
||||
Learn more about [debugging an init-container](/docs/tasks/troubleshoot/debug-init-containers/).
|
||||
|
||||
{% endcapture %}
|
||||
|
||||
{% include templates/task.md %}
|
||||
|
|
|
|||
|
|
@ -69,7 +69,9 @@ Always perform force deletion of StatefulSet Pods carefully and with complete kn
|
|||
{% endcapture %}
|
||||
|
||||
{% capture whatsnext %}
|
||||
Learn more about debugging a StatefulSet. *TODO: Link to the task for debugging a StatefulSet*
|
||||
|
||||
Learn more about [debugging a StatefulSet](/docs/tasks/manage-stateful-set/debugging-a-statefulset/).
|
||||
|
||||
{% endcapture %}
|
||||
|
||||
{% include templates/task.md %}
|
||||
|
|
|
|||
|
|
@ -73,12 +73,14 @@ In the example above, the Pods have the label `app=myapp`; substitute your own l
|
|||
|
||||
#### Force deletion of StatefulSet pods
|
||||
|
||||
If you find that some pods in your StatefulSet are stuck in the 'Terminating' or 'Unknown' states for an extended period of time, you may need to manually intervene to forcefully delete the pods from the apiserver. This is a potentially dangerous task. Refer to [Deleting StatefulSet Pods](/docs/tasks/stateful-sets/deleting-pods/) for details.
|
||||
If you find that some pods in your StatefulSet are stuck in the 'Terminating' or 'Unknown' states for an extended period of time, you may need to manually intervene to forcefully delete the pods from the apiserver. This is a potentially dangerous task. Refer to [Deleting StatefulSet Pods](/docs/tasks/manage-stateful-set/delete-pods/) for details.
|
||||
|
||||
{% endcapture %}
|
||||
|
||||
{% capture whatsnext %}
|
||||
Learn more about debugging a StatefulSet. *TODO: Link to the task for debugging a StatefulSet*
|
||||
|
||||
Learn more about [force deleting StatefulSet Pods](/docs/tasks/manage-stateful-set/delete-pods/).
|
||||
|
||||
{% endcapture %}
|
||||
|
||||
{% include templates/task.md %}
|
||||
|
|
|
|||
|
|
@ -93,7 +93,9 @@ completely healthy.
|
|||
{% endcapture %}
|
||||
|
||||
{% capture whatsnext %}
|
||||
*TODO: link to other docs about StatefulSet?*
|
||||
|
||||
Learn more about [deleting a StatefulSet](/docs/tasks/manage-stateful-set/deleting-a-statefulset/).
|
||||
|
||||
{% endcapture %}
|
||||
|
||||
{% include templates/task.md %}
|
||||
|
|
|
|||
|
|
@ -157,7 +157,9 @@ are created to adopt PetSets' Pods.
|
|||
{% endcapture %}
|
||||
|
||||
{% capture whatsnext %}
|
||||
Learn more about debugging a StatefulSet. *TODO: Link to the task for debugging a StatefulSet.*
|
||||
|
||||
Learn more about [scaling a StatefulSet](/docs/tasks/manage-stateful-set/scale-stateful-set/).
|
||||
|
||||
{% endcapture %}
|
||||
|
||||
{% include templates/task.md %}
|
||||
|
|
|
|||
Loading…
Reference in New Issue