-
Notifications
You must be signed in to change notification settings - Fork 39.6k
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
Automatically add node labels beta.kubernetes.io/{os,arch} #23684
Conversation
Would it be better to split it into two labels, one for OS and one for arch? |
Do you have a specific case where it would be useful? |
@davidopp Is it ok as-is or should I change something? I lean towards just one label as implemented here. WDYT about |
I have a preference for separating OS from Arch as well. Depending on the
use case this PR is trying to address, I guess the value of the split might
not be obvious.
|
Note prior art: with #19905, the server version string includes a field "platform" which is |
LGTM |
@davidopp @dchen1107 @bgrant0607 What is the purpose of |
@davidopp can we hold on to this PR until #23684 (comment) is resolved? |
LGTM |
@k8s-bot unit test this please github issue: #IGNORE |
@davidopp Any clue what's failing in integration? Removing |
Adding LGTM back now when the rebase/flake is fixed. |
@david-mcmahon FYI, I'd really like this to get merged before |
@jlowdermilk FYI, this has been ín the queue now three times when the submit-queue stopped and started again. Now it got kicked out of the queue because of what I think is a flake:
That hasn't showed up earlier when these commits have been tested, so it have to be a flake. |
@k8s-bot unit test this please github issue: #IGNORE |
Adding P1 given that we want it merged before |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit 0b6b723. |
Automatic merge from submit-queue |
@luxas if you want these also published as labels, you're running low on time to send a PR, as the code freeze for 1.3 is this Friday. |
@davidopp I do not really understand what you mean, os/arch is already exposed as labels on every node:
But thanks for notifying anyway, I'll have to be quick with some other things |
Proposal: #17981
As discussed in #22623:
Adds a label
beta.kubernetes.io/platform
tokubelet
that informs about the os/arch it's running on.Makes it easy to specify
nodeSelectors
for different arches in multi-arch clusters.@davidopp @vishh @fgrzadkowski @thockin @wojtek-t @ixdy @bgrant0607 @dchen1107 @preillyme