-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
label minikube nodes #6717
label minikube nodes #6717
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: medyagh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
// based on ISO 8601 (RFC 3339) except converting - and : to _ because of kubernetes label restriction | ||
createdAtLbl := "k8s.minikube.io/updated_at=" + start.Format("2006_01_02T15_04_05_0700") | ||
verLbl := "k8s.minikube.io/version=" + version.GetVersion() | ||
commitLbl := "k8s.minikube.io/commit=" + version.GetGitCommitID() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we omit the commit id? At least until someone declares a use case for it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the use case for it is, if I am developing locally, I wanna know my developoing-code created this cluster not the minikube stable
/ok-to-test |
Error: running mkcmp: exit status 1 |
Error: running mkcmp: exit status 1 |
All Times minikube: [ 92.072002 91.539810 93.371427] Average minikube: 92.327746 Averages Time Per Log
|
All Times minikube: [ 93.988561 93.214564 95.807677] Average minikube: 94.336934 Averages Time Per Log
|
After this PR minikube nodes will be annonated with a label,
would help to identify this was created by minikube
here are the labels after this PR:
minikube added labels are :
closes #6715