2020-01-16 09:14:06 +00:00
|
|
|
apiVersion: networking.k8s.io/v1beta1
|
2019-03-14 14:56:06 +00:00
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: test.ingress
|
|
|
|
namespace: default
|
2020-11-19 23:18:04 +00:00
|
|
|
labels:
|
|
|
|
app: traefik
|
2019-03-14 14:56:06 +00:00
|
|
|
|
|
|
|
spec:
|
|
|
|
rules:
|
|
|
|
- host: whoami.test
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /whoami
|
|
|
|
backend:
|
|
|
|
serviceName: whoami
|
|
|
|
servicePort: http
|