ingress.yaml 377 B

123456789101112131415161718
  1. apiVersion: networking.k8s.io/v1
  2. kind: Ingress
  3. metadata:
  4. name: youtube-dl
  5. spec:
  6. ingressClassName: nginx
  7. rules:
  8. - host: "youtube-dl.home.wugi.info"
  9. http:
  10. paths:
  11. - path: /
  12. pathType: ImplementationSpecific
  13. backend:
  14. service:
  15. name: youtube-dl
  16. port:
  17. number: 80