Study FAQ
What do I need to route external HTTP or HTTPS traffic through Ingress in VKS?
Also asked as 2
- Why does a VKS Ingress need a workload-cluster controller and a reachable exposure path?
- How do an ingress controller, backend Services, TLS and a VIP work together in VKS?
Answer
A Kubernetes Ingress in VKS needs a controller that accepts its rules, a reachable frontend for that controller, and a backend Service with ready endpoints. An Ingress resource describes the host and path rules for HTTP or HTTPS. The controller implements those rules.
In a VCF 9.0 VKS workload cluster, verify the compatible controller has been deployed and the cluster serves networking.k8s.io/v1. Make the frontend reachable by a supported exposure method, such as a properly routed load-balancer VIP. Create the Ingress in the application namespace with the intended host, path and Service port. Set the intended ingressClassName explicitly, or verify the controller and any default class are configured to handle an Ingress without one. For TLS termination there, use a suitable TLS Secret in that namespace and a certificate that matches the hostname.
Check that the controller accepted the route, the frontend address resolves from the client network, and the Service has ready endpoints. Test with the intended host and path and normal certificate verification. Supervisor-level ingress and workload-cluster ingress are separate. Broadcom's VCF 9.1 example notes that guest clusters do not inherit a Contour instance installed as a Supervisor Service.
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