File tree Expand file tree Collapse file tree 4 files changed +5512
-0
lines changed
kubetest2-tf/data/k8s-ansible Expand file tree Collapse file tree 4 files changed +5512
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ - name : Ensure kubernetes.core collection is installed
3+ hosts : masters
4+ gather_facts : no
5+ tasks :
6+ - name : Install required Ansible collection
7+ ansible.builtin.command :
8+ cmd : ansible-galaxy collection install kubernetes.core
9+ changed_when : false
10+ delegate_to : " {{ groups['masters'][0] }}"
11+
12+ - name : Deploy kube-prometheus-stack to Kubernetes
13+ hosts : masters
14+ become : yes
15+ roles :
16+ - install-monitoring
Original file line number Diff line number Diff line change 1+
2+ ---
3+ helm_release_name : k8s-monitoring
4+ helm_chart_name : prometheus-community/kube-prometheus-stack
5+ helm_chart_version : " 78.4.0"
6+ helm_namespace : monitoring
7+ helm_repo_name : prometheus-community
8+ helm_repo_url : https://prometheus-community.github.io/helm-charts
9+ helm_custom_values : " power-custom-values.yaml"
You can’t perform that action at this time.
0 commit comments