gateway/single-cluster/global-l7-xlb/gateway.yaml (21 lines of code) (raw):

--- kind: Gateway apiVersion: networking.x-k8s.io/v1alpha1 metadata: name: external-http spec: gatewayClassName: gke-l7-gxlb listeners: - protocol: HTTPS port: 443 routes: kind: HTTPRoute namespaces: from: "All" tls: mode: Terminate options: networking.gke.io/pre-shared-certs: gxlb-cert addresses: - type: NamedAddress value: gke-gxlb-ip