ode class=language-yaml data-expandlinks=true data-repo=istio>apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: svc1
spec:
  hosts:
  - svc1.internal.com
  ports:
  - number: 80
    name: http
    protocol: HTTP
  resolution: STATIC
  endpoints:
  - address: 1.1.1.1
  - address: 2.2.2.2
  ....
</code></pre><p>如果您想以主动-主动的方式将这个服务迁移到 Kubernetes 中&ndash;即启动一堆 Pod，通过 Istio 双向 TLS（mTLS）将一部分流量发送到 Pod，�