k9s: Installing k9s from snap doesn't work correctly
$ sudo snap install k9s
$ k9s
Boom!! The specified context does not exists in kubeconfig $ k9s --context mycontext Boom!! The specified context
mycontext does not exists in kubeconfig.
ubuntu 18.10
Running the same version from releases works correctly.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 6
- Comments: 16 (6 by maintainers)
Got it, there’s an executable in the .tar.gz for linux, dropped that in a bin folder - simples 👍
Is there a way to install k9s without using a snap? This issue’s driving me mad
Installed and ran without that parameters and don’t work either but I managed to make it work using k9s --kubeconfig .kube/config
edge: 0.5.1 2019-04-19 (99) 9MB devmode installed: 0.5.1 (99) 9MB devmode $ k9s --kubeconfig .kube/config.
Maybe you have some environment value set that I don’t have?
With the logLevel parameter can’t see any more output to help debugging.
@accountgit Looks to me k9s edge is working fine on ubuntu?
@jglick I totally get this. Managing the cognitive overload is indeed a challenge for all of us. You can always download the release from the releases page. I’ll try to get this snapcraft issue as quickly as I can, but unfortunately it’s not up to me to speed up this process.
@accountgit @jglick Would you mind giving linuxbrew a rinse with k9 v0.7.13? I am having a really rough time getting thru the snapcraft folks and homebrew just worked perfectly for me on an linux vm. Thank you!!
@accountgit Thank you so much for this research! I have been in discussions with the snapcraft folks so they can allow K9s and Popeye to read the kube config which I think is the main issue here. This process is going very slow. I am hopeful that they will enable this soon so we can release both projects as stable revs. My understanding is as a snap $HOME is being remapped so I don’t think anything special need to be done for the config files. I think the main blocker here is the inability for K9s and Popeye to read K8s home configs once this is enabled we should be ok on the snap front or at least that’s the hope…