-
Notifications
You must be signed in to change notification settings - Fork 277
Install NRT by default with topology-updater #2194
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
base: master
Are you sure you want to change the base?
Conversation
Since topology-updater relies on the presence of the NRT (NodeResourceTopology) CRDs to function correctly, it should be enabled by default. This prevents accidental pod failures due to a missing but required component. Instead of requiring users to explicitly enable it, we now require them to explicitly disable it if needed. Signed-off-by: Feruzjon Muyassarov <[email protected]>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: fmuyassarov The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/assign @marquiz |
✅ Deploy Preview for kubernetes-sigs-nfd ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
Hmm, I think this might be a bad idea because NFD does not "own" the CRD and it's used also elsewhere.
On a quick thought I see two possible main problem scenarios:
- If NodeResourceTopology is already present (installed via some other means) NFD deployment would fail, AFAIU
- CRDs will be deleted on NFD uninstall which could break some other users of the CRD
Thoughts?
I'm afraid it won't fail and rather skip the installation if CRD is already present on the cluster.
That's true and actually weird. Because, those CRDs that are "owned" by NFD won't be uninstalled after I agree that it's problematic to delete a resource that might be used by other components in the cluster. One way to prevent the deletion of the NRT CRD is to place it under the Moving the CRD to |
Just tested, it actually does fail:
|
the problem here is nobody really owns this CRD indeed. My take on this is we should be careful and deliberate:
this is more complex, but it seems to me it's the way which most conciles userfriendliness and good ecosystem citizenship. I'm open to discuss :) |
Since topology-updater relies on the presence of the NRT (NodeResourceTopology) CRDs to function correctly, it should be enabled by default. This prevents accidental pod failures due to a missing but required component. Instead of requiring users to explicitly enable it, we now require them to explicitly disable it if needed.