e658712d53
Co-authored-by: SantoDE <manuel.zapf@traefik.io>
70 lines
1.3 KiB
YAML
70 lines
1.3 KiB
YAML
apiVersion: networking.k8s.io/v1beta1
|
|
kind: IngressClass
|
|
metadata:
|
|
name: traefik-keep
|
|
spec:
|
|
controller: traefik.io/ingress-controller
|
|
|
|
---
|
|
kind: Ingress
|
|
apiVersion: networking.k8s.io/v1beta1
|
|
metadata:
|
|
name: "whoami-keep-route"
|
|
spec:
|
|
ingressClassName: "traefik-keep"
|
|
rules:
|
|
- host: "whoami.test.keep"
|
|
http:
|
|
paths:
|
|
- path: "/keep"
|
|
backend:
|
|
serviceName: "whoami"
|
|
servicePort: 80
|
|
|
|
---
|
|
apiVersion: networking.k8s.io/v1beta1
|
|
kind: IngressClass
|
|
metadata:
|
|
name: traefik-drop
|
|
spec:
|
|
controller: traefik.io/ingress-controller
|
|
|
|
---
|
|
kind: Ingress
|
|
apiVersion: networking.k8s.io/v1beta1
|
|
metadata:
|
|
name: "whoami-drop-route"
|
|
spec:
|
|
ingressClassName: "traefik-drop"
|
|
rules:
|
|
- host: "whoami.test.drop"
|
|
http:
|
|
paths:
|
|
- path: "/drop"
|
|
backend:
|
|
serviceName: "whoami"
|
|
servicePort: 80
|
|
|
|
---
|
|
apiVersion: networking.k8s.io/v1beta1
|
|
kind: IngressClass
|
|
metadata:
|
|
name: traefik-not-ingress-controller
|
|
spec:
|
|
controller: not.tr43phic.io/ingress-controller
|
|
|
|
---
|
|
kind: Ingress
|
|
apiVersion: networking.k8s.io/v1beta1
|
|
metadata:
|
|
name: "whoami-drop-ingress"
|
|
spec:
|
|
ingressClassName: "traefik-not-ingress-controller"
|
|
rules:
|
|
- host: "whoami.test.not.ingress"
|
|
http:
|
|
paths:
|
|
- path: "/ingress"
|
|
backend:
|
|
serviceName: "whoami"
|
|
servicePort: 80
|