Im having an issue creating an httproute for a gateway. It always gives me the same error. I cant see why there is a network tier mismatch nor how I can fix it.
kind: Gateway
apiVersion: gateway.networking.k8s.io/v1beta1
metadata:
name: my-gateway
namespace: my-namespace
spec:
gatewayClassName: gke-l7-regional-external-managed
listeners:
- name: https
protocol: HTTPS
port: 443
tls:
mode: Terminate
certificateRefs:
- name: my-cert
addresses:
- type: NamedAddress
value: my-ip
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
name: my-gateway-route
namespace: my-namespace
spec:
parentRefs:
- kind: Gateway
name: my-gateway
hostnames:
- "my.domain"
rules:
- backendRefs:
- name: my-backend
port: 80
The project is set to the premium network tier, but the Gateway always has this error:
Gateway: Invalid : error cause: gceSync: generic::invalid_argument: Insert: The network tier of specified IP address is PREMIUM, that of Forwarding Rule must be the same. ===== Route/my-namespace/my-gateway-route: error cause: gceSync: generic::invalid_argument: Insert: The network tier of specified IP address is PREMIUM, that of Forwarding Rule must be the same.
