惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Schneier on Security
博客园 - 聂微东
美团技术团队
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
Tor Project blog
N
Netflix TechBlog - Medium
G
Google Developers Blog
L
LINUX DO - 最新话题
Recent Announcements
Recent Announcements
爱范儿
爱范儿
P
Privacy & Cybersecurity Law Blog
F
Fortinet All Blogs
The GitHub Blog
The GitHub Blog
Spread Privacy
Spread Privacy
TaoSecurity Blog
TaoSecurity Blog
T
Tailwind CSS Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
SegmentFault 最新的问题
AWS News Blog
AWS News Blog
P
Proofpoint News Feed
D
DataBreaches.Net
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Hacker News: Ask HN
Hacker News: Ask HN
V
V2EX
www.infosecurity-magazine.com
www.infosecurity-magazine.com
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
K
Kaspersky official blog
博客园 - 司徒正美
U
Unit 42
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Blog — PlanetScale
Blog — PlanetScale
云风的 BLOG
云风的 BLOG
Schneier on Security
Schneier on Security
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
Threatpost
Vercel News
Vercel News
Engineering at Meta
Engineering at Meta
Attack and Defense Labs
Attack and Defense Labs
L
Lohrmann on Cybersecurity
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Hugging Face - Blog
Hugging Face - Blog
PCI Perspectives
PCI Perspectives
S
Secure Thoughts
The Cloudflare Blog
L
LangChain Blog
T
The Exploit Database - CXSecurity.com
C
Check Point Blog
Microsoft Azure Blog
Microsoft Azure Blog
I
InfoQ
博客园 - 三生石上(FineUI控件)

Devoriales - DevOps and Python Tutorials

Cloud & DevOps & AI Digest: The Week of Jun 28, 2026 Cloud & DevOps & AI Digest: The Week of Jun 20, 2026 Ansible for DevOps Engineers: Architecture, Core Concepts, and Hands-On Lab Login Login Login Login Why Your Best Engineers Are Quitting (And How to Stop It) Login ArgoCD Vulnerability: How the ServerSideDiff Feature Exposes Kubernetes Secrets Login How Kubernetes Controls What Your Containers Can Do Login Multi-AZ Is Not Disaster Recovery: What the AWS Bahrain Outage Finally Proved Trivy Supply Chain Attack: When Your Security Scanner Becomes the Threat Is Claude Opus 4.6 Fast Mode Really Worth 6× the Price? Login Unlocking Higher Pod Density in EKS with Prefix Delegation AWS Regional NAT Gateway: What It Is and Why You Should Care Kubernetes 1.35 Timbernetes Release AWS re:Invent 2025: The Future of Kubernetes on EKS Debate Series: How Do We Control Deployment Order in Kubernetes? Debate Series: Should We Eliminate Kubernetes Secrets Entirely? Kubernetes CRDs Explained: A Beginner-Friendly Guide to Extending the Kubernetes API Reduce Cloud Cross-Zone Data Transfer Costs with Kubernetes 1.33 trafficDistribution Building Custom Bitnami Images: A Guide for Self-Hosted Container Images New Features in Kubernetes 1.34: An Overview From Free to Fee: How Broadcom's Bitnami Monetization Disrupts DevOps Infrastructure Claude Code Cheat Sheet: The Reference Guide Kubernetes Loses Enterprise Slack Status: Discord Among Platforms Being Considered Understanding Container Security: A Guide to Docker and Pod Security Container Patterns in Kubernetes: Init Containers, Sidecars, and Co-located Containers Explained AWS Launches Serverless MCP Server: AI-Powered Development Gets a Serverless Boost Valve Responds to Alleged Steam Data Breach Reports: What Users Need to Know ArgoCD 3.0: The Evolution Toward Secure GitOps Redis Returns to Open Source: The AGPLv3 Licensing Decision New Features in Kubernetes 1.33: An Overview Prometheus: How We Slashed Memory Usage IngressNightmare: Critical Ingress-NGINX Vulnerabilities and How to Check Your Exposure New Features in Kubernetes 1.32: An Overview What to Consider If You're Not Signing Up for Bitnami Premium Certified Kubernetes Administrator (CKA) Exam Updates for 2025 DeepSeek AI and the Question of the AI Bubble Python Tops the Tiobe Index: The Most Popular Programming Languages - January 2025 2024 in Review: IT Trends, Startups, and What’s Next Inside Argo: The Open-Source Journey Captured in a CNCF Documentary Running Docker on macOS Without Docker Desktop - updated with Kubernetes installation HashiCorp Rolls Out Terraform 2.0 at HashiConf, Keeps IBM Acquisition in the Shadows Is the EU Falling Behind in the Global AI Race? Prometheus Essentials: Node Exporter And System Monitoring Prometheus Essentials: Install and Start Monitoring Your App Prometheus Essentials: Introduction To Metric Types Kubernetes Pod Scheduling Explained: Taints, Tolerations, and Node Affinity Retrieval Augmented Generation (RAG) Explained for Beginners Like Me Using Sealed Secrets with Your Kubernetes Applications
Must-Have Kubernetes CLI Tools Every Platform Engineer Should Know
Aleksandro Matejic · 2026-06-14 · via Devoriales - DevOps and Python Tutorials

Managing Kubernetes clusters at scale requires more than kubectl get pods. This article covers twelve tools that experienced platform engineers and cluster administrators rely on daily — covering context switching, resource visualization, cost rightsizing, backup, image inspection, and cluster auditing. For each tool, we include verified GitHub statistics, a clear explanation of the problem it solves, and exact install commands. All data was collected in early 2025; verify current figures directly on GitHub before making procurement or adoption decisions.

Key Takeaways

  • K9s and Stern together cover the majority of real-time cluster inspection and log aggregation workflows without requiring additional infrastructure.
  • kubectx/kubens remains the fastest way to switch Kubernetes contexts and namespaces; it has over 19,000 GitHub stars and is installed on most engineers' machines by default.
  • Goldilocks provides data-driven VPA recommendations that directly reduce cloud spend — no benchmarks invented here, but the mechanism is well-documented and production-proven.
  • Velero is the de facto standard for cluster backup and restore; it is maintained by the open-source Velero community under the velero-io organization as a CNCF Incubating project.
  • Several tools in this list — kubectl-tree, kubectl-neat, and kube-capacity — solve narrow, specific problems.

Context and Navigation Tools

kubectx / kubens

Repository: github.com/ahmetb/kubectx
Stars: ~19,800 | Contributors: ~60

Switching between clusters and namespaces using the full kubectl config use-context syntax is slow. kubectx and kubens replace those commands with single-word aliases that work with fuzzy search when combined with fzf. Reach for these the moment you manage more than two clusters or regularly move between staging and production namespaces in the same terminal session.

# Homebrew
brew install kubectx

# krew
kubectl krew install ctx
kubectl krew install ns

kubie

Repository: github.com/kubie-org/kubie
Stars: ~2,600 | Contributors: ~25

kubie solves a specific problem that kubectx does not: context isolation per shell session. When you run kubie ctx, it spawns a child shell with its own KUBECONFIG so that switching context in one terminal does not affect other open terminals. This matters on operations teams where multiple engineers share a workstation or where runbooks are executed in parallel terminal panes pointing at different clusters.

# Homebrew
brew install kubie

# From releases (Linux)
curl -Lo kubie https://github.com/kubie-org/kubie/releases/latest/download/kubie-linux-amd64
chmod +x kubie && sudo mv kubie /usr/local/bin/

Cluster Visibility and Inspection Tools

K9s

Repository: github.com/derailed/k9s
Stars: ~34,000 | Contributors: ~200+

K9s is a terminal UI that presents a live, navigable view of every resource in a Kubernetes cluster. It replaces dozens of discrete kubectl invocations with keyboard-driven navigation, inline log streaming, port-forwarding shortcuts, and resource editing. Reach for K9s when you need to understand the state of a cluster quickly, debug a failing deployment, or give a new team member a visual entry point into Kubernetes without a browser-based dashboard dependency.

# Homebrew
brew install derailed/k9s/k9s

# Go install
go install github.com/derailed/k9s@latest

kubectl-tree

Repository: github.com/ahmetb/kubectl-tree
Stars: ~3,400 | Contributors: ~20

kubectl-tree renders the ownership hierarchy of Kubernetes objects as an ASCII tree. Given a Deployment, it shows the ReplicaSet, then the individual Pods, and any other resources that the Deployment owns. This is useful when debugging why a resource is not being garbage collected, or when understanding what a Helm chart or Operator has actually created. Use it when standard kubectl describe output does not make ownership relationships obvious.

# krew
kubectl krew install tree

# Usage
kubectl tree deployment my-app -n production

kube-capacity

Repository: github.com/robscott/kube-capacity
Stars: ~2,600 | Contributors: ~40

kube-capacity provides a concise, human-readable summary of CPU and memory requests, limits, and utilization across nodes and namespaces in a single command. The built-in kubectl top and kubectl describe node outputs require manual aggregation; kube-capacity presents the same data in a table format that is immediately actionable. Use it when capacity planning, investigating node pressure, or auditing workloads that have no resource limits set.

# krew
kubectl krew install resource-capacity

# Usage — show all pods with utilization
kubectl resource-capacity --pods --util

Popeye

Repository: github.com/derailed/popeye
Stars: ~6,300 | Contributors: ~60

Popeye scans a live Kubernetes cluster against a set of best-practice rules and returns a scored report of issues — missing resource limits, deprecated API versions, unused ConfigMaps, containers running as root, and more. It does not require installation inside the cluster; it runs from your local machine against the current context. Use Popeye before promoting a workload to production, after upgrading a cluster, or as part of a periodic audit process.

# Homebrew
brew install derailed/popeye/popeye

# krew
kubectl krew install popeye

# Run a scan
kubectl popeye

Log Streaming, Manifests, and Image Tools

Stern

Repository: github.com/stern/stern
Stars: ~4,700 | Contributors: ~60

Stern streams logs from multiple Pods and containers simultaneously, with color-coded output per Pod and support for regex-based Pod name matching. The standard kubectl logs -f command targets one container at a time; Stern targets a logical workload or any group of Pods matching a pattern. Use it when debugging a rolling deployment, tracking requests across replicas, or watching init containers and sidecars in parallel.

# Homebrew
brew install stern

# krew
kubectl krew install stern

# Stream logs from all pods matching a pattern
stern payment-service --namespace production --since 15m

kubectl-neat

Repository: github.com/itaysk/kubectl-neat
Stars: ~2,100 | Contributors: ~20

When you export a live Kubernetes manifest with kubectl get -o yaml, the output includes dozens of lines of server-side fields — managedFields, creationTimestamp, status, resourceVersion — that have no place in a version-controlled manifest. kubectl-neat strips those fields automatically, returning a clean, minimal YAML. Use it when migrating workloads between clusters, building a GitOps baseline from existing resources, or reviewing a manifest without noise.

# krew
kubectl krew install neat

# Export a clean manifest
kubectl get deployment my-app -o yaml | kubectl neat

Dive

Repository: github.com/wagoodman/dive
Stars: ~54,000 | Contributors: ~120

Dive is an interactive terminal tool for inspecting Docker and OCI container image layers. It shows per-layer file additions and deletions, calculates image efficiency scores, and identifies wasted space from files that are added in one layer and deleted in another. While not a Kubernetes tool in the strict sense, Dive belongs in the Kubernetes administrator toolkit because image size directly affects pull latency, node disk pressure, and cold-start time. Use it when auditing base images, optimizing Dockerfiles, or investigating unexpectedly large images in a registry.

# Homebrew
brew install dive

# Inspect an image
dive my-registry/my-app:v1.2.3

Cost Optimization, Backup, and Cluster Health

Goldilocks

Repository: github.com/FairwindsOps/goldilocks
Stars: ~3,250 | Contributors: ~60

Goldilocks installs a VPA (Vertical Pod Autoscaler) object in recommendation mode for each Deployment in a namespace, then exposes a dashboard that shows suggested CPU and memory request/limit values based on observed usage. It does not automatically apply changes; it provides data you act on. Use Goldilocks when you suspect workloads are over-provisioned, when preparing a cost review, or when setting initial resource requests for a new service that lacks historical data.

# Helm
helm repo add fairwinds-stable https://charts.fairwinds.com/stable
helm install goldilocks fairwinds-stable/goldilocks --namespace goldilocks --create-namespace

# Label a namespace to enable recommendations
kubectl label namespace production goldilocks.fairwinds.com/enabled=true

Velero

Repository: github.com/velero-io/velero
Stars: ~10,100 | Contributors: ~350+

Velero backs up Kubernetes cluster resources and persistent volume data to object storage, and restores them on demand. It supports scheduled backups, selective namespace or label-based backups, and cross-cluster migration. Velero is the standard tool for disaster recovery on Kubernetes; use it when establishing a backup policy for production clusters, migrating workloads between clusters or cloud providers, or meeting compliance requirements for data retention and recovery time objectives. Check the official documentation for provider-specific plugin configuration before deploying to production.

# Install the Velero CLI
brew install velero

# Install Velero into a cluster with AWS S3 backend
velero install \
  --provider aws \
  --plugins velero/velero-plugin-for-aws:v1.10.0 \
  --bucket my-velero-backup-bucket \
  --backup-location-config region=us-east-1 \
  --snapshot-location-config region=us-east-1 \
  --secret-file ./credentials-velero

Radar

Repository: github.com/skyhook-io/radar
Stars: ~2,400 | Contributors: ~30

Radar is a browser-based Kubernetes UI that runs locally with zero cluster-side installation, communicating directly with the Kubernetes API. It provides interactive cluster topology graphs, a real-time event timeline, service traffic visualization, container image inspection, Helm release management, and GitOps support for FluxCD and ArgoCD. Use Radar when you want a visual, shareable cluster overview that complements terminal-based tools like K9s — especially for teams with mixed CLI comfort levels, or when sharing cluster state without distributing kubeconfig files.

# Quickstart
curl -fsSL https://get.radarhq.io | sh && kubectl radar

# Homebrew
brew install skyhook-io/radar/radar

# krew
kubectl krew install radar

Tool Comparison at a Glance

Tool Primary Use Case Stars (approx.) Install Method
kubectx/kubens Context and namespace switching ~19,800 brew / krew
K9s Terminal UI cluster navigation ~34,000 brew / go install
Dive Container image layer inspection ~54,000 brew
Velero Cluster backup and restore ~10,100 brew / Helm
Stern Multi-pod log streaming ~4,700 brew / krew
Popeye Cluster best-practice auditing ~6,300 brew / krew
Goldilocks Resource request rightsizing ~3,250 Helm
kubectl-tree Object ownership visualization ~3,400 krew
kube-capacity Node and namespace capacity summary ~2,600 krew
kubectl-neat Clean manifest export ~2,100 krew
kubie Per-shell context isolation ~2,600 brew
Radar Browser-based Kubernetes UI ~2,400 curl / brew / krew

Summary

If you install nothing else from this list, start with kubectx, K9s, Stern, and Popeye — they collectively cover context management, real-time cluster inspection, log streaming, and ongoing best-practice auditing with minimal configuration overhead. Add Velero for backup, Goldilocks for cost rightsizing, and the remaining krew plugins as your operational needs become specific enough to justify each one.