34 lines
804 B
YAML
34 lines
804 B
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: app
|
||
|
spec:
|
||
|
template:
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: gotenburg
|
||
|
image: docker.io/gotenberg/gotenberg:8.7
|
||
|
imagePullPolicy: IfNotPresent
|
||
|
ports:
|
||
|
- containerPort: 3000
|
||
|
name: web
|
||
|
livenessProbe:
|
||
|
httpGet:
|
||
|
scheme: HTTP
|
||
|
path: /health
|
||
|
port: web
|
||
|
initialDelaySeconds: 60
|
||
|
periodSeconds: 10
|
||
|
readinessProbe:
|
||
|
httpGet:
|
||
|
scheme: HTTP
|
||
|
path: /health
|
||
|
port: web
|
||
|
initialDelaySeconds: 30
|
||
|
periodSeconds: 10
|
||
|
startupProbe:
|
||
|
httpGet:
|
||
|
scheme: HTTP
|
||
|
path: /health
|
||
|
port: web
|