-
Notifications
You must be signed in to change notification settings - Fork 160
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
Bug: Kubernetes contexts not being detected on SSH connection #433
Comments
It only checks whether kubectl is available in the PATH and loads the locally configured config. If this is a remote context, if you connect to that from your local kubectl client by configuring the config, that should also work |
Okay, I looked into the code and formally it runs |
This is on an Ubuntu VM and kubectl is installed with homebrew so it is located here: |
And |
You can also go to Settings -> Troubleshoot -> Launch in debug mode to see debug output of what is running when searching for available connections and why k8s doesn't show up |
Are there any updates on this? Wasn't able to reproduce this so far |
It seems xpipe is detecting kubernetes contexts configured on my local machine where xpipe is running, but on an SSH connection I have to a VM that has a variety of contexts configured it isn't detecting any of them.
How does xpipe determine what kubernetes contexts are available for a connection? The user home directory on the VM in question has a
.kube
subdirectory that contains a standardconfig
file with a few different contexts configured as well as a variety of separate yaml files in that directory with other contexts configured.The text was updated successfully, but these errors were encountered: