With the adoption of Kubernetes grows the number of specialists that interact with K8s clusters on daily basis. Some of those engineers introduce their own customized tools designed to simplify and automate their daily operations with the clusters.
Most of these tools are CLI utilities, with some working as kubectl wrappers or plugins to extend the functionality of kubectl. For example, kubectx and kubens allow for quick switching between kubectl contexts and namespaces within a cluster, while kube-ps1 indicates the actual context and namespace.
Kubectl-aliases provides nearly 800 programmatically generated kubectl aliases to avoid excessive verbosity in command strings. The kube-prompt client features convenient interactive autocomplete using prompts built in Go. The list could go on; more information could be found here.
Among Kubernetes CLI utilities there are also tools with more advanced functionality. For example, K9s, a terminal based UI, allows real-time tracking of cluster resources and activities, which makes it an alternative of a K8s dashboard. Stern provides for the advanced log analysis, as it enables tailing of multiple pods and containers at once. Each result is color coded for quicker debugging.
In the table below we have gathered the most popular CLI utilities and plugins with a brief stats showing the project health on GitHub.
Kubernetes CLI utilities
(last 6 months)
|A tool for switching between clusters on kubectl
|A tool for switching between namespaces on kubectl
|A terminal based UI to interact with K8s clusters
|Multi pod and container log tailing for K8s
|K8s prompt helper for bash and zsh
|Integrated shell for working with the K8s CLI
|kubectl plugin to browse K8s object hierarchies as a tree
|Aliases for kubectl
|Interactive K8s client featuring auto-complete using prompts built in Go
|Hybrid CLI/GUI for cloud-native development, alternative to kubectl
|A CLI focused REPL for quickly interacting with K8s objects
|A kubectl plugin for scheduling bpftrace programs on your K8s cluster
|A web based tool to run kubectl commands in web browser
|A collection of plugins for kubectl integration
|K8s as a FUSE filesystem
|K8s tmux plugin to display the current context and namespace
|K8s operations from Vim, in Vim
|Wrapper around kubectl, kubectl alternative with quick context switching
|Extending kubectl with custom commands
|Tool for interactive database queries on K8s resources
|A new way to interact with K8s API from your terminal
|A tool for Cluster/User/Namespace switching for K8s
|A microservice to expose kubectl create/apply/get logic
|An interactive shell around kubectl
As Kubernetes itself, these client tools are open-source and could be installed from their Git repositories. Hope you will find something useful here!