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

Unique Id for cluster #77487

Closed
yoavAqua opened this issue May 6, 2019 · 10 comments
Closed

Unique Id for cluster #77487

yoavAqua opened this issue May 6, 2019 · 10 comments
Assignees
Labels
kind/support Categorizes issue or PR as a support question. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery.

Comments

@yoavAqua
Copy link

yoavAqua commented May 6, 2019

Is there a way to find unique id for kubernetes cluster?
We are working with several environments and we couldn't find something to uniquely identify a cluster environment.

Our current workaround is to save all the node's on the cluster and use the node's machine id field to determine on which cluster you are.

@yoavAqua yoavAqua added the kind/support Categorizes issue or PR as a support question. label May 6, 2019
@k8s-ci-robot k8s-ci-robot added the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label May 6, 2019
@yoavAqua
Copy link
Author

yoavAqua commented May 6, 2019

/sig api-machinery

@k8s-ci-robot k8s-ci-robot added sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels May 6, 2019
@jennybuckley
Copy link

/assign @lavalamp

@lavalamp
Copy link
Member

lavalamp commented May 6, 2019

There is not, but you're not the only one wanting something like this. Current best practice is to use the kube-system UID.

@lavalamp
Copy link
Member

lavalamp commented May 6, 2019

I am pretty sure there was a long email discussion on this on the SIG Architecture mailing list.

@yoavAqua
Copy link
Author

yoavAqua commented May 7, 2019

@lavalampThanks for the reply :)
I'm sorry but what exactly is the "kube-system UID"?
Also, do you have any thoughts about our workaround? is the machine_id field unique for a single node on all the kubernetes environments (clusters)? couldn't get it from the documentation.

@dims
Copy link
Member

dims commented May 7, 2019

@yoavAqua i think it's this thread https://groups.google.com/d/msg/kubernetes-sig-architecture/mVGobfD4TpY/nkdbkX1iBwAJ

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 5, 2019
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Sep 4, 2019
@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

@k8s-ci-robot
Copy link
Contributor

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery.
Projects
None yet
Development

No branches or pull requests

6 participants