From 6459b9b056c5d4908e092a67b4cd8b55690b273f Mon Sep 17 00:00:00 2001 From: zyue110026 <98426905+zyue110026@users.noreply.github.com> Date: Sun, 13 Jul 2025 13:13:36 -0500 Subject: [PATCH] Update prometheus-adapter-deployment.yaml Signed-off-by: zyue110026 <98426905+zyue110026@users.noreply.github.com> --- manifests/prometheus-adapter-deployment.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/manifests/prometheus-adapter-deployment.yaml b/manifests/prometheus-adapter-deployment.yaml index b95f07d..b9632c8 100644 --- a/manifests/prometheus-adapter-deployment.yaml +++ b/manifests/prometheus-adapter-deployment.yaml @@ -29,6 +29,17 @@ spec: name: prometheus-adapter ports: - containerPort: 6443 + resources: + requests: + memory: "256Mi" + cpu: "250m" + limits: + memory: "512Mi" + cpu: "500m" + securityContext: + runAsUser: 1000 + runAsNonRoot: true + readOnlyRootFilesystem: true volumeMounts: - mountPath: /tmp name: tmpfs