-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploy.yaml
33 lines (32 loc) · 855 Bytes
/
deploy.yaml
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
defaultImage: nginx:latest
apps:
- name: voila
service:
enabled: true
type: ClusterIP
command: ["voila", "--no-browser", "--enable_nbextensions=True", "--Voila.ip=0.0.0.0", "--VoilaConfiguration.default_pool_size=16", "report.ipynb"]
ports:
- name: http
port: 8866
protocol: TCP
autoscaling:
enabled: true
minReplicas: 1
maxReplicas: 1
targetCPUUtilizationPercentage: 99
targetMemoryUtilizationPercentage: 99
resources:
limits:
cpu: "1"
memory: "2048Mi"
requests:
cpu: "1"
memory: "2048Mi"
ingress:
hosts:
- host: tiphyspy.opszero.com
paths: ["/"]
port: 8866
- host: fn.opszero.com
paths: ["/"]
port: 8866