From 8775f00d53d9df196de0503da45d8f035e7abe9d Mon Sep 17 00:00:00 2001 From: zyue110026 <98426905+zyue110026@users.noreply.github.com> Date: Wed, 9 Jul 2025 16:22:40 -0500 Subject: [PATCH 1/3] Update node-exporter-daemonset.yaml --- manifests/node-exporter-daemonset.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/node-exporter-daemonset.yaml b/manifests/node-exporter-daemonset.yaml index afe2901..0893304 100644 --- a/manifests/node-exporter-daemonset.yaml +++ b/manifests/node-exporter-daemonset.yaml @@ -69,7 +69,7 @@ spec: cpu: 10m memory: 20Mi hostNetwork: true - hostPID: true + hostPID: false nodeSelector: kubernetes.io/os: linux securityContext: From 0ac6039a45af6f26806dc8c04e25817251250f29 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 2/3] 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 From d20730f9705488712244cf6407263db2531a101a Mon Sep 17 00:00:00 2001 From: zyue110026 <98426905+zyue110026@users.noreply.github.com> Date: Sun, 13 Jul 2025 13:14:51 -0500 Subject: [PATCH 3/3] Update prometheus-adapter-deployment.yaml --- manifests/prometheus-adapter-deployment.yaml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/manifests/prometheus-adapter-deployment.yaml b/manifests/prometheus-adapter-deployment.yaml index b9632c8..b95f07d 100644 --- a/manifests/prometheus-adapter-deployment.yaml +++ b/manifests/prometheus-adapter-deployment.yaml @@ -29,17 +29,6 @@ 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