diff options
author | Christian Segundo | 2023-05-21 15:15:49 +0200 |
---|---|---|
committer | Christian Segundo | 2023-05-21 21:34:21 +0200 |
commit | 0d927a66dd793e15cd24294ab9f0a7c8b9953e9c (patch) | |
tree | 7ce1ecb067d0b51eb237ffed2acd9b2e939d32a8 /kontext.1 | |
parent | ada36c86a256275fab8400f155ded2815db3836b (diff) | |
download | kontext-0d927a66dd793e15cd24294ab9f0a7c8b9953e9c.tar.gz |
Add kontext1.0.0
Diffstat (limited to 'kontext.1')
-rw-r--r-- | kontext.1 | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/kontext.1 b/kontext.1 new file mode 100644 index 0000000..2b1bc40 --- /dev/null +++ b/kontext.1 @@ -0,0 +1,54 @@ +.Dd May 21, 2023 +.Dt KONTEXT 1 +.Os +. +.Sh NAME +.Nm kontext +.Nd per shell Kubernetes contexts +. +.Sh SYNOPSIS +.Nm +.Op Fl h +.Op Fl n Ar namespace +.Ar context +. +.Sh DESCRIPTION + +The +.Nm +program sets per shell Kubernetes contexts +to allow power users to work on multiple +clusters at the same time. +.Pp +Note that +.Nm +is distributed as a shell fragment +that must be sourced. In order to +use it, add the following alias +to your shell: +.Bl -tag -width Ds +.It kontext="source kontext" +.El +. +.Pp +The arguments are as follows: +.Bl -tag -width Ds +.It Fl n | -namespace Ar namespace +Switch to +.Ar namespace . The default +namespace is 'default'. +.It Fl h | -help +Shows a short help message. +.It Ar context +The context name to use. +.El +. +.Sh EXAMPLES +.Bd -literal -offset indent +$ kontext -n kube-system foo +$ kontext foo +$ kontext -n kube-system +.Ed +. +.Sh AUTHORS +.An Christian Segundo Aq Mt christian@segundo.io |