File tree 1 file changed +2
-6
lines changed
content/en/docs/tasks/traffic-management/mirroring
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -264,8 +264,7 @@ In this step, you will change that behavior so that all traffic goes to `v1`.
264
264
265
265
{{< tab name="Istio APIs" category-value="istio-apis" >}}
266
266
267
- {{< text bash >}}
268
- $ kubectl apply -f - <<EOF
267
+ {{< text yaml >}}
269
268
apiVersion: networking.istio.io/v1
270
269
kind: VirtualService
271
270
metadata:
@@ -284,7 +283,6 @@ In this step, you will change that behavior so that all traffic goes to `v1`.
284
283
subset: v2
285
284
mirrorPercentage:
286
285
value: 100.0
287
- EOF
288
286
{{< /text >}}
289
287
290
288
This route rule sends 100% of the traffic to ` v1 ` . The last stanza specifies
@@ -303,8 +301,7 @@ In this step, you will change that behavior so that all traffic goes to `v1`.
303
301
304
302
{{< tab name="Gateway API" category-value="gateway-api" >}}
305
303
306
- {{< text bash >}}
307
- $ kubectl apply -f - <<EOF
304
+ {{< text yaml >}}
308
305
apiVersion: gateway.networking.k8s.io/v1
309
306
kind: HTTPRoute
310
307
metadata:
@@ -325,7 +322,6 @@ In this step, you will change that behavior so that all traffic goes to `v1`.
325
322
backendRefs:
326
323
- name: httpbin-v1
327
324
port: 80
328
- EOF
329
325
{{< /text >}}
330
326
331
327
This route rule sends 100% of the traffic to ` v1 ` . The ` RequestMirror ` filter
You can’t perform that action at this time.
0 commit comments