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 kind: Service
metadata: metadata:
name: calico-metrics name: calico-metrics
namespace: kube-system namespace: calico-system
labels: labels:
k8s-app: calico-node k8s-app: calico-node
spec: spec:

View File

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

View File

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