Skip to content

Terminal interface that allows you to search and interactively select parts of your kube config file

License

Notifications You must be signed in to change notification settings

jotadrilo/kubectxext

Repository files navigation

kubectxext

kubectxext is a utility to extract a valid kubernetes config file from your kubernetes config for a given context.

Usage

Usage of kubectxext:
  -context string
    	context to extract.
  -kubeconfig string
    	kube config file to extract from. (default "/Users/jotadrilo/.kube/config")

Installation

There are several installation options:

  • macOS
    • Homebrew (recommended)
    • Go
  • Linux
    • Go

macOS

Homebrew

If you use Homebrew you can install like this:

brew tap jotadrilo/tap
brew install jotadrilo/tap/kubectxext

go

go get github.com/jotadrilo/kubectxext/cmd/...

Linux

go

go get github.com/jotadrilo/kubectxext/cmd/...

Development

This projects uses go mod.

go mod download
go run ./cmd/kubectxext -- --help

About

Terminal interface that allows you to search and interactively select parts of your kube config file

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published