Skip to content
Simple Kubernetes prompt for bash
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
img
LICENSE
README.md
k8s-prompt-with-ns.sh
k8s-prompt.sh

README.md

k8s-prompt : A Simple Kubernetes prompt for bash

k8s-prompt is a simple Kubernetes prompt designed for Linux bash.

Installing

k8s-prompt has two seperate scripts for two different prompt types;

  • Prompt with username and Kubernetes cluster name
  • Prompt with username, Kubernetes cluster name and namespace

Prompt with username and Kubernetes cluster name

prompt with username and Kubernetes cluster name

Prompt with username and Kubernetes cluster name can be installed using following commands;

 curl -s https://raw.githubusercontent.com/fatihboy/k8s-prompt/master/k8s-prompt.sh | bash
 source ~/.bashrc

Prompt with username, Kubernetes cluster name and namespace

prompt with username, Kubernetes cluster name and namespace

Prompt with username, Kubernetes cluster name and namespace can be installed using following commands;

 curl -s https://raw.githubusercontent.com/fatihboy/k8s-prompt/master/k8s-prompt-with-ns.sh | bash
 source ~/.bashrc
You can’t perform that action at this time.