Azure / Azure/azure-cli-extensions
az from PyPI connectedk8s connect error kube-config file
- Dominant language
- Python
- Stars
- 454
- Forks
- 1.7k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 64
Description
## 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](https://github.com/Azure/azure-cli/issues/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?
Contributor guide
Assessment
This issue has not been assessed yet.