Skip to content

Commit 3f15cee

Browse files
Istio addon docs
1 parent f3ae363 commit 3f15cee

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

articles/aks/istio-deploy-ingress.md

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -45,29 +45,29 @@ kubectl apply -f - <<EOF
4545
apiVersion: networking.istio.io/v1alpha3
4646
kind: Gateway
4747
metadata:
48-
name: bookinfo-gateway-external
48+
name: bookinfo-gateway-external
4949
spec:
50-
selector:
50+
selector:
5151
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
5757
hosts:
5858
- "*"
5959
---
6060
apiVersion: networking.istio.io/v1alpha3
6161
kind: VirtualService
6262
metadata:
63-
name: bookinfo-vs-external
63+
name: bookinfo-vs-external
6464
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:
7171
- uri:
7272
exact: /productpage
7373
- uri:
@@ -82,7 +82,7 @@ http:
8282
- destination:
8383
host: productpage
8484
port:
85-
number: 9080
85+
number: 9080
8686
EOF
8787
```
8888

@@ -139,29 +139,29 @@ kubectl apply -f - <<EOF
139139
apiVersion: networking.istio.io/v1alpha3
140140
kind: Gateway
141141
metadata:
142-
name: bookinfo-internal-gateway
142+
name: bookinfo-internal-gateway
143143
spec:
144-
selector:
144+
selector:
145145
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
151151
hosts:
152152
- "*"
153153
---
154154
apiVersion: networking.istio.io/v1alpha3
155155
kind: VirtualService
156156
metadata:
157-
name: bookinfo-vs-internal
157+
name: bookinfo-vs-internal
158158
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:
165165
- uri:
166166
exact: /productpage
167167
- uri:
@@ -176,7 +176,7 @@ http:
176176
- destination:
177177
host: productpage
178178
port:
179-
number: 9080
179+
number: 9080
180180
EOF
181181
```
182182

@@ -211,8 +211,8 @@ kubectl exec "$(kubectl get pod -l app=ratings -o jsonpath='{.items[0].metadata.
211211

212212
Confirm you see the sample application's product page is accessible. For example:
213213

214-
```
215-
Simple Bookstore App
214+
```html
215+
<title>Simple Bookstore App</title>
216216
```
217217

218218
## Delete resources

0 commit comments

Comments
 (0)