apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: new-ingress
  namespace: web-dev
spec:
  ingressClassName: nginx
  rules:
    # - host: www.example.com
    - http:
        paths:
          - pathType: Prefix
            backend:
              service:
                name: tripsviewer-service
                port:
                  number: 80
            path: /