From 12bb7ced533ea1e1b3bce900f8634f0860d9d103 Mon Sep 17 00:00:00 2001 From: Searge Date: Sun, 14 Apr 2024 20:28:12 +0300 Subject: [PATCH] fix: Update Grafana resource limits and disable service account token 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. --- ansible/files/k8s/grafana.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ansible/files/k8s/grafana.yaml b/ansible/files/k8s/grafana.yaml index ebf5257..bdb67ed 100644 --- a/ansible/files/k8s/grafana.yaml +++ b/ansible/files/k8s/grafana.yaml @@ -10,7 +10,12 @@ spec: containers: - image: grafana/grafana name: grafana - resources: {} + resources: + limits: + cpu: "1" + requests: + cpu: "0.5" dnsPolicy: ClusterFirst restartPolicy: Always + automountServiceAccountToken: false status: {}