apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: example
spec:
defaultBackend:
service:
name: default-backend
port:
number: 80
rules:
- http:
paths:
- path: /testpath
backend:
serviceName: test
servicePort: 80