fix apply for netchecker upgrade (#1659)

* fix apply for netchecker upgrade and graceful upgrade

* Speed up daemonset upgrades. Make check wait for ds upgrades.
This commit is contained in:
Matthew Mosesohn
2017-09-15 13:19:37 +01:00
committed by GitHub
parent 8d766a2ca9
commit b294db5aed
9 changed files with 21 additions and 21 deletions

View File

@@ -161,6 +161,6 @@ spec:
path: "{{ calico_cert_dir }}"
updateStrategy:
rollingUpdate:
maxUnavailable: 1
maxUnavailable: {{ serial | default('20%') }}
type: RollingUpdate

View File

@@ -190,5 +190,5 @@ spec:
readOnly: true
updateStrategy:
rollingUpdate:
maxUnavailable: 1
maxUnavailable: {{ serial | default('20%') }}
type: RollingUpdate

View File

@@ -121,5 +121,5 @@ spec:
path: /opt/cni/bin
updateStrategy:
rollingUpdate:
maxUnavailable: 1
type: RollingUpdate
maxUnavailable: {{ serial | default('20%') }}
type: RollingUpdate

View File

@@ -156,6 +156,6 @@ items:
path: /lib/modules
updateStrategy:
rollingUpdate:
maxUnavailable: 1
maxUnavailable: {{ serial | default('20%') }}
type: RollingUpdate