Rewrote backup/restore guides to document current system (native pg_dump/Longhorn/tar.gz tools, blue-green restore, scheduling) and remove outdated restic references. Rewrote monitoring guide to replace K3s/Helm/Velero placeholders with actual capabilities. Filled in all four upgrade guides (Talos, Kubernetes, applications, Wild Cloud) that were previously TBD stubs. Expanded troubleshooting guides with correct namespaces, Wild Cloud CLI commands, and Talos-specific diagnostics. Added verification commands to cluster networking health checklist. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2.0 KiB
2.0 KiB
Troubleshoot Service Connectivity
If services within the cluster can't communicate with each other:
1. Check Network Policies
kubectl get networkpolicies -A
Wild Cloud doesn't create restrictive network policies by default, but CrowdSec or custom policies may be blocking traffic.
2. Verify Service Endpoints
# Check that the service has endpoints
kubectl get endpoints -n <namespace>
# A service with no endpoints means no pods match its selector
kubectl describe svc <service-name> -n <namespace>
3. Test Connectivity from Within the Cluster
# Start a debug pod
kubectl run -i --tty --rm debug --image=busybox --restart=Never -- sh
# Inside the pod:
# Test DNS resolution
nslookup <service-name>.<namespace>.svc.cluster.local
# Test HTTP connectivity
wget -O- http://<service-name>.<namespace>.svc.cluster.local:<port>
4. Check Cross-Node Connectivity
If services on different nodes can't communicate:
# Verify Flannel (CNI) pods are running on every node
kubectl get pods -n kube-system -l app=flannel -o wide
# Check for stale VXLAN tunnels
talosctl --talosconfig <talosconfig-path> get links --nodes <node-ip> | grep flannel
5. Check kube-proxy
# Verify kube-proxy is running on all nodes
kubectl get pods -n kube-system -l k8s-app=kube-proxy -o wide
Common Issues
App can't reach its database: Check that the database pod is running, the service name matches what the app expects, and the database namespace is correct.
Intermittent connectivity failures: Often caused by a Flannel pod crash or stale routing. Restart the Flannel pod on the affected node.
CrowdSec blocking legitimate traffic: Check CrowdSec decisions and bouncer status. See the CrowdSec service logs: wild service logs crowdsec.
Related Guides
- Cluster Networking Health — Full networking stack checklist
- Troubleshoot DNS — If the issue is DNS-related