Skip to content

Require explicit eRDMA opt-in on Lingjun nodes - #52

Closed
Bowser1704 wants to merge 1 commit into
AliyunContainerService:mainfrom
Bowser1704:Bowser1704/lingjun-erdma-opt-in
Closed

Bowser1704 wants to merge 1 commit into
AliyunContainerService:mainfrom
Bowser1704:Bowser1704/lingjun-erdma-opt-in

Conversation

@Bowser1704

Copy link
Copy Markdown
Collaborator

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.

@Bowser1704 Bowser1704 closed this Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant