Skip to content

Commit 9f83dc4

Browse files
Merge pull request #337 from sureshch2/maxunavailable_def_change
Added maxUnavailable to set to 10%
2 parents a3c95e9 + f40c64a commit 9f83dc4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build/resources.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,8 +547,8 @@ func createDaemonSet() *appsv1.DaemonSet {
547547
Type: appsv1.RollingUpdateDaemonSetStrategyType,
548548
RollingUpdate: &appsv1.RollingUpdateDaemonSet{
549549
MaxUnavailable: &intstr.IntOrString{
550-
Type: intstr.Int,
551-
IntVal: 1,
550+
Type: intstr.String,
551+
StrVal: "10%",
552552
},
553553
},
554554
},

build/selectorsyncset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ objects:
237237
name: service-ca
238238
updateStrategy:
239239
rollingUpdate:
240-
maxUnavailable: 1
240+
maxUnavailable: 10%
241241
type: RollingUpdate
242242
status:
243243
currentNumberScheduled: 0

0 commit comments

Comments
 (0)