[GCE L7LB controller] watch cluster uid config map so updates propogate without restart #1362
Description
After upgrading two of my clusters in the same project from versions 1.2.5 to version 1.3 of kubernetes, their GCE objects are clobbering each other, and it seems to be because my manually-set cluster-uid
got deleted during the upgrade.
➜ ~ kubectl describe configMap --namespace kube-system
Name: ingress-uid
Namespace: kube-system
Labels: <none>
Annotations: <none>
Data
===
uid: 0 bytes
Even if I edit this configMap and add a cluster-uid, my GCE resources still clobber each other. For instance, all load balancers created by creating ingresses point to the same GCE instance group, called k8s-ig
. Previously, they pointed to k8s-ig--my-manually-set-uid
.
Based on #680 by @bprashanth, it looks like new objects should be created with whatever is in that configMap first, but that's not happening.
This is fixed if I spin up a new cluster and create a test ingress--those objects are properly namespaced.
Given that I can't fix the issue by editing ingress-uid manually, is there another workaround?