# ServiceEntry — 외부 도메인(httpbin.org)을 메시 레지스트리에 등록. # 등록해야 sidecar/egress gateway가 이 호스트로의 트래픽을 인지하고 라우팅 규칙을 걸 수 있음. # HTTPS(443) 트래픽을 그대로(passthrough) 보낼 것이므로 protocol TLS. apiVersion: networking.istio.io/v1beta1 kind: ServiceEntry metadata: name: httpbin-ext namespace: mesh-test spec: hosts: - httpbin.org ports: - number: 443 name: tls protocol: TLS resolution: DNS # 호스트명을 DNS로 해석 location: MESH_EXTERNAL # 메시 외부 서비스