Enable strict node scheduling for cluster app instances.#5508
Merged
eriknordmark merged 1 commit intolf-edge:masterfrom Jan 22, 2026
Merged
Enable strict node scheduling for cluster app instances.#5508eriknordmark merged 1 commit intolf-edge:masterfrom
eriknordmark merged 1 commit intolf-edge:masterfrom
Conversation
8667057 to
f9a3f79
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #5508 +/- ##
==========================================
+ Coverage 19.52% 28.43% +8.90%
==========================================
Files 19 18 -1
Lines 3021 2247 -774
==========================================
+ Hits 590 639 +49
+ Misses 2310 1466 -844
- Partials 121 142 +21 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
f9a3f79 to
9bcf24e
Compare
Contributor
Author
|
Replaced the placeholder commit with the real vendored eve-api which recently merged. |
9bcf24e to
05ce048
Compare
Contributor
Author
|
Rebased off master |
Contributor
Author
|
Will rebase to resolve conflicts |
05ce048 to
e448fb8
Compare
e448fb8 to
26336f7
Compare
Contributor
Author
|
@zedi-pramodh added the requested log entry in latest push, and some docs to failover.md |
App wil only run if scheduling succeeds for the requested node id. Set DesignatedNodeID and AffinityType Required. With strict node scheduling the app will not failover to other cluster nodes. Signed-off-by: Andrew Durbin <andrewd@zededa.com>
26336f7 to
7a62abd
Compare
Contributor
Author
|
Pushed again to fix yetus tab issue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Currently VM app instances are set with a default node affinity 'preferred' which attempts to schedule to the DesignatedNodeID but can allow the app instance to fail over to another heathy node.
This PR enhances DesignatedNodeID with an affinity type to allow for required node affinity which will only run the app instance if the DesignatedNodeID is available and healthy, this also disables failover for the app instance.
PR dependencies
EVE-API: lf-edge/eve-api#130
How to test and validate this PR
Changelog notes
Enable strict node scheduling for app instances on clustered HV=k EVE-OS nodes.
PR Backports
Checklist
And the last but not least:
check them.
Please, check the boxes above after submitting the PR in interactive mode.