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

14 lines
243 B
YAML
Raw Normal View History

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