Skip to content

Commit ff02dba

Browse files
committed
conf(grafana): Add NGINX dashboard
Nice dashboard that shows the performance of http requests to applications through ingress-nginx.
1 parent 99938a6 commit ff02dba

File tree

6 files changed

+3977
-32
lines changed

6 files changed

+3977
-32
lines changed

apps/grep/base/deployment.yaml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -16,38 +16,38 @@ spec:
1616
app: grep
1717
spec:
1818
initContainers:
19-
- name: repo-seed
20-
image: bitnami/git:latest
21-
imagePullPolicy: Always
22-
volumeMounts:
23-
- name: gitrepo
24-
mountPath: /shared/metacpan_git
25-
command:
26-
- sh
27-
- -c
28-
- |-
29-
[ -d /shared/metacpan_git/.git ] \
30-
|| git clone https://github.com/metacpan/metacpan-cpan-extracted.git /shared/metacpan_git \
31-
&& touch /shared/metacpan_git/.init_complete
19+
- name: repo-seed
20+
image: bitnami/git:latest
21+
imagePullPolicy: Always
22+
volumeMounts:
23+
- name: gitrepo
24+
mountPath: /shared/metacpan_git
25+
command:
26+
- sh
27+
- -c
28+
- |-
29+
[ -d /shared/metacpan_git/.git ] \
30+
|| git clone https://github.com/metacpan/metacpan-cpan-extracted.git /shared/metacpan_git \
31+
&& touch /shared/metacpan_git/.init_complete
3232
containers:
33-
- name: web
34-
image: metacpan/metacpan-grep-front-end:latest
35-
imagePullPolicy: Always
36-
ports:
37-
- containerPort: 3000
38-
envFrom:
39-
- configMapRef:
40-
name: grep
41-
resources:
42-
# Manage how much memory is allocated, could add cpu if we wanted
43-
requests:
44-
memory: "4072Mi"
45-
limits:
46-
memory: "4072Mi"
47-
volumeMounts:
48-
- name: gitrepo
49-
mountPath: /shared/metacpan_git
50-
readOnly: false
33+
- name: web
34+
image: metacpan/metacpan-grep-front-end:latest
35+
imagePullPolicy: Always
36+
ports:
37+
- containerPort: 3000
38+
envFrom:
39+
- configMapRef:
40+
name: grep
41+
resources:
42+
# Manage how much memory is allocated, could add cpu if we wanted
43+
requests:
44+
memory: "4072Mi"
45+
limits:
46+
memory: "4072Mi"
47+
volumeMounts:
48+
- name: gitrepo
49+
mountPath: /shared/metacpan_git
50+
readOnly: false
5151
volumes:
5252
- name: gitrepo
5353
persistentVolumeClaim:

platform/ingress-nginx/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ patchesStrategicMerge:
5454
operator: In
5555
values:
5656
- ingress-nginx
57-
topologyKey: "kubernetes.io/hostname"
57+
topologyKey: "kubernetes.io/hostname"

0 commit comments

Comments
 (0)