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:
- no matter how many times I run this (even after I've manually deleted all the LB's in my GCE. It always looks for LB
af5bfb5bd94a211e7adce42010a8e00e
. Where is this key coming from? - running
gcloud compute addresses list
shows<my-ip>
asRESERVED
so it should be available. - when I update the helm release values with a blank
loadBalancerIP
theaf5bfb5bd94a211e7adce42010a8e00e
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