05-ingress.yaml 552 B

12345678910111213141516171819202122
  1. # Optional. Apply only if your cluster has an Ingress controller. Replace the
  2. # host and ingressClassName to match your environment.
  3. apiVersion: networking.k8s.io/v1
  4. kind: Ingress
  5. metadata:
  6. name: pipeline
  7. namespace: pipeline
  8. labels:
  9. app.kubernetes.io/name: pipeline
  10. spec:
  11. ingressClassName: nginx
  12. rules:
  13. - host: pipeline.example.com
  14. http:
  15. paths:
  16. - path: /
  17. pathType: Prefix
  18. backend:
  19. service:
  20. name: pipeline
  21. port:
  22. name: http