az from PyPI connectedk8s connect error kube-config file #4930
Labels
Auto-Assign
Auto assign by bot
Connected Kubernetes
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
This issue is responsible by Azure service team.
Describe the bug
I am working on the creation of a Kubernetes cluster on Azure ARC using Raspberry Pi with Linux Raspbian operating system. As reported in the issue 20476, the mode of installation of azure-cli on this architecture is through PyPI and virtual environment. azure-cli is successfully installed but when I try to connect to the cluster I get the error:
Problem loading the kubeconfig file.Invalid kube-config file. No configuration found.
Related command
azure-cli-env/bin/az connectedk8s connect --name {} --resource-group {}
Expected behavior
Should be able to connect to K8s cluster.
Additional context
Probably the error derives from the different mode of installation and the virtual environment azure-cli-env.
Any suggestions to fix pointing to configuration kube-config file?
The text was updated successfully, but these errors were encountered: