@@ -45,29 +45,29 @@ kubectl apply -f - <<EOF
45
45
apiVersion: networking.istio.io/v1alpha3
46
46
kind: Gateway
47
47
metadata:
48
- name: bookinfo-gateway-external
48
+ name: bookinfo-gateway-external
49
49
spec:
50
- selector:
50
+ selector:
51
51
istio: aks-istio-ingressgateway-external
52
- servers:
53
- - port:
54
- number: 80
55
- name: http
56
- protocol: HTTP
52
+ servers:
53
+ - port:
54
+ number: 80
55
+ name: http
56
+ protocol: HTTP
57
57
hosts:
58
58
- "*"
59
59
---
60
60
apiVersion: networking.istio.io/v1alpha3
61
61
kind: VirtualService
62
62
metadata:
63
- name: bookinfo-vs-external
63
+ name: bookinfo-vs-external
64
64
spec:
65
- hosts:
66
- - "*"
67
- gateways:
68
- - bookinfo-gateway-external
69
- http:
70
- - match:
65
+ hosts:
66
+ - "*"
67
+ gateways:
68
+ - bookinfo-gateway-external
69
+ http:
70
+ - match:
71
71
- uri:
72
72
exact: /productpage
73
73
- uri:
82
82
- destination:
83
83
host: productpage
84
84
port:
85
- number: 9080
85
+ number: 9080
86
86
EOF
87
87
```
88
88
@@ -139,29 +139,29 @@ kubectl apply -f - <<EOF
139
139
apiVersion: networking.istio.io/v1alpha3
140
140
kind: Gateway
141
141
metadata:
142
- name: bookinfo-internal-gateway
142
+ name: bookinfo-internal-gateway
143
143
spec:
144
- selector:
144
+ selector:
145
145
istio: aks-istio-ingressgateway-internal
146
- servers:
147
- - port:
148
- number: 80
149
- name: http
150
- protocol: HTTP
146
+ servers:
147
+ - port:
148
+ number: 80
149
+ name: http
150
+ protocol: HTTP
151
151
hosts:
152
152
- "*"
153
153
---
154
154
apiVersion: networking.istio.io/v1alpha3
155
155
kind: VirtualService
156
156
metadata:
157
- name: bookinfo-vs-internal
157
+ name: bookinfo-vs-internal
158
158
spec:
159
- hosts:
160
- - "*"
161
- gateways:
162
- - bookinfo-internal-gateway
163
- http:
164
- - match:
159
+ hosts:
160
+ - "*"
161
+ gateways:
162
+ - bookinfo-internal-gateway
163
+ http:
164
+ - match:
165
165
- uri:
166
166
exact: /productpage
167
167
- uri:
@@ -176,7 +176,7 @@ http:
176
176
- destination:
177
177
host: productpage
178
178
port:
179
- number: 9080
179
+ number: 9080
180
180
EOF
181
181
```
182
182
@@ -211,8 +211,8 @@ kubectl exec "$(kubectl get pod -l app=ratings -o jsonpath='{.items[0].metadata.
211
211
212
212
Confirm you see the sample application's product page is accessible. For example:
213
213
214
- ```
215
- Simple Bookstore App
214
+ ``` html
215
+ < title > Simple Bookstore App</ title >
216
216
```
217
217
218
218
## Delete resources
0 commit comments