DAaaS: enhance collectd to be more configurable
[demo.git] / vnfs / DAaaS / deploy / collection / charts / collectd / values.yaml
1 # Default values for collectd.
2 # This is a YAML-formatted file.
3 # Declare variables to be passed into your templates.
4 ingress:
5   enabled: false
6 image:
7   repository: opnfv/barometer-collectd
8   tag: latest
9   pullPolicy: IfNotPresent
10 resources: {}
11   # We usually recommend not to specify default resources and to leave this as a conscious
12   # choice for the user. This also increases chances charts run on environments with little
13   # resources, such as Minikube. If you do want to specify resources, uncomment the following
14   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
15   # limits:
16   #  cpu: 100m
17   #  memory: 128Mi
18   # requests:
19   #  cpu: 100m
20   #  memory: 128Mi
21
22
23 #serviceAccountName: cmk-serviceaccount
24
25 # Uncomment the following tolerations and/or nodeSelector to select the node collectd to be deployed
26 #tolerations:
27 #  - operator: "Exists"
28 #nodeSelector:
29 #  vcmts: "true"
30
31 # Uncomment the following to set environment, command and args for the collectd container
32 #env:
33 #- name: CMK_PROC_FS
34 #  value: "/host/proc"
35 #command:
36 #- "/bin/bash"
37 #- "-c"
38 #args: [ "/opt/bin/cmk isolate --conf-dir=/etc/cmk --pool=infra /script/collectd.sh" ]
39
40 # all the files under the directory resource will be mount into the directory specified by 'configMountPath' inside the container.
41 # Besides that, users can specify any mount by using the 'volumeMounts' and 'volumes'.
42 configMountPath: /opt/collectd/etc
43 volumeMounts:
44 - name: proc
45   mountPath: /mnt/proc
46   readOnly: true
47 - name: root
48   mountPath: /hostfs
49   readOnly: true
50 - name: etc
51   mountPath: /mnt/etc
52   readOnly: true
53 - name: run
54   mountPath: /var/run/docker.sock
55
56 volumes:
57 - name: proc
58   hostPath:
59     path: /proc
60 - name: root
61   hostPath:
62     path: /
63 - name: etc
64   hostPath:
65     path: /etc
66 - name: run
67   hostPath:
68     path: /var/run/docker.sock
69
70 collectd_prometheus:
71   service:
72     type: ClusterIP
73     port: 9103
74     targetPort: 9103
75     selector:
76       app: collectd
77       collector: collectd