Fix service names in metrics

This commit is contained in:
Stefan Reimer 2020-12-02 04:30:17 -08:00
parent 1ac2eddcea
commit 1715ba00d4
2 changed files with 6 additions and 3 deletions

View File

@ -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 }}

View File

@ -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