Ingress
Two backend services already exist in namespace cka-ingress: app-service (port 80) admin-service (port 80) An NGINX Ingress Controller is already installed in the cluster.
The task
Two backend services already exist in namespace cka-ingress:
app-service(port 80)admin-service(port 80)
An NGINX Ingress Controller is already installed in the cluster.
Task: Create an Ingress resource named app-ingress in namespace cka-ingress that:
- Uses
ingressClassName: nginx - Routes path
/apptoapp-serviceon port80 - Routes path
/admintoadmin-serviceon port80 - Uses
pathType: Prefixfor both rules
What this tests
Expose workloads with services and ingress, and restrict traffic with network policies. On the CKA exam, Services & Networking tasks are graded purely on what you build in the cluster — not multiple choice — so the only way to get faster is to do them on a real cluster against a clock.
Practice it for real
prepium.sh drops you into your own isolated Kubernetes cluster in the browser — no install, no credit card. You solve the task in a real terminal, hit validate, and a programmatic checker scores exactly what you got right and wrong (with partial credit). The canonical solution unlocks after you attempt it, so you learn the fast, exam-ready way to do it.