Collectd operator utilties
[demo.git] / vnfs / DAaaS / deploy / day2_configs / collectd / README.txt
1 Assuming initial/day0 config in namespace "edge1" and helm release name as "cp" (helm install -n cp collection/ --namespace=edge1)
2
3 *******************Day2 config (add more plugins)
4 This day2 config adds cpu, memory and cpufreq plugins to existing config
5
6 Run below commands to apply day2 config
7
8 1. kubectl patch --namespace=edge1 configmaps cp-collectd-config -p "$(cat add_plugins.yaml)"
9
10 2. Restart pods: kubectl delete pods --namespace=edge1 cp-collectd-db7mf cp-collectd-pfc9t cp-collectd-sqjvq
11
12
13 ************Day3 config (replace image being used)
14 1. kubectl patch --namespace=edge1 daemonset cp-collectd -p "$(cat replace_image.yaml)"