Skip to content

Commit

Permalink
trying to fix the grafana deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpbennett committed Jul 13, 2024
1 parent 5e6a2ad commit 9495d57
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions kubernetes/apps/monitoring/grafana/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,39 @@ spec:
labels:
app: grafana
spec:
securityContext:
fsGroup: 472
supplementalGroups:
- 0
containers:
- name: grafana
image: grafana/grafana:latest
ports:
- containerPort: 3000
name: http-grafana
protocol: TCP
readinessProbe:
failureThreshold: 3
httpGet:
path: /robots.txt
port: 3000
scheme: HTTP
initialDelaySeconds: 10
periodSeconds: 30
successThreshold: 1
timeoutSeconds: 2
livenessProbe:
failureThreshold: 3
initialDelaySeconds: 30
periodSeconds: 10
successThreshold: 1
tcpSocket:
port: 3000
timeoutSeconds: 1
resources:
requests:
cpu: 250m
memory: 750Mi
env:
- name: GF_SECURITY_ADMIN_PASSWORD
valueFrom:
Expand Down

0 comments on commit 9495d57

Please sign in to comment.