Update Strategy
editUpdate Strategy
editThe operator takes a Pod down to restart and applies a new configuration value. All Pods are restarted in reverse ordinal order.
Default behavior
editWhen updateStrategy
is not present in the specification, it defaults to the following:
The |
|
This means that all the Pods from ordinal Replicas-1 to |
|
This ensures that the cluster has no more than one unavailable Pod at any given point in time. |
OnDelete
editspec: updateStrategy: type: "OnDelete"
OnDelete
strategy does not automatically update Pods when a modification is made. You need to restart Pods yourself.