Skip to content

Commit

Permalink
Make maxSurge as beta feature for DaemonSets
Browse files Browse the repository at this point in the history
kubernetes/kubernetes#101742 merged which made this feature beta.
This is the companion docs PR for kubernetes/enhancements#2665

Co-authored-by: Karen Bradshaw <kbhawkey@gmail.com>
  • Loading branch information
ravisantoshgudimetla and kbhawkey committed Jul 21, 2021
1 parent a1fd3a2 commit 06599a6
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions content/en/docs/tasks/manage-daemon/update-daemon-set.md
Expand Up @@ -32,11 +32,13 @@ DaemonSet has two update strategy types:
To enable the rolling update feature of a DaemonSet, you must set its
`.spec.updateStrategy.type` to `RollingUpdate`.

You may want to set
[`.spec.updateStrategy.rollingUpdate.maxUnavailable`](/docs/concepts/workloads/controllers/deployment/#max-unavailable)
(default to 1) and
[`.spec.minReadySeconds`](/docs/concepts/workloads/controllers/deployment/#min-ready-seconds)
(default to 0) as well.
You may want to set
[`.spec.updateStrategy.rollingUpdate.maxUnavailable`](/docs/concepts/workloads/controllers/deployment/#max-unavailable)
(default to 1),
[`.spec.minReadySeconds`](/docs/concepts/workloads/controllers/deployment/#min-ready-seconds)
(default to 0) and
[`.spec.maxSurge`](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#max-surge)
(a beta feature and defaults to 25%) as well.

### Creating a DaemonSet with `RollingUpdate` update strategy

Expand Down

0 comments on commit 06599a6

Please sign in to comment.