Sync #14763 into Chinese (#14768)

This commit is contained in:
Wilson Wu 2024-03-22 11:40:21 +08:00 committed by GitHub
parent 01e6a27d37
commit fbfc375fa9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 10 additions and 14 deletions

View File

@ -171,10 +171,6 @@ $ export GATEWAY_URL=$(kubectl get gateways.gateway.networking.k8s.io httpbin-ga
"Accept": ...
"Host": ...
"User-Agent": ...
"X-B3-Parentspanid": ...
"X-B3-Sampled": ...
"X-B3-Spanid": ...
"X-B3-Traceid": ...
"X-Envoy-Attempt-Count": ...
"X-Envoy-External-Address": "72.9.5.6",
"X-Forwarded-Client-Cert": ...

View File

@ -94,7 +94,7 @@ $ istioctl analyze --use-kube=false samples/bookinfo/networking/*.yaml
`kubectl get virtualservice ratings` 会给您类似这样的结果:
{{< text syntax=yaml snip_id=vs_yaml_with_status >}}
apiVersion: networking.istio.io/v1beta1
apiVersion: networking.istio.io/v1
kind: VirtualService
...
spec:

View File

@ -60,7 +60,7 @@ test: yes
{{< text bash yaml >}}
$ kubectl get destinationrule httpbin -o yaml
apiVersion: networking.istio.io/v1beta1
apiVersion: networking.istio.io/v1
kind: DestinationRule
...
spec:

View File

@ -49,7 +49,7 @@ test: yes
{{< text bash yaml >}}
$ kubectl get virtualservice ratings -o yaml
apiVersion: networking.istio.io/v1beta1
apiVersion: networking.istio.io/v1
kind: VirtualService
spec:
hosts:
@ -141,7 +141,7 @@ Istio 的故障注入规则可以帮助您识别此类异常,而不会影响
{{< text bash yaml >}}
$ kubectl get virtualservice ratings -o yaml
apiVersion: networking.istio.io/v1beta1
apiVersion: networking.istio.io/v1
kind: VirtualService
spec:
hosts:

View File

@ -95,7 +95,7 @@ EOF
{{< text bash yaml >}}
$ kubectl get virtualservices -o yaml
- apiVersion: networking.istio.io/v1beta1
- apiVersion: networking.istio.io/v1
kind: VirtualService
...
spec:
@ -106,7 +106,7 @@ $ kubectl get virtualservices -o yaml
- destination:
host: details
subset: v1
- apiVersion: networking.istio.io/v1beta1
- apiVersion: networking.istio.io/v1
kind: VirtualService
...
spec:
@ -117,7 +117,7 @@ $ kubectl get virtualservices -o yaml
- destination:
host: productpage
subset: v1
- apiVersion: networking.istio.io/v1beta1
- apiVersion: networking.istio.io/v1
kind: VirtualService
...
spec:
@ -128,7 +128,7 @@ $ kubectl get virtualservices -o yaml
- destination:
host: ratings
subset: v1
- apiVersion: networking.istio.io/v1beta1
- apiVersion: networking.istio.io/v1
kind: VirtualService
...
spec:

View File

@ -148,7 +148,7 @@ $ kubectl apply -f @samples/tcp-echo/gateway-api/tcp-echo-20-v2.yaml@ -n istio-i
{{< text bash yaml >}}
$ kubectl get virtualservice tcp-echo -o yaml -n istio-io-tcp-traffic-shifting
apiVersion: networking.istio.io/v1beta1
apiVersion: networking.istio.io/v1
kind: VirtualService
...
spec:

View File

@ -95,7 +95,7 @@ $ kubectl apply -f @samples/bookinfo/gateway-api/route-reviews-50-v3.yaml@
{{< text syntax=bash outputis=yaml snip_id=verify_config_50_v3 >}}
$ kubectl get virtualservice reviews -o yaml
apiVersion: networking.istio.io/v1beta1
apiVersion: networking.istio.io/v1
kind: VirtualService
...
spec: