k8s-context-i

command module
v0.0.0-...-d052367 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2022 License: MIT Imports: 6 Imported by: 0

README

k8s-context-i

This is a tiny little command-line tool, based on git branch-i, for switching Kubernetes contexts. You'll need kubectl installed.

Installation

Install it using Go, like so:

go install github.com/JoelOtter/k8s-context-i@latest

Ensure your Go directory is on your system path. You might want to alias this tool to something easier to type - I use kx.

Usage

  • Contexts can be navigated using the arrow keys, j and k, Pg Up/Down, or Ctrl+N and Ctrl+P.
  • Switch to a context with the return key.
  • Exit with Escape or Ctrl+C.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
k8s
ui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL