Fix service names in metrics
This commit is contained in:
parent
ee83391296
commit
89780039fc
@ -10,13 +10,13 @@ metadata:
|
|||||||
{{ include "kubezero-lib.labels" $ | indent 4 }}
|
{{ include "kubezero-lib.labels" $ | indent 4 }}
|
||||||
spec:
|
spec:
|
||||||
hosts:
|
hosts:
|
||||||
- {{ index $service.url }}
|
- {{ $service.url }}
|
||||||
gateways:
|
gateways:
|
||||||
- {{ index $service.gateway }}
|
- {{ $service.gateway }}
|
||||||
http:
|
http:
|
||||||
- route:
|
- route:
|
||||||
- destination:
|
- destination:
|
||||||
host: metrics-{{- $name }}
|
host: {{ $service.destination }}
|
||||||
---
|
---
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
@ -181,15 +181,18 @@ istio:
|
|||||||
ipBlocks: []
|
ipBlocks: []
|
||||||
url: ""
|
url: ""
|
||||||
gateway: istio-ingress/ingressgateway
|
gateway: istio-ingress/ingressgateway
|
||||||
|
destination: metrics-grafana
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
enabled: false
|
enabled: false
|
||||||
ipBlocks: []
|
ipBlocks: []
|
||||||
url: ""
|
url: ""
|
||||||
gateway: istio-ingress/ingressgateway
|
gateway: istio-ingress/ingressgateway
|
||||||
|
destination: metrics-kube-prometheus-st-prometheus
|
||||||
|
|
||||||
alertmanager:
|
alertmanager:
|
||||||
enabled: false
|
enabled: false
|
||||||
ipBlocks: []
|
ipBlocks: []
|
||||||
url: ""
|
url: ""
|
||||||
gateway: istio-ingress/ingressgateway
|
gateway: istio-ingress/ingressgateway
|
||||||
|
destination: metrics-kube-prometheus-st-alertmanager
|
||||||
|
Loading…
Reference in New Issue
Block a user