Skip to content

Commit

Permalink
Added kiali yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
J-Yash committed May 1, 2020
1 parent 68f149e commit d0af452
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 10 deletions.
2 changes: 1 addition & 1 deletion services/manager/deployment/istio-gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ spec:
name: http
protocol: HTTP
hosts:
- scrumlordsweather.bobbyrathore.com
- '*'

14 changes: 7 additions & 7 deletions services/manager/deployment/istio-virtualservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: manager-vs
spec:
hosts:
- manager.bobbyrathore.com
- '*'
gateways:
- istio-gateway
http:
Expand All @@ -20,7 +20,7 @@ metadata:
name: session-manager-vs
spec:
hosts:
- session.bobbyrathore.com
- '*'
gateways:
- istio-gateway
http:
Expand All @@ -36,7 +36,7 @@ metadata:
name: data-retrieval-vs
spec:
hosts:
- retrieval.bobbyrathore.com
- '*'
gateways:
- istio-gateway
http:
Expand All @@ -52,7 +52,7 @@ metadata:
name: model-execution-vs
spec:
hosts:
- model.bobbyrathore.com
- '*'
gateways:
- istio-gateway
http:
Expand All @@ -68,7 +68,7 @@ metadata:
name: postprocessor-vs
spec:
hosts:
- postprocessor.bobbyrathore.com
- '*'
gateways:
- istio-gateway
http:
Expand All @@ -84,7 +84,7 @@ metadata:
name: user-server-vs
spec:
hosts:
- userserver.bobbyrathore.com
- '*'
gateways:
- istio-gateway
http:
Expand All @@ -100,7 +100,7 @@ metadata:
name: user-interface-vs
spec:
hosts:
- scrumlordsweather.bobbyrathore.com
- '*'
gateways:
- istio-gateway
http:
Expand Down
4 changes: 2 additions & 2 deletions services/manager/deployment/kiali-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ metadata:
app: kiali
type: Opaque
data:
username: scrumlords
passphrase: scrumlords123
username: admin
passphrase: admin
43 changes: 43 additions & 0 deletions services/manager/deployment/kiali-gateway.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: kiali-gateway
namespace: default
spec:
selector:
istio: ingressgateway # use istio default controller
servers:
- port:
number: 20001
name: http-kiali
protocol: HTTP
hosts:
- "*"
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: kiali-vs
spec:
hosts:
- "*"
gateways:
- kiali-gateway
http:
- match:
- port: 20001
route:
- destination:
host: kiali
port:
number: 20001
---
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
name: kiali
spec:
host: kiali
trafficPolicy:
tls:
mode: DISABLE

0 comments on commit d0af452

Please sign in to comment.