@@ -52,7 +52,7 @@ type RollingUpdateDaemonSet struct {
52
52
// The maximum number of DaemonSet pods that can be unavailable during the
53
53
// update. Value can be an absolute number (ex: 5) or a percentage of total
54
54
// number of DaemonSet pods at the start of the update (ex: 10%). Absolute
55
- // number is calculated from percentage by rounding down to a minimum of one .
55
+ // number is calculated from percentage by rounding up .
56
56
// This cannot be 0 if MaxSurge is 0
57
57
// Default value is 1.
58
58
// Example: when this is set to 30%, at most 30% of the total number of nodes
@@ -71,15 +71,15 @@ type RollingUpdateDaemonSet struct {
71
71
// Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
72
72
// This can not be 0 if MaxUnavailable is 0.
73
73
// Absolute number is calculated from percentage by rounding up to a minimum of 1.
74
- // Defaults to 25% .
74
+ // Default value is 0 .
75
75
// Example: when this is set to 30%, at most 30% of the total number of nodes
76
76
// that should be running the daemon pod (i.e. status.desiredNumberScheduled)
77
77
// can have their a new pod created before the old pod is marked as deleted.
78
- // The update starts by launching new pods on 30% of nodes. Once an updated
79
- // pod is available (Ready for at least minReadySeconds) the old DaemonSet pod
80
- // on that node is marked deleted. If the old pod becomes unavailable for any
81
- // reason (Ready transitions to false, is evicted, or is drained) an updated
82
- // pod is immediatedly created on that node without considering surge limits.
78
+ // The update starts by launching new pods on 30% of nodes. Once an updated
79
+ // pod is available (Ready for at least minReadySeconds) the old DaemonSet pod
80
+ // on that node is marked deleted. If the old pod becomes unavailable for any
81
+ // reason (Ready transitions to false, is evicted, or is drained) an updated
82
+ // pod is immediately created on that node without considering surge limits.
83
83
// Allowing surge implies the possibility that the resources consumed by the
84
84
// daemonset on any given node can double if the readiness check fails, and
85
85
// so resource intensive daemonsets should take into account that they may
0 commit comments