Study FAQ
How do I troubleshoot a VKS Pod that cannot reach an external service?
Also asked as 2
- 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?
Answer
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.
- 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.
- 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.
- 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
Full explanation
How Load Balancing, Ingress, Egress, CNI, and Service Mesh Work in VKS
Study guide · 3V0-24.25
Read the full explanation