feat(gotenberg): deployment
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: gotenberg
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: gotenberg
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: gotenberg
|
||||
spec:
|
||||
containers:
|
||||
- name: gotenberg
|
||||
image: gotenberg/gotenberg:8
|
||||
args:
|
||||
- gotenberg
|
||||
- --api-port=3000
|
||||
- --api-timeout=120s
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
name: http
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 3000
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 3000
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 30
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
Reference in New Issue
Block a user