Conversation
1877551 to
8085315
Compare
wenxuan0923
reviewed
Feb 5, 2026
90277f9 to
f989116
Compare
wenxuan0923
approved these changes
Feb 5, 2026
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.
This pull request adds support for using Kubernetes bootstrap tokens as a new authentication method for AKS Flex Node, alongside existing Azure Arc and Service Principal options. It updates documentation, configuration validation, the kubelet installer logic, and tests to fully support this new deployment path. The changes make it easier to deploy AKS Flex Nodes in dynamic, hyperscale environments with minimal dependencies.
Key changes include:
Documentation Updates
docs/usage.md, including setup steps, configuration, RBAC, troubleshooting, and a comparison table with Arc and Service Principal methods. [1] [2] [3]Configuration and Validation
pkg/config/config.go. Updated the main configuration validator to ensure only one authentication method (Arc, Service Principal, Managed Identity, or Bootstrap Token) is enabled at a time, and that bootstrap tokens match the required format. [1] [2] [3]Kubelet Installer Logic
pkg/components/kubelet/kubelet_installer.goto:--rotate-certificates=trueto kubelet flags for automatic client certificate rotation. [1] [2] [3] [4] [5]Tests
pkg/config/config_test.goto cover bootstrap token scenarios and ensure correct mutual exclusivity with other authentication methods. [1] [2] [3]