Hands-on task
Ingress with a host
Prepare in /root/ing.yaml an Ingress web: for the host app.example.com and path / (pathType: Prefix) it routes traffic to the service web on port 80. You don't have to write it by hand — it's easier to generate it with a kubectl command using --dry-run=client -o yaml. Open the result in the Editor tab and find the rule with the host, path and service.
- kubernetes
- ingress
- kubectl
- routing
- dry-run