istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pilot/pkg/config/kube/gateway/testdata/zero.yaml.golden (about) 1 apiVersion: networking.istio.io/v1alpha3 2 kind: Gateway 3 metadata: 4 annotations: 5 internal.istio.io/gateway-semantics: gateway 6 internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix 7 internal.istio.io/parents: Gateway/gateway/default.istio-system 8 creationTimestamp: null 9 name: gateway-istio-autogenerated-k8s-gateway-default 10 namespace: istio-system 11 spec: 12 servers: 13 - hosts: 14 - '*/*.domain.example' 15 port: 16 name: default 17 number: 80 18 protocol: HTTP 19 --- 20 apiVersion: networking.istio.io/v1alpha3 21 kind: Gateway 22 metadata: 23 annotations: 24 internal.istio.io/gateway-semantics: gateway 25 internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix 26 internal.istio.io/parents: Gateway/gateway/tcp.istio-system 27 creationTimestamp: null 28 name: gateway-istio-autogenerated-k8s-gateway-tcp 29 namespace: istio-system 30 spec: 31 servers: 32 - hosts: 33 - '*/*' 34 port: 35 name: default 36 number: 34000 37 protocol: TCP 38 --- 39 apiVersion: networking.istio.io/v1alpha3 40 kind: VirtualService 41 metadata: 42 annotations: 43 internal.istio.io/parents: HTTPRoute/http.default 44 internal.istio.io/route-semantics: gateway 45 creationTimestamp: null 46 name: http-0-istio-autogenerated-k8s-gateway 47 namespace: default 48 spec: 49 gateways: 50 - istio-system/gateway-istio-autogenerated-k8s-gateway-default 51 hosts: 52 - first.domain.example 53 http: 54 - match: 55 - uri: 56 prefix: /weighted-100 57 name: default.http.1 58 route: 59 - destination: 60 host: foo-svc.default.svc.domain.suffix 61 port: 62 number: 8000 63 headers: 64 request: 65 add: 66 foo: bar 67 - directResponse: 68 status: 500 69 match: 70 - uri: 71 prefix: /get 72 name: default.http.0 73 --- 74 apiVersion: networking.istio.io/v1alpha3 75 kind: VirtualService 76 metadata: 77 annotations: 78 internal.istio.io/parents: TCPRoute/tcp.default 79 internal.istio.io/route-semantics: gateway 80 creationTimestamp: null 81 name: tcp-tcp-0-istio-autogenerated-k8s-gateway 82 namespace: default 83 spec: 84 gateways: 85 - istio-system/gateway-istio-autogenerated-k8s-gateway-tcp 86 hosts: 87 - '*' 88 tcp: 89 - route: 90 - destination: 91 host: internal.cluster.local 92 port: 93 number: 65535 94 subset: zero-weight 95 ---