Service Troubleshooting
DevOps & Securityservice-troubleshootingService 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
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/HolmesGPT/holmesgpt/blob/HEAD/tests/llm/fixtures/test_ask_holmes/96_no_matching_skill/service-troubleshooting/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/service-troubleshooting, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Service Connectivity Issues
Overview
Troubleshooting Kubernetes service connectivity problems.
Investigation Steps
1. Service Configuration
kubectl get svc {service_name} -n {namespace} -o yaml
kubectl get endpoints {service_name} -n {namespace}
2. Backend Pods
kubectl get pods -n {namespace} -l {selector}
3. Test Connectivity
kubectl run -it --rm debug --image=busybox --restart=Never -- wget -O- {service_name}:{port}
4. Network Policies
kubectl get networkpolicies -n {namespace}
Common Service Issues
- No endpoints (no matching pods)
- Selector mismatch
- Wrong target port
- Network policy blocking
- Service type misconfiguration