-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
⚠️ apply node.cluster.x-k8s.io/uninitialized
during machine creation
#7993
⚠️ apply node.cluster.x-k8s.io/uninitialized
during machine creation
#7993
Conversation
2a08de5
to
13927b3
Compare
/milestone v1.4 |
@ykakarap: You must be a member of the kubernetes-sigs/cluster-api-maintainers GitHub team to set the milestone. If you believe you should be able to issue the /milestone command, please contact your Cluster API Maintainers and have them propose you as an additional delegate for this responsibility. In response to this:
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. |
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.
Looks good overall
bootstrap/kubeadm/internal/controllers/kubeadmconfig_controller.go
Outdated
Show resolved
Hide resolved
internal/controllers/machine/machine_controller_noderef_test.go
Outdated
Show resolved
Hide resolved
e7fe3e1
to
eb18a8e
Compare
node.cluster.x-k8s.io/uninitialized
during machine creationnode.cluster.x-k8s.io/uninitialized
during machine creation
/test pull-cluster-api-e2e-full-main |
bootstrap/kubeadm/internal/controllers/kubeadmconfig_controller_test.go
Outdated
Show resolved
Hide resolved
bootstrap/kubeadm/internal/controllers/kubeadmconfig_controller_test.go
Outdated
Show resolved
Hide resolved
/retest |
@ykakarap Just fyi. Looks like the upgrade test tells us that removing the taint doesn't work at the moment
|
Looking into it now. |
eb18a8e
to
c96d608
Compare
changes lgtm so far |
c96d608
to
23b35b8
Compare
/test pull-cluster-api-e2e-full-main |
/retest |
node.cluster.x-k8s.io/uninitialized
during machine creationnode.cluster.x-k8s.io/uninitialized
during machine creation
log.V(2).Info("Failed patch node to set annotations", "err", err, "node name", node.Name) | ||
return ctrl.Result{}, err | ||
// Add annotations. | ||
annotations.AddAnnotations(node, desired) |
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.
Q: Would it make sense to bring up the topic of in-place propagation on the Machine Pool machines via an issue?
(I guess it depends on MachinePool Machines being implemented first)
But fine for me to add the unitialized taint to MachinePool nodes as well.
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 will open an issue and link 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.
Opened and issue: #8258 and also pinged on the MachinePool Machine PR: #7938 (comment)
/lgtm |
LGTM label has been added. Git tree hash: 51a2c47088cc92a547f7877074445e07fff9e8b9
|
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.
great work, only two nits from my side
23b35b8
to
446253a
Compare
and delete after labels are synced
446253a
to
a142ca0
Compare
Thank you!! /lgtm |
LGTM label has been added. Git tree hash: 3d884520d485cc8355aa5cd8e30b62d25feb6099
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer 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 |
What this PR does / why we need it:
This PR adds the taint logic solve the delay problem in node label sync.
Does the following
node.cluster.x-k8s.io/uninitialized:NoSchedule
taint to node at creationWhich issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Part of #7730