From 0d927a66dd793e15cd24294ab9f0a7c8b9953e9c Mon Sep 17 00:00:00 2001 From: Christian Segundo Date: Sun, 21 May 2023 15:15:49 +0200 Subject: Add kontext --- kontext.1 | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 kontext.1 (limited to 'kontext.1') 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 -- cgit v1.2.3