Service Troubleshooting

Service Connectivity Issues

robusta-dev cb1f0d1 800 B Updated

File contents

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

robusta-dev/holmesgpt/tree/main/tests/llm/fixtures/test_ask_holmes/96_no_matching_skill/service-troubleshooting commit cb1f0d16bf

Frequently asked questions

npx skillmds@latest add robusta-dev/service-troubleshooting