apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: prodinfo-ingress
  namespace: default
spec:
  rules:
    - host: localhost
      http:
        paths:
          - path: /podinfo
            pathType: Prefix
            backend:
              service:
                name: podinfo
                port:
                  number: 9898                                 