-
Notifications
You must be signed in to change notification settings - Fork 0
/
ingress-https.yml
37 lines (36 loc) · 945 Bytes
/
ingress-https.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: ingress-https
namespace: default
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
nginx.ingress.kubernetes.io/proxy-ssl-verify: "false"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
rules:
- host: ide.bayescluster.com
http:
paths:
- path: /
backend:
serviceName: notebook
servicePort: 8000
- path: /
backend:
serviceName: notebook
servicePort: 8888
- path: /
backend:
serviceName: scheduler
servicePort: 8787
- host: manager.bayescluster.com
http:
paths:
- path: /
backend:
serviceName: kubernetes-dashboard
servicePort: 443