-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.yml
59 lines (58 loc) · 1.83 KB
/
install.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
# Prometheus only need to be installed on one of the node and it will find rest of the nodes
- name: Install prometheus on master
hosts: server
become: true
gather_facts: true
tasks:
- name: Install prometheus
kubernetes.core.helm:
name: prometheus
chart_repo_url: https://prometheus-community.github.io/helm-charts
chart_ref: kube-prometheus-stack
chart_version: "55.5.0"
release_namespace: monitoring
create_namespace: true
release_name: prometheus
values:
nameOverride: "prometheus"
fullnameOverrride: "prometheus"
coreDns:
enabled: false
kubeDns:
enabled: true
alertmanager:
alertmanagerSpec:
nodeSelector:
kubernetes.io/hostname: london-2
grafana:
imageRenderer:
nodeSelector:
kubernetes.io/hostname: london-2
nodeSelector:
kubernetes.io/hostname: london-2
kube-state-metrics:
nodeSelector:
kubernetes.io/hostname: london-2
prometheus:
prometheusSpec:
nodeSelector:
kubernetes.io/hostname: london-2
prometheus-node-exporter:
nodeSelector:
kubernetes.io/hostname: london-2
prometheusOperator:
admissionWebhooks:
deployment:
nodeSelector:
kubernetes.io/hostname: london-2
patch:
nodeSelector:
kubernetes.io/hostname: london-2
nodeSelector:
kubernetes.io/hostname: london-2
thanosRuler:
thanosRulerSpec:
nodeSelector:
kubernetes.io/hostname: london-2
state: present