Skip to content

Commit

Permalink
fix: Update Grafana resource limits and disable service account token…
Browse files Browse the repository at this point in the history
… automounting

This commit updates the resource limits for the Grafana container in the `grafana.yaml` file. The CPU limit is set to "1" and the CPU request is set to "0.5". Additionally, the service account token automounting is disabled by setting `automountServiceAccountToken` to false.
  • Loading branch information
Searge committed Apr 14, 2024
1 parent 3856e78 commit 68126af
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion ansible/files/k8s/grafana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ spec:
containers:
- image: grafana/grafana
name: grafana
resources: {}
resources:
limits:
cpu: "1"
memory: "200Mi"
requests:
memory: "100Mi"
cpu: "0.5"
dnsPolicy: ClusterFirst
restartPolicy: Always
automountServiceAccountToken: false
status: {}
2 changes: 1 addition & 1 deletion ansible/inventory/cluster.k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
plugin: kubernetes.core.k8s
connections:
- namespaces:
- vault
- vault

0 comments on commit 68126af

Please sign in to comment.