Troubleshoot pods and services (AKS)
Use kubectl describe to inspect pods and events
The command kubectl describe command gives you detailed information about a pod including events.
kubectl get pods -n ai-workloads
kubectl describe pod <pod-name> -n ai-workloads
Debug using kubectl exec
kubectl exec -it <pod-name> -n ai-workloads -- /bin/sh
Inspect services using kubectl
kubectl get service -n ai-workloads
kubectl describe service <service-name> -n ai-workloads
kubectl get endpointslices -l kubernetes.io/service-name=<service-name> -n ai-workloads
Validate service-to-pod connectivity
kubectl get service -n ai-workloads
kubectl describe service inference-api -n ai-workloads
kubectl get endpointslices -l kubernetes.io/service-name=inference-api -n ai-workloads