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
Drop unused machine labels #1474
Drop unused machine labels #1474
Conversation
Is there a machine-API PR or something you can link for this change? |
@wking updated the links above. Thanks! |
the node role label has meaning in kubernetes scheduling. Will these end up on the nodes? If yes I want to punt on adding these as labels are added by kubelet through machine-config . Please coordinate with MCO team to define who owns these specific labels... |
}, | ||
}, | ||
Spec: machineapi.MachineSpec{ | ||
Labels: map[string]string{ |
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.
we don't really need this one
pkg/asset/machines/aws/machines.go
Outdated
}, | ||
}, | ||
Spec: machineapi.MachineSpec{ | ||
Labels: map[string]string{ |
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.
we don't really need this one
"machine.openshift.io/cluster-api-cluster": clusterID, | ||
"machine.openshift.io/cluster-api-machine-role": role, | ||
"machine.openshift.io/cluster-api-machine-type": role, | ||
"machine.openshift.io/cluster-api-machineset": name, |
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.
this will never pass the tests https://github.com/openshift/origin/blob/master/test/extended/machines/workers.go#L23
we'd need to update the test to fetch from the node
3cfc57e
to
2ff3925
Compare
/test e2e-openstack |
/retest |
/lgtm The PR is changing only manifests generated for AWS. |
/approve |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhinavdahiya, frobware, ingvagabund, vikaschoudhary16 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 |
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest |
We dropped aws role labels in openshift#1474 to reducethe surface to what's actually needed by our core controllers. However having this lables provides better UX and searchability for end users and consumers like machineAutoscaler resource so we are putting them back
BUG 1702050: Add aws role labels back (revert #1474)
Related:
openshift/cluster-api-provider-aws#182
openshift/machine-api-operator#255
/cc @enxebre