Join GitHub today
Get location and subscriptionID from IMDS when useInstanceMetadata is true #81500
What type of PR is this?
What this PR does / why we need it:
PR #77906 allows Kubelet to run with no Azure identity:
But actually, subscriptionId could also be got from IMDS.
Also, when getting availability zones,
This PR fixes those issues by getting location and subscriptionId from IMDS.
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: feiskyer
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