# Service Troubleshooting

> Service Troubleshooting is an Agent Skill for devops & security published in the HolmesGPT/holmesgpt repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Service Connectivity Issues

- Skill name: `service-troubleshooting`
- Category: [DevOps & Security](https://www.openparable.com/skill/devops-security/1)
- Source: https://github.com/HolmesGPT/holmesgpt/blob/HEAD/tests/llm/fixtures/test_ask_holmes/96_no_matching_skill/service-troubleshooting/SKILL.md
- Repository: HolmesGPT/holmesgpt (2,857 GitHub stars when collected)

## SKILL.md

# Service Connectivity Issues

## Overview
Troubleshooting Kubernetes service connectivity problems.

## Investigation Steps

### 1. Service Configuration
```bash
kubectl get svc {service_name} -n {namespace} -o yaml
kubectl get endpoints {service_name} -n {namespace}
```

### 2. Backend Pods
```bash
kubectl get pods -n {namespace} -l {selector}
```

### 3. Test Connectivity
```bash
kubectl run -it --rm debug --image=busybox --restart=Never -- wget -O- {service_name}:{port}
```

### 4. Network Policies
```bash
kubectl get networkpolicies -n {namespace}
```

## Common Service Issues
- No endpoints (no matching pods)
- Selector mismatch
- Wrong target port
- Network policy blocking
- Service type misconfiguration

---

Source: https://www.openparable.com/skill/devops-security/service-troubleshooting (OpenParable). Cite the canonical URL above.
