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
      port: 8080
      weight: 90
    - backendRef: 
        group: net.gke.io
        kind: ServiceImport
        name: sample-app-green
      port: 8080
      weight: 10 # send 10% of traffic to green cluster
