{"repo":"phenixblue/k8shark","free":true,"listed":false,"github":"https://github.com/phenixblue/k8shark","clone":"git clone https://github.com/phenixblue/k8shark.git","description":"Capture Kubernetes cluster state to a portable archive and replay it through a mock API server — use kubectl against a customer's environment without live cluster access.","language":"Go","stars":54,"topics":["api","capture","cli","kubectl","kubernetes","mock","offline","wireshark","debugging","support"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"Like Wireshark, but for Kubernetes. Customer cluster is broken. You can't get access. You can't reproduce it. k8shark fixes that. k8shark captures a Kubernetes cluster's state over time and packages it into a single portable archive. A built-in mock API server lets support engineers replay that archive exactly like a live cluster — no direct connectivity required. A customer hands over one file. A support engineer queries the environment interactively, without live cluster access or back-and-forth command output. How it works 1. Capture — kshrk capture polls the Kubernetes API at configured intervals for a set duration and packages all responses into a single .kshrk archive. 2. Open — kshrk open capture.kshrk reads the archive, starts a local mock HTTPS API server, and writes a kubeconfig. Set KUBECONFIG and use kubectl normally. 3. Diagnose — kshrk diagnose capture.kshrk analyzes the capture offline and prints severity-ranked findings (crashing pods, unschedulable workloads, unbound PVCs, version skew, …). Also available in the web UI's Diagnostics tab. Which Kubernetes/kubectl versions and platforms are supported? See the compatibility matrix. Deciding what RBAC a capture needs? See the RBAC guide. Quick start Then explore the capture. Both options below run in the foreground until you press Ctrl+C , so pick one rather than pasting both: --auto-discover captures every API resource your credentials can read, which is the fastest way to a first archive. For repeatable or scop","default_branch":null,"files":null,"tree":[],"storefront":"/r/phenixblue","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/phenixblue/k8shark/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}