What problem does it solve?
This Skill provides a comprehensive guide and automated scripts to diagnose and resolve issues within the Buttercup Cyber Reasoning System (CRS) deployed on Kubernetes, helping to quickly identify and fix pod crashes, resource issues, and service misbehavior.
Core Features & Use Cases
- Triage Workflow: Guides users through essential
kubectl commands to identify pod status, events, and warnings.
- Log Analysis: Provides commands to inspect current and previous container logs, stream live logs, and collect logs from multiple replicas.
- Resource Monitoring: Offers tools to check pod and node resource usage, disk pressure, and in-pod disk space.
- Redis Debugging: Detailed steps for diagnosing Redis health, including memory, persistence, client connections, and AOF configuration.
- Queue Inspection: Lists key Redis stream keys and provides commands to check queue depths and consumer group lag.
- Failure Pattern Reference: Links to detailed explanations of common failure modes like Redis AOF cascades, disk saturation, DinD issues, and OOM kills.
- Automated Snapshot: Includes a
diagnose.sh script to collect a snapshot of the CRS environment.
Quick Start
Run the automated triage snapshot script to collect diagnostic information for the Buttercup CRS.