-
Notifications
You must be signed in to change notification settings - Fork 0
/
kube-openmon.yaml
49 lines (49 loc) · 1.42 KB
/
kube-openmon.yaml
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
apiVersion: apps/v1
kind: Deployment
metadata:
name: kube-openmon
namespace: kube-system
labels:
name: kube-openmon
app: kube-openmon
spec:
replicas: 1
selector:
matchLabels:
name: kube-openmon
template:
metadata:
labels:
name: kube-openmon
namespace: kube-system
spec:
containers:
- name: kube-openmon
image: michelgokan/kube-openmon
env:
- name: MONITORING_INTERVAL
value: "{MONITORING_INTERVAL}"
- name: LOG_LEVEL
value: "{LOG_LEVEL}"
- name: ENABLED
value: "{ENABLED}"
# - name: KUBERNETES_CUSTOM_ADDRESS
# value: "{KUBERNETES_CUSTOM_ADDRESS}"
# - name: KUBERNETES_CUSTOM_PORT
# value: "{KUBERNETES_CUSTOM_PORT}"
# - name: INFLUXDB_ADDRESS
# value: "influxdb-influxdb.kube-system"
# - name: INFLUXDB_PORT
# value: "8086"
- name: INFLUXDB_ADDRESS
value: "{INFLUXDB_ADDRESS}"
- name: INFLUXDB_PORT
value: "{INFLUXDB_PORT}"
- name: INFLUXDB_USERNAME
value: "{INFLUXDB_USERNAME}"
- name: INFLUXDB_PASSWORD
value: "{INFLUXDB_PASSWORD}"
- name: INFLUXDB_DATABASE
value: "{INFLUXDB_DATABASE}"
- name: KUBERNETES_CUSTOM_TOKEN
value: "{KUBERNETES_CUSTOM_TOKEN}"