Skip to content


Switch branches/tags


Failed to load latest commit information.
Latest commit message
Commit time

Kubernetes cluster fleet viewer

Clusters are the new cattle and we should have tooling available that allows us to quickly get an idea what's going in a fleet of such clusters.

What is this about?

Meet fleet, a simple CLI tool that provides you with the status and configuration of a fleet of Kubernetes clusters. For example:

$ kubectl fleet
CLUSTER                                                      VERSION       NODES NAMESPACES PROVIDER      API
kind-kind-3                                                  v1.16.3       1/1   4          kind
test-cluster-2                                               v1.16.2       1/1   4          minikube
kind-test2                                                   v1.16.3       1/1   4          kind
minikube                                                     v1.16.2       1/1   4          minikube
gke_krew-release-bot-260708_us-central1-a_standard-cluster-1 v1.15.8-gke.3 3/3   4          GKE 
do-sfo2-k8s-1-16-6-do-0-sfo2-1581265844177                   v1.16.6       3/3   4          Digital Ocean

Above, you see fleet used as a kubectl plugin, available via krew. The top-level command lists all active clusters found in the kubeconfig provided. Active clusters are defined as the one that you would see when you'd execute the kubectl config get-contexts command. For each cluster, configuration info such as the control plane version or API server endpoint are displayed, as well as select stats, for example, the number of worker nodes or namespaces found in the cluster.

Note that you can also use it standalone, simply download the binary for your platform from the release page.

Getting started

To get started, visit the usage docs.