Go Apache-2.0

ktop

A top-like tool for your Kubernetes cluster metrics

V

vladimirvivien

Dernière activité 3 juil. 2026
vladimirvivien/ktop

1,1 k

étoiles

25

forks

11

issues ouvertes

golangkubectl-pluginkubernetesmetrics

Ce README est souvent en anglais.

ktop

ktop

A top-like tool for your Kubernetes cluster.

Following the tradition of Unix/Linux top tools, ktop is a tool that displays useful metrics information about nodes, pods, and other workload resources running in a Kubernetes cluster.

Features

  • Real-Time Monitoring - Continuously updated view of nodes, pods, and containers
  • Drill-Down Navigation - Explore from cluster overview → node → pod → container logs
  • Zero Cluster Installation - Runs locally using your kubeconfig; no agents or server-side components
  • Works Anywhere kubectl Works - Connects through the Kubernetes API; no direct node access required
  • Streaming Container Logs - Real-time logs with filtering, timestamps, line wrap, and full-screen mode
  • Multiple Metrics Sources - Support Prometheus for enhanced metrics, Metrics-Server, or no-metrics as fallback
  • Graceful Degradation - Works even without metrics infrastructure by showing resource requests/limits
  • Single Binary - Download and run; no dependencies beyond a valid kubeconfig

Installation

kubectl plugin

kubectl krew install ktop
kubectl ktop

Requires krew plugin manager.

Homebrew

brew tap vladimirvivien/oss-tools
brew install ktop

Go install

go install github.com/vladimirvivien/ktop@latest

Binary download

Download from GitHub Releases.

Quick Start

With a valid kubeconfig file ($KUBECONFIG or ~/.kube/config):

# Start ktop with default settings
ktop

# Use a specific context
ktop --context my-cluster

# Filter to a namespace
ktop --namespace production

# Use Prometheus for enhanced metrics
ktop --metrics-source=prometheus

Documentation

See ktop's website for documetation.

Projets similaires

🐶 Kubernetes CLI To Manage Your Clusters In Style!

Gogogolangk8s
Dderailed
34,7 k étoiles2,3 k

A simple CLI that provides an overview of the resource requests, limits, and utilization in a Kubernetes cluster

Gokubernetesresource-managementutilization
Rrobscott
2,7 k étoiles133

Prometheus Operator creates/configures/manages Prometheus clusters atop Kubernetes

Gohacktoberfestkubernetesmonitoring
Pprometheus-operator
10 k étoiles3,9 k