-
Notifications
You must be signed in to change notification settings - Fork 66
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
[release-4.8] [wmco] WINC-631: BYOH controller is able to react to changes in Node objects #578
[release-4.8] [wmco] WINC-631: BYOH controller is able to react to changes in Node objects #578
Conversation
This commit makes it so that the ConfigMap controller watches all BYOH nodes, and ensures that the Machine controller does not attempt to reconcile BYOH nodes.
This commit moves adding of all annotations, besides the version annotation, to right after the inital kubelet configuration. This allows nodes to be identified as BYOH nodes in the case that confuration fails part way through.
This commit ensures that BYOH nodes that were partially configured are properly dealt with. The reconfiguration suite was expanded to include reconfiguration of one Machine sourced node, and one BYOH node. Before this commit, if an instance was far enough along in the configuration process that a node object was created for it, and then the configuration failed, the instance would be left in a partially configured and unusable state, unless the node was manually deleted.
/lgtm |
/retest |
/hold cancel |
/retest |
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aravindhp, openshift-cherrypick-robot 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 |
…penshift-cherrypick-robot/cherry-pick-479-to-release-4.8 Updated upstream source commit. Commit details follow: Project: https://github.com/openshift/windows-machine-config-operator.git Branch: release-4.8 Commit: 8d5d786 Author: openshift-ci[bot] Date: Wed, 11 Aug 2021 18:37:55 +0000 Merge pull request openshift#578 from openshift-cherrypick-robot/cherry-pick-479-to-release-4.8 [release-4.8] [wmco] WINC-631: BYOH controller is able to react to changes in Node objects automerge: yes x-md5: 0e68e95ae5be67c3924b88524725115c Change-Id: I33d3029aa48cb96298211a2d85e3fa93d0b10635
This is an automated cherry-pick of #479
/assign mansikulkarni96