Skip to content

Commit

Permalink
Introduce 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
  • Loading branch information
ravisantoshgudimetla committed Jun 7, 2021
1 parent 7097e3a commit edcbc90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/en/docs/tasks/manage-daemon/update-daemon-set.md
Expand Up @@ -29,13 +29,13 @@ DaemonSet has two update strategy types:
DaemonSet template, old DaemonSet pods will be killed, and new DaemonSet pods
will be created automatically, in a controlled fashion. At most one pod of the DaemonSet will be running on each node during the whole update process.

## Performing a Rolling Update
## Performing a Rolling Updatec

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.
to 1), [`.spec.minReadySeconds`](/docs/concepts/workloads/controllers/deployment/#min-ready-seconds) (default to 0) [`.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 edcbc90

Please sign in to comment.