{"data":{"slug":"discovered-1b40bcaac3e10cb445032fac5cae055ae6e7c801ab79142e","title":"Failing Deployments","summary":"Investigates failing Kubernetes pods and Flux HelmReleases to identify root causes of deployment issues in the home-ops cluster.","url":"https:\/\/skillshunter.net\/skills\/discovered-1b40bcaac3e10cb445032fac5cae055ae6e7c801ab79142e","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-1b40bcaac3e10cb445032fac5cae055ae6e7c801ab79142e","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-1b40bcaac3e10cb445032fac5cae055ae6e7c801ab79142e.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-1b40bcaac3e10cb445032fac5cae055ae6e7c801ab79142e\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before running any commands, ensure that `kubectl` and `flux` are installed and configured to interact with the home-ops cluster. Prepare by validating access to the cluster and ensuring that the required namespaces are available.","instructions":"---\nname: failing-deployments\ndescription: Investigates failing Kubernetes pods and Flux HelmReleases to identify root causes of deployment issues in the home-ops cluster.\n---\n\n# Failing Deployments Agent\n\nThis skill provides a structured workflow for investigating and reporting on failing deployments within the Kubernetes cluster.\n\n## Workflow\n\n### 1. Identify Failing Pods\nList all pods across all namespaces that are NOT in `Running` or `Completed` states.\n- Command: `kubectl get pods -A | grep -v -E \"Running|Completed|NAME\"`\n\n### 2. Identify Failing HelmReleases\nCheck Flux HelmReleases for failures or stalled states.\n- Command: `flux get helmreleases -A | grep -v -E \"True|NAME\"`\n\n### 3. Deep Dive into Failures\nFor each failing resource identified:\n- **Pods**:\n    - Describe the pod: `kubectl describe pod <pod_name> -n <namespace>`\n    - Check recent logs: `kubectl logs <pod_name> -n <namespace> --tail=50 --all-containers`\n    - Look for events: `kubectl get events -n <namespace> --field-selector involvedObject.name=<pod_name>`\n- **HelmReleases**:\n    - Describe the release: `kubectl describe helmrelease <release_name> -n <namespace>`\n    - Check the associated Kustomization or Source if applicable.\n\n### 4. Report Findings\nConsolidate the information and report back to the main thread with:\n- Resource Name and Namespace.\n- Current Status.\n- Error message or Reason for failure (from `describe`).\n- Relevant log snippets that pinpoint the issue.\n- Potential fix or next steps.","use_cases":["Troubleshooting failing Kubernetes pods","Diagnosing stalled or failed Flux HelmReleases","Generating detailed reports on deployment failures"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/damacus\/skills\/blob\/5706f70c0058822adf29da9bd7620c7ea780b9d6\/skills\/operations\/failing-deployments\/SKILL.md","source_commit":"5706f70c0058822adf29da9bd7620c7ea780b9d6","license":null,"version":null,"listing_approved_at":"2026-12-02","created_at":"2026-11-30T08:54:35.000000Z","updated_at":"2026-12-02T09:15:01.000000Z","seo_title":"Investigate Failing Kubernetes Deployments","seo_description":"A structured workflow for identifying and reporting on failing Kubernetes pods and Flux HelmReleases in the home-ops cluster.","seo_keywords":["Kubernetes troubleshooting","Flux HelmRelease","Deployment failure analysis","Kubernetes pod logs","Home-ops cluster diagnostics"]}}