Address Devin's comments
This commit is contained in:
committed by
Devin Donnelly
parent
eef081913b
commit
247e0da932
+1
-1
@@ -37,5 +37,5 @@ toc:
|
|||||||
section:
|
section:
|
||||||
- title: Upgrading from PetSets to StatefulSets
|
- title: Upgrading from PetSets to StatefulSets
|
||||||
path: /docs/tasks/manage-stateful-set/upgrade-pet-set-to-stateful-set/
|
path: /docs/tasks/manage-stateful-set/upgrade-pet-set-to-stateful-set/
|
||||||
- title: Scaling a Stateful Set
|
- title: Scaling a StatefulSet
|
||||||
path: /docs/tasks/manage-stateful-set/scale-stateful-set/
|
path: /docs/tasks/manage-stateful-set/scale-stateful-set/
|
||||||
|
|||||||
+1
-1
@@ -31,7 +31,7 @@ single thing, typically by giving a short sequence of steps.
|
|||||||
#### Managing Stateful Applications
|
#### Managing Stateful Applications
|
||||||
|
|
||||||
* [Upgrading from PetSets to StatefulSets](/docs/tasks/manage-stateful-set/upgrade-pet-set-to-stateful-set/)
|
* [Upgrading from PetSets to StatefulSets](/docs/tasks/manage-stateful-set/upgrade-pet-set-to-stateful-set/)
|
||||||
* [Scaling a Stateful Set](/docs/tasks/manage-stateful-set/scale-stateful-set/)
|
* [Scaling a StatefulSet](/docs/tasks/manage-stateful-set/scale-stateful-set/)
|
||||||
|
|
||||||
### What's next
|
### What's next
|
||||||
|
|
||||||
|
|||||||
@@ -77,13 +77,13 @@ after those stateful Pods become running and ready.
|
|||||||
|
|
||||||
With a StatefulSet of size > 1, if there is an unhealthy Pod, there is no way
|
With a StatefulSet of size > 1, if there is an unhealthy Pod, there is no way
|
||||||
for Kubernetes to know (yet) if it is due to a permanent fault or a transient
|
for Kubernetes to know (yet) if it is due to a permanent fault or a transient
|
||||||
one (upgrade/maintenance/node reboot). If it were a permanent fault, scaling
|
one (upgrade/maintenance/node reboot). If the Pod is unhealthy due to a permanent fault, scaling
|
||||||
without paying heed to it may lead to a state where the StatefulSet membership
|
without correcting the fault may lead to a state where the StatefulSet membership
|
||||||
drops below a certain minimum number of "replicas" that are needed to function
|
drops below a certain minimum number of "replicas" that are needed to function
|
||||||
correctly, leading to unavailability (or worse).
|
correctly. This may cause your StatefulSet to become unavailable.
|
||||||
|
|
||||||
If it were a transient one and the Pod were coming back up shortly, you won't
|
If the Pod is unhealthy due to a transient fault and the Pod might become available again,
|
||||||
want that to interleave with your scale-up/scale-down operation. Some distributed
|
the transient error may interfere with your scale-up/scale-down operation. Some distributed
|
||||||
databases have issues when nodes join and leave at the same time. It is better
|
databases have issues when nodes join and leave at the same time. It is better
|
||||||
to reason about scaling operations at the application level in these cases, and
|
to reason about scaling operations at the application level in these cases, and
|
||||||
perform scaling only when you're sure that your stateful application cluster is
|
perform scaling only when you're sure that your stateful application cluster is
|
||||||
|
|||||||
Reference in New Issue
Block a user