kubectl-cfg

module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: Apache-2.0

README ΒΆ

Welcome to kubectl-cfg πŸ‘‹

Version Total visitor Visitors in today

kubectl cfg is a kubectl plugin that provides you a easier way to manage the config of your Kubernetes cluster.

🏠 Homepage

Install

Download the newest version kubectl-cfg binary file from release page.

$ which kubectl
/usr/local/bin/kubebuilder/bin/kubectl
$ # copy the kubectl-cfg into some folder with kubectl.
$ cp kubectl-cfg /usr/local/bin/kubebuilder/bin/
$ kubectl cfg version
kubectl-cfg current version is "v0.0.1".

Support the krew install way in recently.

Usage

kubectl cfg list context

More information

$ kubectl cfg -h                                
  You can use kubectl cfg command to easily manage kubeconfig file.
  The command is include list, add, delete, merge, rename and update.
  If you have some question please commit the issue to https://github.com/it2911/kubectl-cfg

Usage:
  cfg
  cfg [command]

Available Commands:
  add         Add context / cluster / authinfo into kubeconfig
  delete      Delete context / cluster / authinfo from kubeconfig
  help        Help about any command
  list        Describe the contexts / clusters / authinfos information in the kubeconfig file
  merge       Merge multi the kubeconfig files
  use         Sets the current-context in a kubeconfig file

Flags:
  -h, --help                help for cfg
      --kubeconfig string   use a particular kubeconfig file

Use "cfg [command] --help" for more information about a command.

Build

If you want to build yourself version. You can try below command.

$ go version
go version go1.12.7 linux/amd64
$ git clone -b v0.0.1 https://github.com/it2911/kubectl-cfg.git
$ cd kubectl-cfg/cmd
$ go build -o kubectl-cfg

Support makefile in recently

Author

πŸ‘€ @it2911 πŸ‘€ @vinci7

🀝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

πŸ“ License

Copyright Β© 2019 it2911.

This project is Apache 2 licensed.


This README was generated with ❀️ by readme-md-generator

Jump to

Keyboard shortcuts

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