gateway/multi-cluster/mcg-internal-blue-green/route-step-1-single-cluster.yaml (16 lines of code) (raw):

kind: HTTPRoute apiVersion: networking.x-k8s.io/v1alpha1 metadata: name: sample-app-route namespace: mcgi-bg labels: gateway: multi-cluster-gateway spec: rules: - forwardTo: - backendRef: group: net.gke.io kind: ServiceImport name: sample-app-blue # we're only talking to the blue cluster port: 8080 weight: 100