diff --git a/apps/production/monitoring/kube-prometheus-stack.yaml b/apps/production/monitoring/kube-prometheus-stack.yaml index 8fef6ec..4d029d9 100644 --- a/apps/production/monitoring/kube-prometheus-stack.yaml +++ b/apps/production/monitoring/kube-prometheus-stack.yaml @@ -24,4 +24,10 @@ spec: name: monitoring namespace: monitoring interval: 12h - #values: {} + values: + nodeExporter: + hostNetwork: false + hostPID: false + service: + port: 9100 # Use a different port if needed + diff --git a/apps/production/monitoring/namespace.yaml b/apps/production/monitoring/namespace.yaml index ff7ae1b..84f1b4b 100644 --- a/apps/production/monitoring/namespace.yaml +++ b/apps/production/monitoring/namespace.yaml @@ -3,3 +3,6 @@ apiVersion: v1 kind: Namespace metadata: name: monitoring + labels: + pod-security.kubernetes.io/enforce: privileged + pod-security.kubernetes.io/enforce-version: latest