Add {README,CONTRIBUTING}.md

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan
2017-03-29 00:30:12 -07:00
parent c849ef0083
commit 6de838135f
3 changed files with 57 additions and 1 deletions

33
README.md Normal file
View File

@@ -0,0 +1,33 @@
# kubectx(1)
kubectx is an utility to manage and switch between kubectl(1) contexts.
```
USAGE:
kubectx : list the contexts
kubectx <NAME> : switch to context
kubectx - : switch to the previous context
kubectx <NEW_NAME>=<NAME> : create alias for context
kubectx -h,--help : show this message
```
## Example
```
$ kubectx minikube
Switched to context "minikube".
$ kubectx -
Switched to context "oregon".
$ kubectx -
Switched to context "minikube".
$ kubectx dublin=gke_ahmetb_europe-west1-b_dublin
Context "dublin" set.
Aliased "gke_ahmetb_europe-west1-b_dublin" as "dublin".
```
-----
Disclaimer: This is not an official Google product.