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?

1 Answer

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.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like