Open iLem0n opened 4 months ago
Thank you for opening this issue, we will look into it.
Hi @iLem0n Find similar issue https://github.com/Azure/azure-cli/issues/23405. | ||
---|---|---|
Issue title | az aks install-cli failed | |
Create time | 2022-08-02 | |
Comment number | 5 |
Possible solution: The error message in the new issue is similar to the error message in the old issue. In the old issue, the user was trying to download kubectl from a URL that did not have the appropriate binary for their operating system. Similarly, in the new issue, the user is trying to download kubectl from a URL that only has the binary for "amd64" architecture, while the user's device has "aarch64" architecture.
The solution to the old issue was to install kubectl via Homebrew. This solution can also be applied to the new issue. Alternatively, the user can follow the steps mentioned in the Kubernetes documentation to install kubectl on macOS.
Please confirm if this resolves your issue.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @dyu1208, @FumingZhang, @andyliuliming.
Hi @iLem0n Find similar issue #23405.
Issue title az aks install-cli failed Create time 2022-08-02 Comment number 5 Possible solution: The error message in the new issue is similar to the error message in the old issue. In the old issue, the user was trying to download kubectl from a URL that did not have the appropriate binary for their operating system. Similarly, in the new issue, the user is trying to download kubectl from a URL that only has the binary for "amd64" architecture, while the user's device has "aarch64" architecture.
The solution to the old issue was to install kubectl via Homebrew. This solution can also be applied to the new issue. Alternatively, the user can follow the steps mentioned in the Kubernetes documentation to install kubectl on macOS.
Please confirm if this resolves your issue.
Im running the client installation within a dev container (mcr.microsoft.com/devcontainers/base:jammy) as part of the preparation phase for my project specific automation scripts, thus its not about installing it on a macOS in general.
So at least it's ubuntu on arm64 hardware.
Describe the bug
Hello,
when running
az aks install-cli
whilecloud
is set toAzureChinaCloud
the following error occurs:It seem that
mirror.azure.cn
only hosts theamd64
-binaries, thus it cannot be used inAzureChinaCloud
on any other hardware thenamd64
.Related command
az cloud set --name AzureChinaCloud az aks install-cli
Errors
Issue script & Debug output
Expected behavior
Install
kubectl
&kubelogin
while cloud id set toAzureChinaCloud
Environment Summary
azure-cli 2.59.0
core 2.59.0 telemetry 1.1.0
Dependencies: msal 1.27.0 azure-mgmt-resource 23.1.0b2
Python location '/opt/az/bin/python3' Extensions directory '/root/.azure/cliextensions'
Python (Linux) 3.11.8 (main, Mar 27 2024, 04:05:57) [GCC 11.4.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response