17 lines
305 B
YAML
17 lines
305 B
YAML
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: ingress-whoami
|
|
spec:
|
|
rules:
|
|
- http:
|
|
paths:
|
|
- path: /whoami
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: whoami
|
|
port:
|
|
number: 80
|