# ServiceEntry — 외부 도메인(edition.cnn.com)을 메시 레지스트리에 등록. # 등록해야 sidecar/egress gateway가 이 호스트로의 트래픽을 인지하고 VS/DR 라우팅을 걸 수 있음. # 앱이 HTTPS end-to-end TLS를 유지하므로 protocol TLS(복호화 안 함). resolution DNS. # (httpbin.org passthrough 세트와 충돌 없도록 별도 도메인 사용 — control 보존) apiVersion: networking.istio.io/v1beta1 kind: ServiceEntry metadata: name: cnn-ext namespace: mesh-test spec: hosts: - edition.cnn.com ports: - number: 443 name: tls protocol: TLS resolution: DNS location: MESH_EXTERNAL