Skip to content
Snippets Groups Projects
Commit 40e557f9 authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Changes maxsurge and adds readiness/liveness probes.

parent d5203099
No related branches found
No related tags found
No related merge requests found
...@@ -95,8 +95,8 @@ spec: ...@@ -95,8 +95,8 @@ spec:
app.kubernetes.io/part-of: Nextcloud app.kubernetes.io/part-of: Nextcloud
strategy: strategy:
rollingUpdate: rollingUpdate:
maxSurge: 25% maxSurge: 1
maxUnavailable: 25% maxUnavailable: 1
type: RollingUpdate type: RollingUpdate
template: template:
metadata: metadata:
...@@ -176,6 +176,18 @@ spec: ...@@ -176,6 +176,18 @@ spec:
image: libresh/nextcloud:${NC_IMAGE_TAG} image: libresh/nextcloud:${NC_IMAGE_TAG}
imagePullPolicy: Always imagePullPolicy: Always
name: app name: app
livenessProbe:
exec:
command:
- /php-fpm-healthcheck
initialDelaySeconds: 10
periodSeconds: 60
readinessProbe:
exec:
command:
- /php-fpm-healthcheck
initialDelaySeconds: 10
periodSeconds: 60
ports: ports:
- containerPort: 9000 - containerPort: 9000
name: api name: api
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment