code>.</code> 字符。</p><p>比如，下面 <code>Ingress</code> 的资源匹配 <code>Host</code> 为 <code>example.com</code> 以及 <code>URL</code> 为
<code>/helloworld</code> 的请求。</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ kubectl create -f - &lt;&lt;EOF
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: simple-ingress
  annotations:
    kubernetes.io/ingress.class: istio
spec:
  rules:
  - host: example.com
    http:
      paths:
      - path: /h