31 lines
569 B
YAML
31 lines
569 B
YAML
|
---
|
||
|
apiVersion: networking.k8s.io/v1
|
||
|
kind: Ingress
|
||
|
metadata:
|
||
|
name: spark-ingress
|
||
|
annotations:
|
||
|
kubernetes.io/ingress.class: nginx
|
||
|
spec:
|
||
|
ingressClassName: nginx
|
||
|
defaultBackend:
|
||
|
service:
|
||
|
name: spark-ui-proxy
|
||
|
port:
|
||
|
number: 80
|
||
|
tls:
|
||
|
- hosts:
|
||
|
- spark.drive.test.sunet.se
|
||
|
secretName: tls-secret
|
||
|
|
||
|
rules:
|
||
|
- host: spark.drive.test.sunet.se
|
||
|
http:
|
||
|
paths:
|
||
|
- path: /
|
||
|
pathType: Prefix
|
||
|
backend:
|
||
|
service:
|
||
|
name: spark-ui-proxy
|
||
|
port:
|
||
|
number: 80
|