castai-debug-bundle

Featured

Collect CAST AI diagnostic bundle for support tickets and troubleshooting. Use when preparing a support case, collecting agent logs, or building a diagnostic snapshot of cluster state. Trigger with phrases like "cast ai debug", "cast ai support bundle", "collect cast ai diagnostics", "cast ai logs".

AI & Automation 2,940 stars 439 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# CAST AI Debug Bundle ## Overview Collect all CAST AI component logs, cluster state, and configuration into a single archive for troubleshooting or support tickets. The bundle captures agent status, Helm releases, autoscaler policies, node inventory, and recent events. ## Prerequisites - `kubectl` access to the cluster running CAST AI - `CASTAI_API_KEY` and `CASTAI_CLUSTER_ID` configured - `helm` installed ## Instructions ### Step 1: Run the Debug Bundle Script ```bash #!/bin/bash # castai-debug-bundle.sh set -euo pipefail BUNDLE_DIR="castai-debug-$(date +%Y%m%d-%H%M%S)" mkdir -p "$BUNDLE_DIR" echo "=== CAST AI Debug Bundle ===" | tee "$BUNDLE_DIR/summary.txt" echo "Generated: $(date -u)" | tee -a "$BUNDLE_DIR/summary.txt" echo "Cluster ID: ${CASTAI_CLUSTER_ID:-unknown}" | tee -a "$BUNDLE_DIR/summary.txt" # 1. Helm releases echo "--- Helm Releases ---" >> "$BUNDLE_DIR/summary.txt" helm list -n castai-agent -o yaml > "$BUNDLE_DIR/helm-releases.yaml" 2>&1 # 2. Pod status echo "--- Pod Status ---" >> "$BUNDLE_DIR/summary.txt" kubectl get pods -n castai-agent -o wide > "$BUNDLE_DIR/pod-status.txt" 2>&1 # 3. Agent logs (last 200 lines each) for deploy in castai-agent cluster-controller castai-evictor castai-spot-handler castai-workload-autoscaler; do kubectl logs -n castai-agent "deployment/$deploy" --tail=200 \ > "$BUNDLE_DIR/${deploy}-logs.txt" 2>&1 || echo "Not found: $deploy" >> "$BUNDLE_DIR/summary.txt" done # 4. Cluster events (CAST AI related) kubectl ge...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category