Tools: Add K8s monitoring cluster 74/70874/3
authorAditya Srivastava <adityasrivastava301199@gmail.com>
Sun, 23 Aug 2020 20:23:02 +0000 (01:53 +0530)
committerAditya Srivastava <adityasrivastava301199@gmail.com>
Thu, 17 Sep 2020 11:27:18 +0000 (16:57 +0530)
commit38a2852c84bb9ce692a79d3f1ab941b9f11106a4
treecd23f1aa69f5e85914d8618401c57335412e92e4
parente5eef0ffdf2d281fecf12597041fd8af23d65e42
Tools: Add K8s monitoring cluster

This patch adds k8s monitoring cluster deployment using ansible for
both client and server side. Also adds scripts (ansible roles) to clean
(remove) the K8S cluster completely.

Signed-off-by: Aditya Srivastava <adityasrivastava301199@gmail.com>
Change-Id: I1115869c0a3e72a20047b31994f3d27e5fdae6c6
47 files changed:
tools/lma/ansible-client/ansible.cfg [new file with mode: 0644]
tools/lma/ansible-client/hosts [new file with mode: 0644]
tools/lma/ansible-client/playbooks/clean.yaml [new file with mode: 0644]
tools/lma/ansible-client/roles/clean-collectd/main.yml [new file with mode: 0644]
tools/lma/ansible-client/roles/collectd/files/collectd.conf.j2 [new file with mode: 0644]
tools/lma/ansible-client/roles/collectd/tasks/main.yml [new file with mode: 0644]
tools/lma/ansible-server/ansible.cfg [new file with mode: 0644]
tools/lma/ansible-server/group_vars/all.yml [new file with mode: 0644]
tools/lma/ansible-server/hosts [new file with mode: 0644]
tools/lma/ansible-server/playbooks/clean.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/clean-k8s-cluster/tasks/main.yml [new file with mode: 0644]
tools/lma/ansible-server/roles/clean-k8s-pre/tasks/main.yml [new file with mode: 0644]
tools/lma/ansible-server/roles/clean-k8s-worker-reset/tasks/main.yml [new file with mode: 0644]
tools/lma/ansible-server/roles/clean-monitoring/tasks/main.yml [new file with mode: 0644]
tools/lma/ansible-server/roles/clean-nfs/tasks/main.yml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/alertmanager/alertmanager-config.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/alertmanager/alertmanager-deployment.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/alertmanager/alertmanager-service.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/alertmanager/alertmanager1-deployment.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/alertmanager/alertmanager1-service.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/cadvisor/cadvisor-deamonset.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/cadvisor/cadvisor-service.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/collectd-exporter/collectd-exporter-deployment.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/collectd-exporter/collectd-exporter-service.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/grafana/grafana-datasource-config.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/grafana/grafana-deployment.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/grafana/grafana-pv.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/grafana/grafana-pvc.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/grafana/grafana-service.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/kube-state-metrics/kube-state-metrics-deployment.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/kube-state-metrics/kube-state-metrics-service.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/monitoring-namespace.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/node-exporter/nodeexporter-daemonset.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/node-exporter/nodeexporter-service.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/prometheus/main-prometheus-service.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/prometheus/prometheus-config.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/prometheus/prometheus-deployment.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/prometheus/prometheus-pv.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/prometheus/prometheus-pvc.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/prometheus/prometheus-service.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/prometheus/prometheus1-deployment.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/files/prometheus/prometheus1-service.yaml [new file with mode: 0644]
tools/lma/ansible-server/roles/monitoring/tasks/main.yml [new file with mode: 0644]
tools/lma/metrics/dashboard/cpu_usage_using.json [new file with mode: 0644]
tools/lma/metrics/dashboard/memory_using.json [new file with mode: 0644]
tools/lma/metrics/dashboard/ovs_stats_using.json [new file with mode: 0644]
tools/lma/metrics/dashboard/rdt_using.json [new file with mode: 0644]