-
Notifications
You must be signed in to change notification settings - Fork 3
/
sitespeed_grid.yml
184 lines (179 loc) · 3.59 KB
/
sitespeed_grid.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
---
kind: Service
apiVersion: v1
metadata:
name: grafana
labels:
run: grafana
spec:
ports:
- name: grafana
protocol: TCP
port: 3000
targetPort: 3000
selector:
run: grafana
type: NodePort
externalTrafficPolicy: Cluster
---
kind: Service
apiVersion: v1
metadata:
name: graphite
labels:
run: graphite
spec:
ports:
- name: graphite-1
protocol: TCP
port: 8080
targetPort: 80
- name: graphite-2
protocol: TCP
port: 2003
targetPort: 2003
selector:
run: graphite
type: NodePort
externalTrafficPolicy: Cluster
---
kind: Deployment
apiVersion: extensions/v1beta1
metadata:
name: sitespeed-io
labels:
run: sitespeed-io
spec:
replicas: 1
selector:
matchLabels:
run: sitespeed-io
template:
metadata:
labels:
run: sitespeed-io
spec:
containers:
- name: sitespeed-io
image: sitespeedio/sitespeed.io
securityContext:
privileged: true
restartPolicy: Always
command: [ "/bin/bash", "-ce", "tail -f /dev/null" ]
volumeMounts:
- mountPath: /sitespeed.io
name: sitespeed-volume
volumes:
- name: sitespeed-volume
hostPath:
path: '/tmp/'
- name: dshm
emptyDir:
medium: 'Memory'
sizeLimit: '1024Mi'
---
kind: Deployment
apiVersion: extensions/v1beta1
metadata:
name: grafana
labels:
run: grafana
spec:
replicas: 1
selector:
matchLabels:
run: grafana
template:
metadata:
labels:
run: grafana
spec:
containers:
- name: grafana
image: grafana/grafana:6.2.0
restartPolicy: Always
ports:
- containerPort: 3000
env:
- name: GF_SECURITY_ADMIN_PASSWORD
value: hdeAga76VG6ga7plZ1
- name: GF_SECURITY_ADMIN_USER
value: 'sitespeedio'
- name: GF_AUTH_ANONYMOUS_ENABLED
value: 'true'
- name: GF_USERS_ALLOW_SIGN_UP
value: 'false'
- name: GF_USERS_ALLOW_ORG_CREATE
value: 'false'
volumeMounts:
- mountPath: /var/lib/grafana
name: grafana-volume
volumes:
- name: grafana-volume
hostPath:
path: grafana
---
kind: Deployment
apiVersion: extensions/v1beta1
metadata:
name: graphite
labels:
run: graphite
spec:
replicas: 1
selector:
matchLabels:
run: graphite
template:
metadata:
labels:
run: graphite
spec:
containers:
- name: graphite
image: sitespeedio/graphite:1.1.5-3
restartPolicy: Always
ports:
- name: graphite-1
containerPort: 8080
hostPort: 80
- name: graphite-2
containerPort: 2003
hostPort: 2003
env:
- name: GF_PASSWORD
value: hdeAga76VG6ga7plZ1
- name: GF_USER
value: 'sitespeedio'
volumeMounts:
- mountPath: /opt/graphite/storage/whisper
name: whisper-volume
volumes:
- name: whisper-volume
hostPath:
path: whisper
---
kind: Deployment
apiVersion: extensions/v1beta1
metadata:
name: grafana-setup
labels:
run: grafana-setup
spec:
replicas: 1
selector:
matchLabels:
run: grafana-setup
template:
metadata:
labels:
run: grafana-setup
spec:
containers:
- name: grafana-setup
image: sitespeedio/grafana-bootstrap:9.0.1
env:
- name: GF_PASSWORD
value: hdeAga76VG6ga7plZ1
- name: GF_USER
value: 'sitespeedio'