No description
  • Go 97.2%
  • Shell 2.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Vladimir Vivien 0ecb4f9482
issue-148: User Session Dir and Logging (#149)
Introduces ~/.ktop to stor user-session files. This
patch also introduces a logging infrastructure (basedon slog)
to create/rotate logs stored in ~/.ktop/ktop.log.
2026-05-15 17:00:05 -04:00
.ci Refinement of the UI 2021-12-28 08:24:20 -05:00
.github/workflows issue-134 - chore: v0.5.0 Release Prep (#135) 2025-12-31 18:28:34 -05:00
application issue-148: User Session Dir and Logging (#149) 2026-05-15 17:00:05 -04:00
buildinfo GUI updates and doc adjustments 2022-02-05 17:00:23 -05:00
cmd issue-148: User Session Dir and Logging (#149) 2026-05-15 17:00:05 -04:00
config issue-111 - chore: Metrics Source Defaults to Prometheus (#112) 2025-12-08 06:35:00 -05:00
docs issue-143 - fix: Net and Disc Metrics (#144) 2026-01-11 18:46:16 -05:00
hack issue-111 - chore: Metrics Source Defaults to Prometheus (#112) 2025-12-08 06:35:00 -05:00
health issue-85 - fix: Metrics accuracy and UI enhancements (#86) 2025-11-27 07:29:45 -05:00
internal issue-148: User Session Dir and Logging (#149) 2026-05-15 17:00:05 -04:00
k8s issue-148: User Session Dir and Logging (#149) 2026-05-15 17:00:05 -04:00
metrics issue-143 - fix: Net and Disc Metrics (#144) 2026-01-11 18:46:16 -05:00
prom issue-148: User Session Dir and Logging (#149) 2026-05-15 17:00:05 -04:00
ui issue-126 - docs: Update Documentation (#127) 2025-12-30 08:58:11 -05:00
views issue-143 - fix: Net and Disc Metrics (#144) 2026-01-11 18:46:16 -05:00
.gitignore issue-72 - chore: Add Kwok support for UI scale tests (#73) 2025-11-22 18:26:05 -05:00
.goreleaser.yml Fix Homebrew cask release (#56) 2025-07-04 18:43:45 -04:00
.krew.yaml GitHub Action and release automation 2022-06-11 12:28:42 -04:00
go.mod issue-148: User Session Dir and Logging (#149) 2026-05-15 17:00:05 -04:00
go.sum issue-148: User Session Dir and Logging (#149) 2026-05-15 17:00:05 -04:00
LICENSE Initial commit 2016-12-29 18:55:12 -05:00
main.go Fixes for authorization detection; client-go updates; UI updates 2022-06-10 16:56:35 -04:00
mkdocs.yml issue-132 - GitHub Pages Adjustments (#133) 2025-12-31 16:43:16 -05:00
README.md issue-138 - bug: Program Hangs at Launch (#139) 2026-01-02 10:25:18 -05:00

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.