Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How do I switch between contexts in K9s when the contexts have already been set up?

I have few contexts setup in K9s. How do I switch between them?

For example, I am in the PROD context, and I want change the context to NONPROD.

How do I do this using the shortcuts?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You can switch to another context by typing :ctx <context-name>. For example:

# Switch to the PROD context
:ctx PROD

# Switch to the NONPROD context
:ctx NONPROD

A full list of commands and keybindings are available here.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading