[hotfix] Fix namespace for kubelet monitoring (!118)

Co-authored-by: denis.patrakeev <denis.patrakeev@avroid.tech>
Reviewed-on: https://git.avroid.tech/K8s/k8s-configs/pulls/118
Reviewed-by: Rustam Tagaev <rustam.tagaev@avroid.team>
Co-authored-by: Denis Patrakeev <denis.patrakeev@avroid.team>
Co-committed-by: Denis Patrakeev <denis.patrakeev@avroid.team>
This commit is contained in:
Denis Patrakeev
2025-03-06 14:00:41 +03:00
committed by Rustam Tagaev
parent 2ba3cb295d
commit e4b130ebe6
2 changed files with 11 additions and 4 deletions

View File

@@ -68,7 +68,3 @@ spec:
kind: ServiceMonitor kind: ServiceMonitor
- group: '*' - group: '*'
kind: Prometheus kind: Prometheus
# When using Applications-in-any-namespace, this field determines which namespaces this AppProject permits
# Applications to reside in. Details: https://argo-cd.readthedocs.io/en/stable/operator-manual/app-any-namespace/
sourceNamespaces:
- "kube-system"

View File

@@ -25,6 +25,17 @@ alertmanager:
grafana: grafana:
enabled: false enabled: false
## Component scraping the kubelet and kubelet-hosted cAdvisor
##
kubelet:
namespace: kube-prometheus-stack
## Manages Prometheus and Alertmanager components
##
prometheusOperator:
kubeletService:
namespace: kube-prometheus-stack
## Deploy a Prometheus instance ## Deploy a Prometheus instance
## ##
prometheus: prometheus: