kube-ps1
Kubernetes prompt info for bash and zsh
A script that lets you add the current Kubernetes context and namespace configured on kubectl to your Bash/Zsh prompt strings (i.e. the $PS1). The default prompt assumes you have the kubectl command-line utility installed. Official installation instructions and binaries are available. Blue was used for the default symbol to match the Kubernetes color as closely as possible. Red was chosen as the context name to stand out, and cyan for the namespace. 256 colors are available by specifying...