Kontena Lens Plugin for kubectl

Kontena Lens plugin for kubectl will epand the capabilities of kubectl command line tool. Once the plugin is installed, users can access Kontena Lens dashboard directly from their command line. The authentication is done automatically under the hood using the local kubeconfig credentials.

NOTE: Kontena Lens plugin for kubectl works with Kontena Lens version 1.1 (or newer).

Installation

Linux

sudo curl -L# -o /usr/local/bin/kubectl-lens "https://kubectl-lens.kontena.io/latest/kubectl-lens-linux" && \
sudo chmod +x /usr/local/bin/kubectl-lens

MacOS

sudo curl -L# -o /usr/local/bin/kubectl-lens "https://kubectl-lens.kontena.io/latest/kubectl-lens-macos" && \
sudo chmod +x /usr/local/bin/kubectl-lens

Windows

Download https://kubectl-lens.kontena.io/latest/kubectl-lens-win.exe, rename to kubectl-lens.exe and move it to PATH.

Usage

Open Lens

Open Kontena Lens using local kubeconfig credentials.

Open using current kubeconfig context:

kubectl lens open

Open using specific kubeconfig context:

kubectl lens open --context=<context-name>

results matching ""

    No results matching ""