Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix machineID getting for vmss nodes when using instance metadata #62611
What this PR does / why we need it:
When instancemetadata is for Kubelet on master nodes , kubelet is not able to register itself with errors:
Unable to construct v1.Node object for kubelet: failed to get external ID from cloud provider: not a vmss instance
This PR fixes this issue by composing standard instance ID for such nodes.
Which issue(s) this PR fixes (optional, in
Special notes for your reviewer:
Need cherry pick to 1.10.
[APPROVALNOTIFIER] This PR is APPROVED
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