15 lines
259 B
YAML
15 lines
259 B
YAML
apiVersion: networking.k8s.io/v1beta1
|
|
kind: Ingress
|
|
metadata:
|
|
name: todo
|
|
labels:
|
|
kiamol: ch15
|
|
spec:
|
|
rules:
|
|
- host: todo.kiamol.local
|
|
http:
|
|
paths:
|
|
- path: /
|
|
backend:
|
|
serviceName: todo-web
|
|
servicePort: 80 |