kubecli

command module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

README

kubecli

kubectl config provides no subcommand to list user records or batch delete context / cluster records.

kubecli config provides subcommands to batch delete and list user / context / cluster records.

kubecli config current-context      # Display the current-context
kubecli config use-context NAME     # Set current context to NAME
kubecli config namespace NAME       # Set namespace for current context to NAME
kubecli config delete-cluster NAME  # Delete the specified cluster NAME from the kubeconfig
kubecli config delete-context NAME  # Delete the specified context NAME from the kubeconfig
kubecli config delete-user NAME     # Delete the specified user NAME from the kubeconfig
kubecli config get-clusters         # Display clusters defined in the kubeconfig
kubecli config get-contexts         # Display contexts defined in the kubeconfig
kubecli config get-users            # Display users defined in the kubeconfig

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
cmd

Jump to

Keyboard shortcuts

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