Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 673 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 673 Bytes

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