k9s always starts in context view

Created on 29 May 2020  路  5Comments  路  Source: derailed/k9s






Describe the bug
I can confirm what @guiguan reported in #693. Even if I explicitly specify a context through --context, it still starts in context view.

To Reproduce
Steps to reproduce the behavior:

  • run k9s --context <name>
  • _k9s starts up in context view and does not use given context_

Expected behavior
k9s starts up with given context

Versions (please complete the following information):

  • OS: docker
  • K9s: 0.19.7 (but build on 2020/05/28, so I think version was not properly adjusted for docker container)
bug

All 5 comments

Same for me.
K9s Rev: 0.20.1 [15608]

@alcohol Thank you for the heads up on this one! My fault!! We should be happier on v0.20.2. Tx!!

Nope. On 0.20.2 no matter if I use from cmdline --context xxx or --cluster xxx - I still have context selector on start.

It works for me without any issues after I deleted config file. Can you try and check if it resolves your issue? Before that, I have exactly the same behaviour - every time k9s started with context selection.

I can confirm that removing the config file helped. Merely updating to 0.20.2 was not enough.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

stk0vrfl0w picture stk0vrfl0w  路  3Comments

ArnaudMsh picture ArnaudMsh  路  3Comments

andrej-pavlov picture andrej-pavlov  路  3Comments

RothAndrew picture RothAndrew  路  3Comments

dalgibbard picture dalgibbard  路  3Comments