So I am trying to make Traefik the load balancer in GCloud project. But non of the static ip addresses are being accepted. I have tried both global and regional ip static addresses, but I get same error for all of them: (All of the static IP are in RESERVED state)
Warning CreatingLoadBalancerFailed 3s (x4 over 44s) service-controller Error creating load balancer (will retry): failed to ensure load balancer for service default/traefik-service: requested ip "35.185.121.47" is neither static nor assigned to the LB
# Declare Traefik ingress service
kind: Service
apiVersion: v1
metadata:
name: traefik-service
spec:
selector:
app: traefik-gke-demo
tier: reverse-proxy
ports:
- port: 80
name: http
- port: 443
name: https
- port: 8080
name: admin
type: LoadBalancer
loadBalancerIP: 35.185.121.47