Kube Tmux

Kubernetes status line for tmux
Alternatives To Kube Tmux
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Kube Ps12,971
3 months ago1March 03, 20218apache-2.0Shell
Kubernetes prompt info for bash and zsh
Kube Tmux253
2 years ago7apache-2.0Shell
Kubernetes status line for tmux
Awesome Cka250
6 months agomit
☸️ A curated list for awesome resources needed to pass your Certified Kubernetes Administrator (CKA) exam.
Centos Script127
a year agogpl-3.0Shell
Kubectl Tmux Exec106
2 months agomitShell
A kubectl plugin to control multiple pods simultaneously using Tmux
Dessine Moi Un Cluster54
3 years agoShell
Instructions to build a Kubernetes control plane one piece at a time, for learning purposes.
2 years ago5apache-2.0Shell
This workspace container image has all my favorite tools (and some toys) in one place. Also see my rwxrob/dot files.
Kube Tmuxp21
2 years ago10September 13, 20214Go
Tool to generate tmuxp configs that help to switch between multiple Kubernetes contexts safely.
Kube Plugins21
3 years agoapache-2.0Shell
a repository for plugins for kubernetes
Kubectl Tmux Logs17
5 years ago3apache-2.0Shell
A kubectl plugin to display container logs within separate tmux panes
Alternatives To Kube Tmux
Select To Compare

Alternative Project Comparisons

kube-tmux: Kubernetes context and namespace status for tmux

A script that lets you add the current Kubernetes context and namespace configured on kubectl to your tmux status line.

Inspired by kube-ps1, this is a port to tmux that includes all the features that make kube-ps1 efficient and brings it to the tmux status line.



This is the first iteration of this plugin, so the updates will be very frequent. Track this repo for changes, and keep in mind some of them might cause issues, although I will try to keep them at a minimum, and provide fixes as soon as possible. Please be patient!

If you have any bug reports, please feel free to submit a PR, or a bug report.


Clone this repository to your $HOME/.tmux directory, and add the following line to your ~/.tmux.conf:

set -g status-right "#(/bin/bash $HOME/.tmux/kube-tmux/kube.tmux 250 red cyan)"

250 is the color selection for the default foreground, red for the context, and cyan for the namespace.


  • tmux
  • kubectl

Plugin Structure

The default plugin layout is:

<symbol> <cluster>:<namespace>

If the current-context is not set, kube-tmux will return the following:

<symbol> N/A:N/A


The default color for the context are red, and cyan for the namespace Colors for the default text, context, and namespace can be changed:

#(/bin/bash $HOME/.tmux/kube-tmux/kube.tmux text context namespace)


Popular Tmux Projects
Popular Kubernetes Projects
Popular Command Line Interface Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.