aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/deploy/collection/charts/collectd/values.yaml
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2019-07-30 06:33:13 +0000
committerLianhao Lu <lianhao.lu@intel.com>2019-07-30 06:35:42 +0000
commit2ccd996de67dd3bd6e99366f0a28685beda8fed1 (patch)
tree1dd441ea72780b84d1db77e08a489798e2921009 /vnfs/DAaaS/deploy/collection/charts/collectd/values.yaml
parente3c21ddc5076521fb35aa757a3507ef38ff1d0b5 (diff)
DAaaS: enhance collectd to be more configurable
Enhance the collectd chart in DAaaS to be more configurable, so that it can be launched with k8s CMK environment. Issue-ID: ONAPARC-393 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Change-Id: I28698688a9977f60e89c54f32c1de73c17cb6751
Diffstat (limited to 'vnfs/DAaaS/deploy/collection/charts/collectd/values.yaml')
-rw-r--r--vnfs/DAaaS/deploy/collection/charts/collectd/values.yaml49
1 files changed, 49 insertions, 0 deletions
diff --git a/vnfs/DAaaS/deploy/collection/charts/collectd/values.yaml b/vnfs/DAaaS/deploy/collection/charts/collectd/values.yaml
index fdfcae71..7957b158 100644
--- a/vnfs/DAaaS/deploy/collection/charts/collectd/values.yaml
+++ b/vnfs/DAaaS/deploy/collection/charts/collectd/values.yaml
@@ -18,6 +18,55 @@ resources: {}
# requests:
# cpu: 100m
# memory: 128Mi
+
+
+#serviceAccountName: cmk-serviceaccount
+
+# Uncomment the following tolerations and/or nodeSelector to select the node collectd to be deployed
+#tolerations:
+# - operator: "Exists"
+#nodeSelector:
+# vcmts: "true"
+
+# Uncomment the following to set environment, command and args for the collectd container
+#env:
+#- name: CMK_PROC_FS
+# value: "/host/proc"
+#command:
+#- "/bin/bash"
+#- "-c"
+#args: [ "/opt/bin/cmk isolate --conf-dir=/etc/cmk --pool=infra /script/collectd.sh" ]
+
+# all the files under the directory resource will be mount into the directory specified by 'configMountPath' inside the container.
+# Besides that, users can specify any mount by using the 'volumeMounts' and 'volumes'.
+configMountPath: /opt/collectd/etc
+volumeMounts:
+- name: proc
+ mountPath: /mnt/proc
+ readOnly: true
+- name: root
+ mountPath: /hostfs
+ readOnly: true
+- name: etc
+ mountPath: /mnt/etc
+ readOnly: true
+- name: run
+ mountPath: /var/run/docker.sock
+
+volumes:
+- name: proc
+ hostPath:
+ path: /proc
+- name: root
+ hostPath:
+ path: /
+- name: etc
+ hostPath:
+ path: /etc
+- name: run
+ hostPath:
+ path: /var/run/docker.sock
+
collectd_prometheus:
service:
type: ClusterIP