apiVersion: k8gb.io/v1beta1
kind: Gslb
metadata:
  name: test-gslb-failover
  namespace: test-gslb
spec:
  ingress:
    rules:
      - host: failover.gcp-test.k8gb.io # Desired GSLB enabled FQDN
        http:
          paths:
          - path: /
            backend:
              service:
                name: frontend-podinfo # Service name to enable GSLB for
                port:
                  name: http
  strategy:
    type: failover # Global load balancing strategy
    primaryGeoTag: europe-west1 # Primary cluster geo tag