Fix service names in metrics

This commit is contained in:
Stefan Reimer 2020-12-02 04:30:17 -08:00
parent ee83391296
commit 89780039fc
2 changed files with 6 additions and 3 deletions

View File

@ -10,13 +10,13 @@ metadata:
{{ include "kubezero-lib.labels" $ | indent 4 }}
spec:
hosts:
- {{ index $service.url }}
- {{ $service.url }}
gateways:
- {{ index $service.gateway }}
- {{ $service.gateway }}
http:
- route:
- destination:
host: metrics-{{- $name }}
host: {{ $service.destination }}
---
{{- end }}

View File

@ -181,15 +181,18 @@ istio:
ipBlocks: []
url: ""
gateway: istio-ingress/ingressgateway
destination: metrics-grafana
prometheus:
enabled: false
ipBlocks: []
url: ""
gateway: istio-ingress/ingressgateway
destination: metrics-kube-prometheus-st-prometheus
alertmanager:
enabled: false
ipBlocks: []
url: ""
gateway: istio-ingress/ingressgateway
destination: metrics-kube-prometheus-st-alertmanager