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": ... "Accept": ...
"Host": ... "Host": ...
"User-Agent": ... "User-Agent": ...
"X-B3-Parentspanid": ...
"X-B3-Sampled": ...
"X-B3-Spanid": ...
"X-B3-Traceid": ...
"X-Envoy-Attempt-Count": ... "X-Envoy-Attempt-Count": ...
"X-Envoy-External-Address": "72.9.5.6", "X-Envoy-External-Address": "72.9.5.6",
"X-Forwarded-Client-Cert": ... "X-Forwarded-Client-Cert": ...

View File

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

View File

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

View File

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

View File

@ -95,7 +95,7 @@ EOF
{{< text bash yaml >}} {{< text bash yaml >}}
$ kubectl get virtualservices -o yaml $ kubectl get virtualservices -o yaml
- apiVersion: networking.istio.io/v1beta1 - apiVersion: networking.istio.io/v1
kind: VirtualService kind: VirtualService
... ...
spec: spec:
@ -106,7 +106,7 @@ $ kubectl get virtualservices -o yaml
- destination: - destination:
host: details host: details
subset: v1 subset: v1
- apiVersion: networking.istio.io/v1beta1 - apiVersion: networking.istio.io/v1
kind: VirtualService kind: VirtualService
... ...
spec: spec:
@ -117,7 +117,7 @@ $ kubectl get virtualservices -o yaml
- destination: - destination:
host: productpage host: productpage
subset: v1 subset: v1
- apiVersion: networking.istio.io/v1beta1 - apiVersion: networking.istio.io/v1
kind: VirtualService kind: VirtualService
... ...
spec: spec:
@ -128,7 +128,7 @@ $ kubectl get virtualservices -o yaml
- destination: - destination:
host: ratings host: ratings
subset: v1 subset: v1
- apiVersion: networking.istio.io/v1beta1 - apiVersion: networking.istio.io/v1
kind: VirtualService kind: VirtualService
... ...
spec: 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 >}} {{< text bash yaml >}}
$ kubectl get virtualservice tcp-echo -o yaml -n istio-io-tcp-traffic-shifting $ 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 kind: VirtualService
... ...
spec: 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 >}} {{< text syntax=bash outputis=yaml snip_id=verify_config_50_v3 >}}
$ kubectl get virtualservice reviews -o yaml $ kubectl get virtualservice reviews -o yaml
apiVersion: networking.istio.io/v1beta1 apiVersion: networking.istio.io/v1
kind: VirtualService kind: VirtualService
... ...
spec: spec: