mirror of https://github.com/istio/istio.io.git
[zh] sync wildcard-egress-hosts (#14510)
Signed-off-by: xin.li <xin.li@daocloud.io>
This commit is contained in:
parent
3ab38259f4
commit
1c0eb9778d
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 72 KiB |
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 129 KiB |
|
@ -73,7 +73,7 @@ Egress 流量,如:`edition.cnn.com`。本示例描述如何为通用域中
|
|||
请注意,`DNS` 解析不能用于通配符主机。这就是为什么 `NONE` 分辨率(因为它是默认)用于以下服务条目。
|
||||
{{< /warning >}}
|
||||
|
||||
1. 为 `*.wikipedia.org` 定义一个 `ServiceEntry` 以及相应的 `VirtualService`:
|
||||
1. 为 `*.wikipedia.org` 定义一个 `ServiceEntry`:
|
||||
|
||||
{{< text bash >}}
|
||||
$ kubectl apply -f - <<EOF
|
||||
|
@ -194,13 +194,13 @@ $ kubectl delete serviceentry wikipedia
|
|||
- www.wikipedia.org
|
||||
ports:
|
||||
- number: 443
|
||||
name: tls
|
||||
protocol: TLS
|
||||
name: https
|
||||
protocol: HTTPS
|
||||
resolution: DNS
|
||||
EOF
|
||||
{{< /text >}}
|
||||
|
||||
1. 发送请求至
|
||||
1. 发送 HTTPS 请求至
|
||||
[https://en.wikipedia.org](https://en.wikipedia.org) 和 [https://de.wikipedia.org](https://de.wikipedia.org):
|
||||
|
||||
{{< text bash >}}
|
||||
|
|
Loading…
Reference in New Issue