Update update-daemon-set.md (#10290)
The default strategy for the update changed from 'OnDelete' to 'RollingUpdate' since Kubernetes 1.8: https://v1-8.docs.kubernetes.io/docs/api-reference/v1.8/#daemonsetupdatestrategy-v1beta2-apps
This commit is contained in:
@@ -25,12 +25,12 @@ This page shows how to perform a rolling update on a DaemonSet.
|
|||||||
|
|
||||||
DaemonSet has two update strategy types:
|
DaemonSet has two update strategy types:
|
||||||
|
|
||||||
* OnDelete: This is the default update strategy for backward-compatibility. With
|
* OnDelete: With `OnDelete` update strategy, after you update a DaemonSet template, new
|
||||||
`OnDelete` update strategy, after you update a DaemonSet template, new
|
|
||||||
DaemonSet pods will *only* be created when you manually delete old DaemonSet
|
DaemonSet pods will *only* be created when you manually delete old DaemonSet
|
||||||
pods. This is the same behavior of DaemonSet in Kubernetes version 1.5 or
|
pods. This is the same behavior of DaemonSet in Kubernetes version 1.5 or
|
||||||
before.
|
before.
|
||||||
* RollingUpdate: With `RollingUpdate` update strategy, after you update a
|
* RollingUpdate: This is the default update strategy.
|
||||||
|
With `RollingUpdate` update strategy, after you update a
|
||||||
DaemonSet template, old DaemonSet pods will be killed, and new DaemonSet pods
|
DaemonSet template, old DaemonSet pods will be killed, and new DaemonSet pods
|
||||||
will be created automatically, in a controlled fashion.
|
will be created automatically, in a controlled fashion.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user