Skip to content
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

az from PyPI connectedk8s connect error kube-config file #4930

Open
engineering87 opened this issue Jun 2, 2022 · 3 comments
Open

az from PyPI connectedk8s connect error kube-config file #4930

engineering87 opened this issue Jun 2, 2022 · 3 comments
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.

Comments

@engineering87
Copy link

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?

@ghost ghost added question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported Issues that are reported by GitHub users external to the Azure organization. Auto-Assign Auto assign by bot Connected Kubernetes CXP Attention This issue is handled by CXP team. labels Jun 2, 2022
@yonzhan
Copy link
Collaborator

yonzhan commented Jun 2, 2022

route to CXP team

@navba-MSFT navba-MSFT added Service Attention This issue is responsible by Azure service team. needs-team-attention This issue needs attention from Azure service team or SDK team and removed CXP Attention This issue is handled by CXP team. labels Jun 10, 2022
@ghost
Copy link

ghost commented Jun 10, 2022

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @akashkeshari.

Issue Details

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?

Author: engineering87
Assignees: -
Labels:

question, customer-reported, Service Attention, needs-team-attention, Connected Kubernetes, Auto-Assign

Milestone: -

@navba-MSFT
Copy link
Contributor

Adding Service team to take a look into this issue.

@akashkeshari Could you please look into this ask and provide an update ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

3 participants