kubeasz/manifests/ingress/whoami.ing.yaml

16 lines
300 B
YAML
Raw Normal View History

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