Ingress with two paths and TLS
Scenario ckad-net-003 · about 8 minutes · 9 points · 9 grader checks
Expose two Services under one host with path-based Ingress rules and terminate TLS with a certificate Secret.
- ingress
- tls
- secret
- path-routing
- networking
What you will practise
- Create a kubernetes.io/tls Secret from files
- Write an Ingress with several path rules
- Add a tls section to an Ingress
Start this lab
With the CLI installed and signed in, this command provisions a single node cluster on your Mac, applies the scenario setup and prints the task below.
goldenkube start ckad-net-003Task
The task text exactly as the CLI shows it. Solve it on the cluster, then run goldenkube submit.
Requirements and details
- Certification
- CKAD · Certified Kubernetes Application Developer
- Domain
- Services and Networking
- Difficulty
- Medium
- Cluster topology
- Single node
- Cluster features
- Ingress
- Recommended time
- 8 minutes
- Points
- 9
- Grader checks
- 9
- Kubernetes version
- 1.37
- Minimum CLI version
- 0.1.0
- Scenario version
- 1
- Published
Grading runs locally: 9 state checks read your cluster when you submit; the scenario passes when every check passes. Hints, the reference solution and the check definitions are available only inside the CLI, not on this page.
More Services and Networking labs
Expose a Deployment with ClusterIP and NodePort Services
Expose the same pods through a ClusterIP Service with port mapping and a NodePort Service on a fixed node port.
Single node · ~6 min · 9 points
- service
- clusterip
- nodeport
- endpoints
goldenkube start ckad-net-001
NetworkPolicy: default deny plus one allowed client
Lock down a namespace with a default-deny ingress policy and allow a single client label to reach an API on one port.
Single node · ~8 min · 8 points
- networkpolicy
- default-deny
- ingress
- labels
- networking
goldenkube start ckad-net-002
Service with no working endpoints
Find why a Service does not reach the pods of a healthy Deployment and fix the Service.
Single node · ~6 min · 7 points
- service
- troubleshooting
- selectors
- endpoints
goldenkube start ckad-net-004
Independent community project, not affiliated with or endorsed by CNCF or The Linux Foundation. Lab results are practice feedback, not an exam score.