Skip to content

Run kubectl on multiple clusters using regexp for context name.

License

Notifications You must be signed in to change notification settings

FortnoxAB/mkubectl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mkubectl

Run kubectl on multiple clusters using regexp for context name.

Install

go get -u github.com/fortnoxab/mkubectl

Usage

$ mkubectl --help
NAME:
   mkubectl - run kubectl command in multiple contexts

USAGE:
   mkubectl [global options] command [command options] [arguments...]

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --context value, -c value    regexp kubectl context name
   --namespace value, -n value  kubectl namespace
   --log-level value            (default: "info")
   --help, -h                   show help (default: false)

Example

mkubectl -c site.*-dev get po

About

Run kubectl on multiple clusters using regexp for context name.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages