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