15 lines
284 B
YAML
15 lines
284 B
YAML
apiVersion: networking.k8s.io/v1beta1
|
|
kind: Ingress
|
|
metadata:
|
|
name: test.ingress
|
|
namespace: default
|
|
|
|
spec:
|
|
rules:
|
|
- host: whoami.test
|
|
http:
|
|
paths:
|
|
- path: /whoami
|
|
backend:
|
|
serviceName: whoami
|
|
servicePort: http
|