Skip to content

Latest commit

 

History

History
65 lines (37 loc) · 1.36 KB

README.md

File metadata and controls

65 lines (37 loc) · 1.36 KB

kubectl tree logo

kubectl crashwatch

A kubectl plugin to monitor and log all pods in a CrashLoopBackOff state within your Kubernetes cluster. Provides both command-line output and a web-based dashboard for easier monitoring and troubleshooting.

Features

  • List CrashLoopBackOff Pods: Quickly identify all pods in the cluster that are in a CrashLoopBackOff state.
  • View Pod Logs: Access the logs of crashed pods directly from the command line or dashboard.
  • Web-Based Dashboard: An optional dashboard that displays crashed pods and their logs in a user-friendly interface.

Demo

Example (on the cli):

example

Example (dashboard):

example Kubernetes object hierarchy with Knative Service

Example (dashboard detail):

example

Installation

Use krew plugin manager to install:

kubectl krew install crashwatch

Usage/Examples

  • Command-Line Interface Display logs of pods in a CrashLoopBackOff state:
kubectl crashwatch
  • Web Dashboard Launch the web-based dashboard:
kubectl crashwatch -d 
kubectl crashwatch dashboard

Author

License

Apache 2.0. See LICENSE.