-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployment_chronograf.yaml
55 lines (55 loc) · 1.47 KB
/
deployment_chronograf.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
50
51
52
53
54
55
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: tick
name: chronograf-deployment
labels:
app: chronograf
spec:
selector:
matchLabels:
app: chronograf
template:
metadata:
labels:
app: chronograf
spec:
volumes:
- name: data
hostPath:
path: /var/lib/chronograf
type: Directory
containers:
- name: backend
command: ["chronograf"]
image: chronograf
ports:
- containerPort: 8888
env:
- name: INFLUXDB_URL
value: http://influxdb.tick.svc.cluster.local:8086
- name: INFLUXDB_USERNAME
value: dbUser
- name: INFLUXDB_PASSWORD
value: dbpassword
- name: KAPACITOR_URL
value: http://kapacitor.tick.svc.cluster.local:9092
- name: KAPACITOR_USERNAME
value: kapacitorUser
- name: KAPACITOR_PASSWORD
value: 'kapacitorPassword'
- name: PUBLIC_URL
value: https://yourdnsname
- name: JWKS_URL
value: http://localhost:8888/oauth/github/callback
- name: TOKEN_SECRET
value: tocken
- name: GH_CLIENT_ID
value: id
- name: GH_CLIENT_SECRET
value: secret
- name: BOLT_PATH
value: /var/lib/chronograf/chronograf-v1.db
volumeMounts:
- name: data
mountPath: /var/lib/chronograf