Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for KUBECONFIG

See original GitHub issue

Issue Description

kubectl uses the KUBECONFIG environment variable. It would be great if kube-shell would honor it as well.


Current behavior:

 ~> kube-shell
Kube-shell uses ~/.kube/config for server side completion. Could not find ~/.kube/config. Server side completion functionality may not work.

Expected behavior:

kube-shell follows path(s) as defined in $KUBECONFIG.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:10
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

damomurfcommented, Feb 22, 2018

kubectl can actually function perfectly well if the value of KUBECONFIG is also a list of kubectl config files, not necessarily just one. It would be ideal if this tool could support that use case too.

b1xcommented, Jun 24, 2018

@murali-reddy, I am sorry but I can’t switch context when I use variable KUBECONFIG, like: export KUBECONFIG=${HOME}/.kube/first:${HOME}/.kube/second It always on first(

Read more comments on GitHub >

github_iconTop Results From Across the Web

Organizing Cluster Access Using kubeconfig Files - Kubernetes
Use kubeconfig files to organize information about clusters, users, namespaces, and authentication mechanisms. The kubectl command-line tool ...
Read more >
Creating or updating a kubeconfig file for an Amazon EKS ...
Learn how to create or update a kubeconfig file for an Amazon EKS cluster. ... For all available options, run the aws eks...
Read more >
Kubeconfig File Explained With Practical Examples
The service account name will be the user name in the Kubeconfig. Here I am creating the service account in the kube-system as...
Read more >
Read Only Kubeconfig - Documentation
To connect to your Kubernetes clusters you will need to create or obtain a copy of your · We recommend creating a new...
Read more >
Access a Cluster with Kubectl and kubeconfig - Rancher Docs
A kubeconfig file is used to configure access to Kubernetes. ... For help installing kubectl, refer to the official Kubernetes documentation ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found