-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2e0e7a7
commit fb93daa
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |