aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs
diff options
context:
space:
mode:
authorSrivahni <srivahni.chivukula@intel.com>2019-03-27 10:29:15 -0700
committerSrivahni Chivukula <srivahni.chivukula@intel.com>2019-03-29 17:11:41 +0000
commita5eaf56f1c30cb3414a93912a2439e24edc0fc1d (patch)
tree77ad2a9a98e7b32cb09005096e01af67202a3522 /vnfs
parent6ec630200eda295cac493cf3347bdd43e4be339a (diff)
Enable rolling update feature of DaemonSet
Change-Id: I21ce11895c955dbb007cafdf8d35756a76d5bce7 Issue-ID: ONAPARC-393 Signed-off-by: Srivahni <srivahni.chivukula@intel.com>
Diffstat (limited to 'vnfs')
-rw-r--r--vnfs/DAaaS/collection/charts/cadvisor/templates/daemonset.yaml2
-rw-r--r--vnfs/DAaaS/collection/charts/collectd/templates/daemonset.yaml4
2 files changed, 5 insertions, 1 deletions
diff --git a/vnfs/DAaaS/collection/charts/cadvisor/templates/daemonset.yaml b/vnfs/DAaaS/collection/charts/cadvisor/templates/daemonset.yaml
index 1f659f2b..e287c7d8 100644
--- a/vnfs/DAaaS/collection/charts/cadvisor/templates/daemonset.yaml
+++ b/vnfs/DAaaS/collection/charts/cadvisor/templates/daemonset.yaml
@@ -24,6 +24,8 @@ metadata:
release: {{ .Release.Name }}
spec:
replicas: {{ .Values.replicaCount }}
+ updateStrategy:
+ type: RollingUpdate
selector:
matchLabels:
name: {{ template "fullname" . }}
diff --git a/vnfs/DAaaS/collection/charts/collectd/templates/daemonset.yaml b/vnfs/DAaaS/collection/charts/collectd/templates/daemonset.yaml
index 209b853d..29fdded9 100644
--- a/vnfs/DAaaS/collection/charts/collectd/templates/daemonset.yaml
+++ b/vnfs/DAaaS/collection/charts/collectd/templates/daemonset.yaml
@@ -26,6 +26,8 @@ metadata:
release: {{ .Release.Name }}
spec:
replicas: {{ .Values.replicaCount }}
+ updateStrategy:
+ type: RollingUpdate
template:
metadata:
labels:
@@ -78,4 +80,4 @@ spec:
path: /etc
- name: run
hostPath:
- path: /var/run/docker.sock \ No newline at end of file
+ path: /var/run/docker.sock