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