16 lines
277 B
YAML
16 lines
277 B
YAML
|
apiVersion: extensions/v1beta1
|
||
|
kind: Ingress
|
||
|
metadata:
|
||
|
name: test.ingress
|
||
|
namespace: default
|
||
|
|
||
|
spec:
|
||
|
rules:
|
||
|
- host: whoami.test
|
||
|
http:
|
||
|
paths:
|
||
|
- path: /whoami
|
||
|
backend:
|
||
|
serviceName: whoami
|
||
|
servicePort: http
|