# How do I troubleshoot a VKS Pod that cannot reach an external service?

Exam: 3V0-24.25 — Advanced VMware Cloud Foundation 9.0 vSphere Kubernetes Service
Knowledge domain: Troubleshoot and optimize the VMware Solution
Updated: 2026-11-25T06:11:30.466514+00:00
HTML: https://learningpathx.com/faq/3V0-24.25/vcap2425-vks-egress-troubleshooting.html

## Also asked as

- Which checks isolate a failing outbound connection from a VKS workload?
- How can I distinguish DNS, policy, routing, and TLS failures in VKS Pod egress?

Test the outbound connection from the affected VKS Pod or an approved diagnostic Pod with equivalent namespace, labels and network placement. For a VCF 9.0 workload, trace the destination name, Pod egress policy, node and VPC or VLAN route, any proxy or source NAT, and the external firewall and TLS endpoint.

1. Verify the hostname resolves to the expected address from the Pod. If DNS fails, check the resolver configuration, DNS service health and whether the selected egress policy permits that DNS path.
2. If the address resolves, check whether transport to the expected host and port is allowed. Verify node reachability, applicable NetworkPolicy and infrastructure firewall rules. Follow the actual route and return traffic, accounting for proxies and source translation.
3. If the connection reaches the endpoint but TLS fails, check the hostname and the certificate chain seen by the application or proxy. Verify client trust and confirm the application can complete its intended authenticated request.

A Kubernetes NetworkPolicy decision and a network firewall decision can both affect the same flow. Compare with an equivalent known-good workload, correct the failed layer and retest the exact transaction. Image retrieval by the worker runtime uses the node's path and should be tested from that context.

Official references

* [Debugging DNS Resolution | Kubernetes](https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/)
* [Network Policies | Kubernetes](https://kubernetes.io/docs/concepts/services-networking/network-policies/)
* [Architecting VMware vSphere Kubernetes Service on VCF: Top Webinar and Field Questions Answered - VMware Cloud Foundation (VCF) Blog](https://blogs.vmware.com/cloud-foundation/2026/06/09/architecting-vmware-vsphere-kubernetes-service-on-vcf-top-webinar-and-field-questions-answered/)
* [RFC 9525: Service Identity in TLS](https://www.rfc-editor.org/rfc/rfc9525.html)

Source: [How Load Balancing, Ingress, Egress, CNI, and Service Mesh Work in VKS](https://learningpathx.com/news/how-load-balancing-ingress-egress-cni-and-service-mesh-work-in-vks.html)
