kubeasz/manifests/ingress/example-ingress-conf.yaml

18 lines
319 B
YAML
Raw Normal View History

2017-11-21 09:01:24 +08:00
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: test
spec:
rules:
- host: k8s.test.tf56
http:
paths:
- path: /
backend:
serviceName: test-hello
servicePort: 80
- path: /site
backend:
serviceName: test-site
servicePort: 80