Skip to content
LearningPathX
Learning PathsFree TestsExam InfoHow it worksNews
Sign inChoose a certification
  1. Home/
  2. Certifications/
  3. 3V0-24.25/
  4. 3V0-24.25 Learning Path/
  5. Study FAQs/
  6. How do I apply VKS NetworkPolicy without breaking DNS or required traffic?

Study FAQ

How do I apply VKS NetworkPolicy without breaking DNS or required traffic?

Exam · 3V0-24.25Knowledge domain · Install, Configure, Administrate the VMware SolutionUpdated Nov 25, 2026
Also asked as 2
  • What should I allow before enabling default-deny NetworkPolicy in VKS?
  • How can I test Kubernetes NetworkPolicy and DNS access in a VKS workload namespace?

Answer

In a VKS workload cluster on VCF 9.0, first verify that the installed CNI enforces networking.k8s.io/v1 NetworkPolicy. Map the required traffic for the selected Pods, including the actual cluster DNS path, before applying default-deny ingress or egress.

Start with a representative namespace and label set. Create explicit allowances for the required peer namespaces, Pod labels and ports. Allow the resolver used by those Pods on its required transport and ports. DNS commonly uses both UDP and TCP on port 53, but the correct policy peers depend on how the cluster implements DNS. If the sender and receiver are both isolated, the source egress and destination ingress policies must both allow the connection.

Policies that apply to a Pod combine their allowed traffic. An additional deny-by-default policy leaves existing allowances in place. Verify permitted and denied connections from Pods selected by the new policy, including resolving internal and external names and reaching the required services. Keep a rollback path to the previous reviewed policy if a required flow fails.

Official references

  • Network Policies | Kubernetes
  • Debugging DNS Resolution | Kubernetes
  • Architecting VMware vSphere Kubernetes Service on VCF: Top Webinar and Field Questions Answered - VMware Cloud Foundation (VCF) Blog

Full explanation

How Load Balancing, Ingress, Egress, CNI, and Service Mesh Work in VKS

Study guide · 3V0-24.25

Read the full explanation →
← Back to 3V0-24.25 FAQsView learning path →

Related questions

How can I expand a vSphere CSI-backed PVC in VKS safely? →How should I grant developers VKS workload access without giving them cluster lifecycle control? →What do I need to route external HTTP or HTTPS traffic through Ingress in VKS? →How do you stage and verify VKS and Supervisor content for an air-gapped VCF 9.0 environment? →What should you verify before deleting a VKS workload cluster? →How do you provision a VKS workload cluster from YAML on VCF 9.0? →
LearningPathX

A focused path to certification, one clear step at a time.

© 2026 LearningPathX. All rights reserved.

Product

CertificationsLearning PathsFree TestsHow it worksNews

Company

SubscriptionHelp centerContact usPrivacyTerms

Follow us

Your privacy choices

We use analytics cookies to understand how LearningPathX is used and improve your learning experience. Analytics will only start after you accept.