-
Notifications
You must be signed in to change notification settings - Fork 27
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
Handling of kmm module ready label (kernel module is loaded) #575
Handling of kmm module ready label (kernel module is loaded) #575
Conversation
✅ Deploy Preview for kubernetes-sigs-kmm ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: yevgeny-shnaidman 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 |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #575 +/- ##
==========================================
+ Coverage 80.14% 80.17% +0.03%
==========================================
Files 45 45
Lines 4513 4556 +43
==========================================
+ Hits 3617 3653 +36
- Misses 733 739 +6
- Partials 163 164 +1
☔ View full report in Codecov by Sentry. |
529f34f
to
617431c
Compare
This PR adds the ability to add/remove kmm.node.kubernetes.io/%s.%s.ready label to the node. This is done based on the current labels on the node, and the comparison between NMC module's spec and status. State machine for adding/removing: 1) if spec config and status config are not equal - node's label should stay as is (either present or missing) 2) if both spec and status are missing - node's label should be removed 3) if spec config and status config are equal - node's label should be set
617431c
to
594eaec
Compare
/lgtm |
…tes-sigs#575) (kubernetes-sigs#788) This PR adds the ability to add/remove kmm.node.kubernetes.io/%s.%s.ready label to the node. This is done based on the current labels on the node, and the comparison between NMC module's spec and status. State machine for adding/removing: 1) if spec config and status config are not equal - node's label should stay as is (either present or missing) 2) if both spec and status are missing - node's label should be removed 3) if spec config and status config are equal - node's label should be set
This PR adds the ability to add/remove
kmm.node.kubernetes.io/%s.%s.ready label to the node. This is done based on the current labels on the node, and the comparison between NMC module's spec and status. State machine for adding/removing: