Repository navigation
Require explicit eRDMA opt-in on Lingjun nodes - #52
Closed
Bowser1704 wants to merge 1 commit into
Closed
Bowser1704 wants to merge 1 commit into
Bowser1704 wants to merge 1 commit into
Conversation
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.
Lingjun nodes currently receive the eRDMA agent and enter ENI discovery whenever they have the Lingjun worker label. Require the additional Kubernetes Node label network.alibabacloud.com/erdma-enabled=true so users can opt in the intended nodes through ACK node-pool labels.
The agent's required affinity accepts ordinary nodes using the existing constraints and Lingjun nodes with the opt-in label. Compose the eligibility requirement with every user-required affinity term, preserving nodeSelector, matchFields, preferred rules and empty selectors. Tolerations continue to handle taint admission.
The controller skips cloud ENI discovery on Lingjun nodes without opt-in. Label addition triggers discovery, and label removal or a value other than true triggers ERdmaDevice metadata cleanup. Existing pre-provisioned ENIs and host drivers stay installed. Existing Lingjun users must add the label before upgrading.
ACK documents editable Lingjun node-pool labels and synchronization to existing nodes. Select Update Labels and Taints of Existing Nodes when editing an existing pool. Kubernetes DaemonSets reconcile node label changes dynamically.
Validation passed for controller label-add/remove/re-enable lifecycle tests with fake Kubernetes and cloud APIs, controller race tests, golangci-lint, Helm lint, and 16 rendered scheduling cases evaluated with Kubernetes' native node-affinity matcher. No physical Lingjun node pool was modified in this round.