Skip to content

Commit

Permalink
feat: grafana virtualservice
Browse files Browse the repository at this point in the history
  • Loading branch information
tunacinsoy committed Sep 17, 2024
1 parent 2e0e7a7 commit fb93daa
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions manifests/istio-system/grafana-virtualService.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# This file is responsible for enabling access to kiali dashboard from outside of the cluster

apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
name: grafana
namespace: istio-system # VirtualService is in istio-system namespace
spec:
hosts:
- "grafana.magdalani.com"
gateways:
- blog-app/blog-app-gateway # Reference the Gateway with namespace
http:
- route:
- destination:
host: grafana # They are in the same namespace, so using only name would be fine. otherwise, we would've said: `grafana.istio-system.svc.cluster.local`
port:
number: 3000

0 comments on commit fb93daa

Please sign in to comment.