SataQiu / istio-official-translation-tasks

1 stars 0 forks source link

/docs/tasks/traffic-management/mirroring/index.md #826

Open SataQiu opened 4 years ago

SataQiu commented 4 years ago

Source File: /docs/tasks/traffic-management/mirroring/index.md Diff:

 diff --git a/content/en/docs/tasks/traffic-management/mirroring/index.md b/content/en/docs/tasks/traffic-management/mirroring/index.md
index 1959c9ca3..6291ef79b 100644
--- a/content/en/docs/tasks/traffic-management/mirroring/index.md
+++ b/content/en/docs/tasks/traffic-management/mirroring/index.md
@@ -32,6 +32,10 @@ you will apply a rule to mirror a portion of traffic to `v2`.
       name: httpbin-v1
     spec:
       replicas: 1
+      selector:
+        matchLabels:
+          app: httpbin
+          version: v1
       template:
         metadata:
           labels:
@@ -58,6 +62,10 @@ you will apply a rule to mirror a portion of traffic to `v2`.
       name: httpbin-v2
     spec:
       replicas: 1
+      selector:
+        matchLabels:
+          app: httpbin
+          version: v2
       template:
         metadata:
           labels:
@@ -106,6 +114,9 @@ you will apply a rule to mirror a portion of traffic to `v2`.
       name: sleep
     spec:
       replicas: 1
+      selector:
+        matchLabels:
+          app: sleep
       template:
         metadata:
           labels:
SataQiu commented 4 years ago

/accept

SataQiu commented 4 years ago

Thank you @SataQiu, this issue had been assigned to you.