Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use "k8s-app=kube-controller-manager" instead of "k8s-app=kube-controller" #1129

Closed
rutsky opened this issue Mar 10, 2017 · 5 comments
Closed

Comments

@rutsky
Copy link
Contributor

rutsky commented Mar 10, 2017

Some tools such as Prometheus Operator rely on k8s-app labels values.

k8s-app=kube-controller-manager label is used at least by bootkube, kops and as far as @brancz can tell the manifests in kubernetes/kubernetes.

I suggest to switch to using k8s-app=kube-controller-manager label.

/cc: @brancz

@rutsky rutsky changed the title Use "k8s-app=kube-controller-manager" instead of "k8s-app=kube-controller-manager" Use "k8s-app=kube-controller-manager" instead of "k8s-app=kube-controller" Mar 10, 2017
@brancz
Copy link

brancz commented Mar 10, 2017

I just opened an issue on standardizing this as this is not the first time a tool as slightly inconsistent about this.

For the reference: kubernetes/kubernetes#42887

@ant31
Copy link
Contributor

ant31 commented Mar 11, 2017

@brancz Do you think you can switch on using the labels format proposed on kubernetes/community#300 in prom-controller and validate it as a long term/official label.
Then we can sync with community (kops/bootkube) to perform the switch.

@gdmello
Copy link
Contributor

gdmello commented Jul 26, 2017

Any update on this? kops seems to use k8s-app: kube-controller-manager as well.
It would be good to standardize on these labels.

@Starefossen
Copy link
Contributor

Keep in mind how these changes affects upgrade of existing Kubespray installations. A similar change of labels and names was done for kube-dns in #1372 which broke upgrades.

@mattymo
Copy link
Contributor

mattymo commented Jul 27, 2017

The issue with kube-dns was related to changing the resource name. This is just a label and should be harmless

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants