Update prometheus-adapter-deployment.yaml

Signed-off-by: zyue110026 <98426905+zyue110026@users.noreply.github.com>
This commit is contained in:
zyue110026 2025-07-13 13:16:27 -05:00 committed by GitHub
parent d20730f970
commit 81fadfa8cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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