Add metrics to network module
This commit is contained in:
parent
2cd33786ea
commit
ef01bea6b0
15
charts/kubezero-network/dashboards.yaml
Normal file
15
charts/kubezero-network/dashboards.yaml
Normal 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
|
17
charts/kubezero-network/templates/grafana-dashboards.yaml
Normal file
17
charts/kubezero-network/templates/grafana-dashboards.yaml
Normal file
File diff suppressed because one or more lines are too long
6
charts/kubezero-network/update.sh
Executable file
6
charts/kubezero-network/update.sh
Executable 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
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user