Add metrics to network module

This commit is contained in:
Stefan Reimer 2023-05-02 10:07:00 +00:00
parent 2cd33786ea
commit ef01bea6b0
4 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,15 @@
configmap: cilium-grafana-dashboards
gzip: true
condition: 'index .Values.cilium.prometheus.enabled'
folder: KubeZero
dashboards:
- name: cilium-agents
url: https://grafana.com/api/dashboards/16611/revisions/1/download
tags:
- cilium
- network
- name: cilium-operator
url: https://grafana.com/api/dashboards/16612/revisions/1/download
tags:
- cilium
- network

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,6 @@
#!/bin/bash
helm dep update
# Create ZDT dashboard configmap
../kubezero-metrics/sync_grafana_dashboards.py dashboards.yaml templates/grafana-dashboards.yaml

View File

@ -78,6 +78,8 @@ cilium:
prometheus: prometheus:
enabled: false enabled: false
serviceMonitor:
enabled: false
port: 9091 port: 9091
operator: operator:
@ -89,6 +91,10 @@ cilium:
effect: NoSchedule effect: NoSchedule
nodeSelector: nodeSelector:
node-role.kubernetes.io/control-plane: "" node-role.kubernetes.io/control-plane: ""
prometheus:
enabled: false
serviceMonitor:
enabled: false
hubble: hubble:
enabled: false enabled: false