Enable Rolling Update on defined DaemonSets

With RollingUpdate update strategy, after you update a DaemonSet template, old DaemonSet pods will be killed, and new DaemonSet pods will be created automatically, in a controlled fashion.
This commit is contained in:
Casares, Francisco M
2019-03-22 12:22:43 -07:00
committed by Kuralamudhan Ramakrishnan
parent 175f7b2f04
commit 7656080a53
5 changed files with 10 additions and 0 deletions

View File

@@ -91,6 +91,8 @@ metadata:
tier: node tier: node
app: multus app: multus
spec: spec:
updateStrategy:
type: RollingUpdate
template: template:
metadata: metadata:
labels: labels:

View File

@@ -117,6 +117,8 @@ metadata:
tier: node tier: node
app: flannel2 app: flannel2
spec: spec:
updateStrategy:
type: RollingUpdate
template: template:
metadata: metadata:
labels: labels:

View File

@@ -92,6 +92,8 @@ metadata:
tier: node tier: node
app: flannel app: flannel
spec: spec:
updateStrategy:
type: RollingUpdate
template: template:
metadata: metadata:
labels: labels:

View File

@@ -115,6 +115,8 @@ metadata:
tier: node tier: node
app: multus app: multus
spec: spec:
updateStrategy:
type: RollingUpdate
template: template:
metadata: metadata:
labels: labels:

View File

@@ -115,6 +115,8 @@ metadata:
tier: node tier: node
app: multus app: multus
spec: spec:
updateStrategy:
type: RollingUpdate
template: template:
metadata: metadata:
labels: labels: