apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: my-ingress-nginx
  annotations:
    kubernetes.io/ingress.class: "nginx"
spec:
  rules:
  - host: foobar3000.nginx
    http:
      paths:
      - pathType: Prefix
        path: "/"      
        backend:
          service:
            name: my-service
            port:
              number: 80
