OpenParable
Skip to content
← Back to skills

Service Troubleshooting

DevOps & Security
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

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. 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