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:
|
||||
enabled: false
|
||||
serviceMonitor:
|
||||
enabled: false
|
||||
port: 9091
|
||||
|
||||
operator:
|
||||
@ -89,6 +91,10 @@ cilium:
|
||||
effect: NoSchedule
|
||||
nodeSelector:
|
||||
node-role.kubernetes.io/control-plane: ""
|
||||
prometheus:
|
||||
enabled: false
|
||||
serviceMonitor:
|
||||
enabled: false
|
||||
|
||||
hubble:
|
||||
enabled: false
|
||||
|
Loading…
Reference in New Issue
Block a user