Study FAQ
How do I find where VKS Service or Ingress connectivity is failing?
Also asked as 2
- Why is a VKS application unreachable even though its Service or Ingress exists?
- How can I trace an unreachable VKS Service from its backend Pods to its external VIP?
Answer
Identify the failing source, namespace, hostname, port and protocol. Record when the failure began and any recent deployment, policy or routing change. Check whether the same backend works from inside the VKS workload cluster before investigating external exposure. For VCF 9.0, external failures can occur at the Kubernetes Service or Ingress, the load-balancer implementation, or the upstream network.
- In the intended workload-cluster context, confirm the Service ports and selector. If the Service uses a selector, list its endpoints with
kubectl get endpointslices -n <namespace> -l kubernetes.io/service-name=<service> -o yaml. Check backend readiness and endpoint ports. For an empty or unready result, verify matching Pod labels, readiness and the configuredtargetPort. - Verify DNS from the affected client and test the Service from an authorized in-cluster client. If direct backend access works while the Service path fails, inspect service routing and applicable CNI or NetworkPolicy evidence.
- For traffic entering through Ingress or a
LoadBalancerService, check that the controller accepted the route, frontend hostname and TLS, assigned VIP, load-balancer backend health, and client and return routes. Correlate failures with firewall or NSX/VDS events where applicable.
Compare with a working endpoint at the same layer. After the targeted change, repeat the original request from the same client network and verify it reaches a ready backend.
Official references
Full explanation
Troubleshooting VKS Networking and Persistent Storage
Study guide · 3V0-24.25
Read the full explanation