fix(calico): use the operator created ns for monitoring

!8
This commit is contained in:
2024-02-04 17:33:16 +09:30
parent e8b4b5a00b
commit beaa4f4896
3 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,7 @@ apiVersion: v1
kind: Service
metadata:
name: calico-metrics
namespace: kube-system
namespace: calico-system
labels:
k8s-app: calico-node
spec:

View File

@ -13,7 +13,7 @@ metadata:
app.kubernetes.io/managed-by: {{ $.Release.Service }}
k8s-app: calico-node
name: calico
namespace: kube-system
namespace: calico-system
spec:
endpoints:
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token

View File

@ -310,6 +310,7 @@ nfc_monitoring:
monitor_namespaces:
- alerting
- default
- calico-system
# - ceph
#- grafana
- monitoring