Skip to content
This repository was archived by the owner on Apr 17, 2019. It is now read-only.
This repository was archived by the owner on Apr 17, 2019. It is now read-only.

[GCE L7LB controller] watch cluster uid config map so updates propogate without restart #1362

Closed
@wittrock

Description

@wittrock

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions