-
-
Notifications
You must be signed in to change notification settings - Fork 67
/
grafana-deployment.yaml
52 lines (52 loc) · 1.37 KB
/
grafana-deployment.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
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
io.kompose.service: grafana
name: grafana
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: grafana
strategy:
type: Recreate
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: grafana
spec:
containers:
- env:
- name: GF_SECURITY_ADMIN_PASSWORD
value: admin
image: grafana/grafana:7.3.7
name: grafana
ports:
- containerPort: 3000
resources: {}
volumeMounts:
- mountPath: /var/lib/grafana/dashboards
name: grafana-dashboards
- mountPath: /etc/grafana/provisioning
name: grafana-provisioning
- mountPath: /etc/grafana/config.ini
name: grafana-config
hostname: grafana
restartPolicy: Always
volumes:
- hostPath:
path: /Users/kmg/projects/SBK/grafana/dashboards
type: Directory
name: grafana-dashboards
- hostPath:
path: /Users/kmg/projects/SBK/grafana/provisioning
type: Directory
name: grafana-provisioning
- hostPath:
path: /Users/kmg/projects/SBK/grafana/config.ini
type: File
name: grafana-config
status: {}