Skip to content

Commit

Permalink
[ADD] grafana and Kiali dashboards working
Browse files Browse the repository at this point in the history
  • Loading branch information
J-Yash committed Apr 26, 2020
1 parent 13a7536 commit 68f149e
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 5 deletions.
9 changes: 4 additions & 5 deletions services/manager/deployment/grafana-gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ spec:
istio: ingressgateway # use istio default controller
servers:
- port:
number: 80
name: http
number: 15031
name: http-grafana
protocol: HTTP
hosts:
- "*"
Expand All @@ -25,13 +25,12 @@ spec:
- grafana-gateway
http:
- match:
- uri:
prefix: "/"
- port: 15031
route:
- destination:
host: grafana
port:
number: 3000
host: grafana
---
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
Expand Down
45 changes: 45 additions & 0 deletions services/manager/deployment/grafana-telemetry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: istio-telemetry-gateway
namespace: default
spec:
selector:
istio: ingressgateway
servers:
- port:
number: 15031
name: http2-grafana
protocol: HTTP2
hosts:
- "*"
---
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
name: grafana
namespace: default
spec:
host: grafana.default.svc.cluster.local
trafficPolicy:
tls:
mode: DISABLE
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: telemetry-virtual-service
namespace: default
spec:
hosts:
- "*"
gateways:
- istio-telemetry-gateway
http:
- match:
- port: 15031
route:
- destination:
host: grafana.default.svc.cluster.local
port:
number: 3000
11 changes: 11 additions & 0 deletions services/manager/deployment/kiali-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: v1
kind: Secret
metadata:
name: kiali
namespace: default
labels:
app: kiali
type: Opaque
data:
username: scrumlords
passphrase: scrumlords123

0 comments on commit 68f149e

Please sign in to comment.