2024-06-04 11:12:40 +00:00
|
|
|
---
|
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: health-ingress
|
|
|
|
namespace: health
|
|
|
|
annotations:
|
|
|
|
kubernetes.io/ingress.class: nginx
|
|
|
|
spec:
|
|
|
|
defaultBackend:
|
|
|
|
service:
|
|
|
|
name: health-node
|
|
|
|
port:
|
|
|
|
number: 8443
|
|
|
|
ingressClassName: nginx
|
|
|
|
# tls:
|
|
|
|
# - hosts:
|
2024-06-04 11:57:44 +00:00
|
|
|
# - kube-matrix.matrix.sunet.se
|
2024-06-04 11:12:40 +00:00
|
|
|
# secretName: tls-secret
|
|
|
|
rules:
|
|
|
|
- host: kube-matrix.matrix.sunet.se
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
2024-06-04 11:57:44 +00:00
|
|
|
backend:
|
2024-06-04 11:12:40 +00:00
|
|
|
service:
|
|
|
|
name: health-node
|
|
|
|
port:
|
|
|
|
number: 8080
|