Skip to content

Commit 152c285

Browse files
authored
Update README.md
1 parent d657e73 commit 152c285

File tree

1 file changed

+63
-2
lines changed

1 file changed

+63
-2
lines changed

lab-5/README.md

Lines changed: 63 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,70 @@ In this lab, we are going to get our hands on some of the traffic management cap
66

77
Before we start playing with Istio's traffic management capabilities, we need to define the available versions of the deployed services. In Istio parlance, versions are called subsets. Subsets are defined in destination rules.
88

9-
<!-- Run the following command to create default destination rules for the Bookinfo services:
9+
<!-- Run the following in the custom yaml section to create default destination rules for the Bookinfo services:
1010
```sh
11-
kubectl apply -f samples/bookinfo/networking/destination-rule-all-mtls.yaml
11+
apiVersion: networking.istio.io/v1alpha3
12+
kind: DestinationRule
13+
metadata:
14+
name: productpage
15+
spec:
16+
host: productpage
17+
subsets:
18+
- name: v1
19+
labels:
20+
version: v1
21+
---
22+
apiVersion: networking.istio.io/v1alpha3
23+
kind: DestinationRule
24+
metadata:
25+
name: reviews
26+
spec:
27+
host: reviews
28+
subsets:
29+
- name: v1
30+
labels:
31+
version: v1
32+
- name: v2
33+
labels:
34+
version: v2
35+
- name: v3
36+
labels:
37+
version: v3
38+
---
39+
apiVersion: networking.istio.io/v1alpha3
40+
kind: DestinationRule
41+
metadata:
42+
name: ratings
43+
spec:
44+
host: ratings
45+
subsets:
46+
- name: v1
47+
labels:
48+
version: v1
49+
- name: v2
50+
labels:
51+
version: v2
52+
- name: v2-mysql
53+
labels:
54+
version: v2-mysql
55+
- name: v2-mysql-vm
56+
labels:
57+
version: v2-mysql-vm
58+
---
59+
apiVersion: networking.istio.io/v1alpha3
60+
kind: DestinationRule
61+
metadata:
62+
name: details
63+
spec:
64+
host: details
65+
subsets:
66+
- name: v1
67+
labels:
68+
version: v1
69+
- name: v2
70+
labels:
71+
version: v2
72+
---
1273
``` -->
1374

1475
Using Meshery, navigate to the Istio management page:

0 commit comments

Comments
 (0)