-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathistio-ingress-dashboards.yaml
More file actions
144 lines (133 loc) · 2.44 KB
/
istio-ingress-dashboards.yaml
File metadata and controls
144 lines (133 loc) · 2.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
apiVersion: v1
type: kubernetes.io/tls
kind: Secret
metadata:
name: ingress-gateway-tlscerts
namespace: istio-system
#data:
# tls.key: <>
# tls.crt: <>
---
apiVersion: v1
type: Opaque
kind: Secret
metadata:
name: kubernetes-dashboard-certs
namespace: kubernetes-dashboard
labels:
addonmanager.kubernetes.io/mode : Reconcile
app: kubernetes-dashboard
# data:
# tls.key: <>
# tls.crt: <>
---
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: kube-dashboard-gateway
namespace: istio-system
spec:
selector:
istio: ingressgateway # use istio default controller
servers:
- port:
number: 443
name: https
protocol: HTTPS
tls:
mode: PASSTHROUGH
# hosts:
# - ""
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: kube-dashboard-vs
namespace: istio-system
spec:
hosts:
- ""
gateways:
- wildcard-cert-gateway
http:
- route:
- destination:
host: kubernetes-dashboard.kube-system.svc.cluster.local
port:
number: 443
---
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: wildcard-cert-gateway
namespace: istio-system
spec:
selector:
istio: ingressgateway # use istio default controller
servers:
- port:
number: 80
name: http
protocol: HTTP
hosts:
- "*.rkim.com"
- port:
number: 443
name: https
protocol: HTTPS
tls:
mode: SIMPLE
credentialName: "ingress-gateway-tlscerts"
hosts:
- "*"
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: kiali
namespace: istio-system
spec:
hosts:
- "*"
# gateways:
# - wildcard-cert-gateway
http:
- route:
- destination:
host: kiali.istio-system.svc.cluster.local
port:
number: 20001
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: prometheus
namespace: istio-system
spec:
hosts:
- "*"
gateways:
- wildcard-cert-gateway
http:
- route:
- destination:
host: prometheus.istio-system.svc.cluster.local
port:
number: 9090
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: grafana-istio
namespace: istio-system
spec:
hosts:
- "*"
gateways:
- wildcard-cert-gateway
http:
- route:
- destination:
host: grafana.istio-system.svc.cluster.local
port:
number: 3000