kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch15/todo-list/ingress.yaml

15 lines
259 B
YAML
Raw Normal View History

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