istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pkg/config/analysis/analyzers/testdata/gateway-custom-ingressgateway-badport.yaml (about)

     1  # Gateway with non-standard IngressGateway
     2  #
     3  apiVersion: networking.istio.io/v1alpha3
     4  kind: Gateway
     5  metadata:
     6    name: httpbin-gateway
     7  spec:
     8    selector:
     9      myapp: private-ingressgateway
    10    servers:
    11    - port:
    12        number: 80
    13        name: http2
    14        protocol: HTTP
    15      hosts:
    16      - "*"
    17  ---
    18  apiVersion: v1
    19  kind: Pod
    20  metadata:
    21    labels:
    22      myapp: private-ingressgateway
    23    name: my-ingressgateway-1234
    24  spec:
    25    containers:
    26      - args:
    27        name: istio-proxy
    28  ---
    29  apiVersion: v1
    30  kind: Service
    31  metadata:
    32    name: my-ingressgateway
    33  spec:
    34    ports:
    35    - name: http2
    36      nodePort: 31380
    37      port: 80
    38      protocol: TCP
    39      targetPort: 8003
    40    selector:
    41      myapp: private-ingressgateway