Add probes
This commit is contained in:
parent
b6c15effe4
commit
7cfc67bd6d
|
@ -37,10 +37,20 @@ spec:
|
|||
- name: apache-config
|
||||
mountPath: /etc/apache2/sites-enabled/000-default.conf
|
||||
subPath: 000-default.conf
|
||||
readinessProbe:
|
||||
tcpSocket:
|
||||
port: 8080
|
||||
initialDelaySeconds: 180
|
||||
periodSeconds: 60
|
||||
livenessProbe:
|
||||
tcpSocket:
|
||||
port: 8080
|
||||
initialDelaySeconds: 300
|
||||
periodSeconds: 180
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
name: nextcloud-http
|
||||
command: ['/bin/sh', '-c', '. /etc/apache2/envvars; apache2 -k start -DFORGROUND']
|
||||
command: ['/bin/sh', '-c', '. /etc/apache2/envvars; apachectl -DFORGROUND']
|
||||
initContainers:
|
||||
- image: docker.sunet.se/sunet/docker-jinja:latest
|
||||
name: init-config
|
||||
|
|
Loading…
Reference in a new issue