
kubectl-prof: Profile Your Kubernetes Applications with Zero Overhead and Zero Modifications
🔥 kubectl-prof: Profile Your Kubernetes Apps Without Touching Them Have you ever needed to debug a performance issue in a production Kubernetes pod and thought: "I wish I could just attach a profiler without restarting anything" ? That's exactly what kubectl-prof solves. It's a kubectl plugin that lets you profile running pods — generating FlameGraphs, JFR files, heap dumps, thread dumps, memory dumps, and more — without modifying your deployments, without restarting pods, and with minimal overhead . ✨ What Makes It Special? 🎯 Zero modifications — attach to any running pod, no sidecar needed 🌐 Multi-language — Java, Go, Python, Ruby, Node.js, Rust, Clang/Clang++, PHP, .NET 📊 Rich output formats — FlameGraphs, JFR, SpeedScope, thread dumps, heap dumps, GC dumps, memory dumps, memory flamegraphs, allocation summaries, and more ⚡ Low overhead — minimal impact on production workloads 🔄 Continuous profiling — support for both one-shot and interval-based modes 🐳 Multiple runtimes — container
Continue reading on Dev.to
Opens in a new tab




