Using GKE and helm stable/traefik.
When releasing to my cluster with a static IP for the loadBalancerIP
I get the following error:
Error creating load balancer (will retry): Failed to create load
balancer for service kube-system/rp-traefik: requested ip <my-ip>
is neither static nor assigned to LB
af5bfb5bd94a211e7adce42010a8e00e(kube-system/rp-traefik): <nil>
Three things seem important:
af5bfb5bd94a211e7adce42010a8e00e
. Where is this key coming from?gcloud compute addresses list
shows <my-ip>
as RESERVED
so it should be available.loadBalancerIP
the af5bfb5bd94a211e7adce42010a8e00e
LB is successfully created. When I change back to the static IP (after the target LB exists) it fails with the same error again.I'm stuck. What would you check/try next?
Your static IP type should be Regional
, which GKE Load balancer does not support Global type.
Reference: comments of https://stackoverflow.com/a/33251143/411518