From a5eaf56f1c30cb3414a93912a2439e24edc0fc1d Mon Sep 17 00:00:00 2001 From: Srivahni Date: Wed, 27 Mar 2019 10:29:15 -0700 Subject: Enable rolling update feature of DaemonSet Change-Id: I21ce11895c955dbb007cafdf8d35756a76d5bce7 Issue-ID: ONAPARC-393 Signed-off-by: Srivahni --- vnfs/DAaaS/collection/charts/cadvisor/templates/daemonset.yaml | 2 ++ vnfs/DAaaS/collection/charts/collectd/templates/daemonset.yaml | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'vnfs/DAaaS/collection') 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 -- cgit 1.2.3-korg