Merge pull request #2407 from mrajashree/updStrategy

Rename addon upgradeStrategy field to strategy
This commit is contained in:
Catherine Luse
2020-03-31 11:23:26 -07:00
committed by GitHub
@@ -59,13 +59,13 @@ An example configuration of the Ingress and network addons is shown below:
ingress: ingress:
provider: nginx provider: nginx
update_strategy: update_strategy:
type: RollingUpdate strategy: RollingUpdate
rollingUpdate: rollingUpdate:
maxUnavailable: 5 maxUnavailable: 5
network: network:
plugin: canal plugin: canal
update_strategy: update_strategy:
type: RollingUpdate strategy: RollingUpdate
rollingUpdate: rollingUpdate:
maxUnavailable: 6 maxUnavailable: 6
``` ```
@@ -101,7 +101,7 @@ An example configuration of the DNS and monitoring addons is shown below:
dns: dns:
provider: coredns provider: coredns
update_strategy: update_strategy:
type: RollingUpdate strategy: RollingUpdate
rollingUpdate: rollingUpdate:
maxUnavailable: 20% maxUnavailable: 20%
maxSurge: 15% maxSurge: 15%
@@ -114,7 +114,7 @@ dns:
monitoring: monitoring:
provider: metrics-server provider: metrics-server
update_strategy: update_strategy:
type: RollingUpdate strategy: RollingUpdate
rollingUpdate: rollingUpdate:
maxUnavailable: 8 maxUnavailable: 8
``` ```
@@ -140,19 +140,19 @@ upgrade_strategy:
ingress: ingress:
provider: nginx provider: nginx
update_strategy: # Available in v2.4 update_strategy: # Available in v2.4
type: RollingUpdate strategy: RollingUpdate
rollingUpdate: rollingUpdate:
maxUnavailable: 5 maxUnavailable: 5
network: network:
plugin: canal plugin: canal
update_strategy: # Available in v2.4 update_strategy: # Available in v2.4
type: RollingUpdate strategy: RollingUpdate
rollingUpdate: rollingUpdate:
maxUnavailable: 6 maxUnavailable: 6
dns: dns:
provider: coredns provider: coredns
update_strategy: # Available in v2.4 update_strategy: # Available in v2.4
type: RollingUpdate strategy: RollingUpdate
rollingUpdate: rollingUpdate:
maxUnavailable: 20% maxUnavailable: 20%
maxSurge: 15% maxSurge: 15%
@@ -165,7 +165,7 @@ dns:
monitoring: monitoring:
provider: metrics-server provider: metrics-server
update_strategy: # Available in v2.4 update_strategy: # Available in v2.4
type: RollingUpdate strategy: RollingUpdate
rollingUpdate: rollingUpdate:
maxUnavailable: 8 maxUnavailable: 8
``` ```