diff --git a/nextcloud/manifests/app.yml b/nextcloud/manifests/app.yml index 210ca0353e01c5ee81f669e17a814b4eae992a85..bba9ee57f267fc7e336363ee7eadf278c611350f 100644 --- a/nextcloud/manifests/app.yml +++ b/nextcloud/manifests/app.yml @@ -104,25 +104,11 @@ spec: env: - name: BACKEND_HOST value: localhost - livenessProbe: - httpGet: - path: /heartbeat - port: 80 - httpHeaders: - - name: Host - value: localhost - readinessProbe: - httpGet: - path: /heartbeat - port: 80 - httpHeaders: - - name: Host - value: localhost resources: requests: - memory: "80Mi" + memory: "100Mi" limits: - memory: "400Mi" + memory: "500Mi" - command: ["/bin/sh"] args: - -c @@ -196,19 +182,30 @@ spec: httpHeaders: - name: Host value: localhost + failureThreshold: 3 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 3 readinessProbe: - exec: - command: - - /php-fpm-healthcheck + httpGet: + path: /heartbeat + port: 80 + httpHeaders: + - name: Host + value: localhost + failureThreshold: 3 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 3 ports: - containerPort: 9000 name: api protocol: TCP resources: requests: - memory: "80Mi" + memory: "200Mi" limits: - memory: "400Mi" + memory: "500Mi" terminationMessagePath: /dev/termination-log terminationMessagePolicy: File dnsPolicy: ClusterFirst @@ -306,5 +303,5 @@ spec: name: cli restartPolicy: OnFailure schedule: '*/5 * * * *' - successfulJobsHistoryLimit: 3 + successfulJobsHistoryLimit: 1 suspend: false