kubeasz/manifests/ingress/whoami.ing.yaml

16 lines
292 B
YAML
Raw Normal View History

2019-01-18 17:06:03 +08:00
# kubectl run whoami --image=emilevauge/whoami --port=80 --expose
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: test-whoami
spec:
rules:
- host: who.test.com
http:
paths:
- path: /
backend:
serviceName: whoami
servicePort: 80