Commit 817de8f1 authored by Waqar Ahmed's avatar Waqar Ahmed

Remove liveness/readiness probes

parent f323a2ce
...@@ -157,14 +157,6 @@ questions: ...@@ -157,14 +157,6 @@ questions:
schema: schema:
type: hostpath type: hostpath
- variable: lifecycle
label: "Define container Lifecycle"
group: "Container Configuration"
schema:
type: dict
additional_attrs: true
attrs: []
- variable: internalDatabase - variable: internalDatabase
label: "REMOVEME" label: "REMOVEME"
schema: schema:
...@@ -231,17 +223,3 @@ questions: ...@@ -231,17 +223,3 @@ questions:
type: dict type: dict
additional_attrs: true additional_attrs: true
attrs: [] attrs: []
- variable: livenessProbe
label: "REMOVEME"
schema:
type: dict
additional_attrs: true
attrs: []
- variable: readinessProbe
label: "REMOVEME"
schema:
type: dict
additional_attrs: true
attrs: []
...@@ -82,34 +82,6 @@ spec: ...@@ -82,34 +82,6 @@ spec:
- name: http - name: http
containerPort: 80 containerPort: 80
protocol: TCP protocol: TCP
{{- if .Values.livenessProbe.enabled }}
livenessProbe:
httpGet:
path: /status.php
port: http
httpHeaders:
- name: Host
value: {{ .Values.nextcloud.host | quote }}
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
successThreshold: {{ .Values.livenessProbe.successThreshold }}
failureThreshold: {{ .Values.livenessProbe.failureThreshold }}
{{- end }}
{{- if .Values.readinessProbe.enabled}}
readinessProbe:
httpGet:
path: /status.php
port: http
httpHeaders:
- name: Host
value: {{ .Values.nextcloud.host | quote }}
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }}
successThreshold: {{ .Values.readinessProbe.successThreshold }}
failureThreshold: {{ .Values.readinessProbe.failureThreshold }}
{{- end }}
volumeMounts: volumeMounts:
- name: nextcloud-data - name: nextcloud-data
mountPath: /var/www/ mountPath: /var/www/
......
...@@ -169,21 +169,3 @@ cronjob: ...@@ -169,21 +169,3 @@ cronjob:
service: service:
nodePort: 9000 nodePort: 9000
## Liveness and readiness probe values
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
##
livenessProbe:
enabled: true
initialDelaySeconds: 30
periodSeconds: 15
timeoutSeconds: 5
failureThreshold: 3
successThreshold: 1
readinessProbe:
enabled: true
initialDelaySeconds: 30
periodSeconds: 15
timeoutSeconds: 5
failureThreshold: 3
successThreshold: 1
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment