ingress.yaml 334 B

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