mirror of https://github.com/istio/istio.io.git
fix the bug: helloworld-v1 service port should change to 5000 (#4204)
* fix the bug: helloworld-v1 service port should change to 5000
* fix the bug: helloworld-v1 service port should change to 5000
* fix the bug: some yaml format error in Chinese docs,something like this
spec:
selector:
istio: egressgateway
servers:
- port:
number: 80
name: https
protocol: HTTPS
This commit is contained in:
parent
9a554dbec9
commit
5d950babee
|
|
@ -313,7 +313,7 @@ retrieves unique credentials corresponding to a specific `credentialName`.
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
port: 8000
|
port: 5000
|
||||||
selector:
|
selector:
|
||||||
app: helloworld-v1
|
app: helloworld-v1
|
||||||
---
|
---
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ aliases:
|
||||||
|
|
||||||
{{< tab name="启用双向 TLS" cookie-value="enabled" >}}
|
{{< tab name="启用双向 TLS" cookie-value="enabled" >}}
|
||||||
|
|
||||||
{{< text bash >}}
|
{{< text_hack bash >}}
|
||||||
$ kubectl apply -f - <<EOF
|
$ kubectl apply -f - <<EOF
|
||||||
apiVersion: networking.istio.io/v1alpha3
|
apiVersion: networking.istio.io/v1alpha3
|
||||||
kind: Gateway
|
kind: Gateway
|
||||||
|
|
@ -129,13 +129,13 @@ aliases:
|
||||||
mode: ISTIO_MUTUAL
|
mode: ISTIO_MUTUAL
|
||||||
sni: edition.cnn.com
|
sni: edition.cnn.com
|
||||||
EOF
|
EOF
|
||||||
{{< /text >}}
|
{{< /text_hack >}}
|
||||||
|
|
||||||
{{< /tab >}}
|
{{< /tab >}}
|
||||||
|
|
||||||
{{< tab name="禁用双向 TLS" cookie-value="disabled" >}}
|
{{< tab name="禁用双向 TLS" cookie-value="disabled" >}}
|
||||||
|
|
||||||
{{< text bash >}}
|
{{< text_hack bash >}}
|
||||||
$ kubectl apply -f - <<EOF
|
$ kubectl apply -f - <<EOF
|
||||||
apiVersion: networking.istio.io/v1alpha3
|
apiVersion: networking.istio.io/v1alpha3
|
||||||
kind: Gateway
|
kind: Gateway
|
||||||
|
|
@ -161,7 +161,7 @@ aliases:
|
||||||
subsets:
|
subsets:
|
||||||
- name: cnn
|
- name: cnn
|
||||||
EOF
|
EOF
|
||||||
{{< /text >}}
|
{{< /text_hack >}}
|
||||||
|
|
||||||
{{< /tab >}}
|
{{< /tab >}}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -268,7 +268,7 @@ keywords: [traffic-management,ingress,sds-credentials]
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
port: 8000
|
port: 5000
|
||||||
selector:
|
selector:
|
||||||
app: helloworld-v1
|
app: helloworld-v1
|
||||||
---
|
---
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue