kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch15/hello-kiamol/ingress/hello.kiamol.local.yaml

15 lines
272 B
YAML

apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: hello-kiamol
labels:
kiamol: ch15
spec:
rules:
- host: hello.kiamol.local
http:
paths:
- path: /
backend:
serviceName: hello-kiamol
servicePort: 80