-
Notifications
You must be signed in to change notification settings - Fork 431
Expand file tree
/
Copy pathdeployment.yaml
More file actions
57 lines (57 loc) · 1.42 KB
/
deployment.yaml
File metadata and controls
57 lines (57 loc) · 1.42 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
apiVersion: apps/v1
kind: Deployment
metadata:
name: labrinth
labels:
app.kubernetes.io/component: main
spec:
replicas: 1
selector:
matchLabels:
app: labrinth
template:
metadata:
labels:
app: labrinth
spec:
containers:
- name: labrinth
image: labrinth
imagePullPolicy: IfNotPresent
args:
["/labrinth/labrinth", "--no-background-tasks", "--no-migrations"]
env:
- name: GOTENBERG_TIMEOUT
value: "30000"
ports:
- containerPort: 8000
name: http
resources: # Base resources for an API service, should be adjusted at the overlay level
requests:
cpu: "2"
memory: 24Gi
limits:
cpu: "16"
memory: 32Gi
livenessProbe:
httpGet:
path: /
port: http
periodSeconds: 10
failureThreshold: 5
initialDelaySeconds: 20
readinessProbe:
httpGet:
path: /
port: http
periodSeconds: 5
initialDelaySeconds: 10
timeoutSeconds: 5
failureThreshold: 3
startupProbe:
httpGet:
path: /
port: http
periodSeconds: 3
initialDelaySeconds: 1
failureThreshold: 15