-
Notifications
You must be signed in to change notification settings - Fork 551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployment of azure_arc_jumpstart/azure_edge_iot_ops/aks_edge_essentials_single fails #2872
Comments
Found the root cause in the meantime. In custom.py of the connectedk8s extension at def install_kubectl_client() line 451 the attempt to install the kubectl with az aks install-cli fails with: az aks install-cli --install-location "C:\Users\arcdemo.azure\kubectl-client\kubectl.exe" During handling of the above exception, another exception occurred: Traceback (most recent call last): This can be avoided by using the already installed kubectl from AKS EE by setting the env variable KUBECTL_CLIENT_PATH to C:\Program Files\AksEdge\kubectl\kubectl.exe. The next attempt to az connectedk8s connect will complete successfully now. |
Thanks for reporting this issue. I'll verify that the already-installed kubectl can be used and work that change in. |
Is your issue related to a Jumpstart scenario, ArcBox, HCIBox, or Agora?
Yes. AKS Edge Essentials single node deployment with Azure Arc using ARM Template
Describe the issue or the bug
Connecting the local Kubernetes cluster with Azure Arc fails in 'az connectedk8s connect...'
To Reproduce
Simply follow the steps described at AKS Edge Essentials single node deployment with Azure Arc using ARM Template
Expected behavior
Upon successful run, a new Azure Arc-enabled server and Azure Arc-enabled Kubernetes cluster will be added to the resource group.
Environment summary
azure-cli 2.67.0
core 2.67.0
telemetry 1.1.0
Extensions:
connectedk8s 1.10.4
k8s-extension 1.6.2
Dependencies:
msal 1.31.0
azure-mgmt-resource 23.1.1
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\arcdemo.azure\cliextensions'
Python (Windows) 3.12.7 (tags/v3.12.7:0b05ead, Oct 1 2024, 03:06:41) [MSC v.1941 64 bit (AMD64)]
Have you looked at the Troubleshooting and Logs section?
Yes
Screenshots
Additional context
LogonScript.log
The text was updated successfully, but these errors were encountered: