Skip to content

andy2046/kubecli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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