2023-06-20 08:26:05 +00:00
|
|
|
apiVersion: networking.k8s.io/v1
|
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:
|
2023-06-20 08:26:05 +00:00
|
|
|
service:
|
|
|
|
name: whoami
|
|
|
|
port:
|
|
|
|
name: http
|
|
|
|
pathType: Prefix
|