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

Remove liveness/readiness probes

parent f323a2ce
......@@ -157,14 +157,6 @@ questions:
schema:
type: hostpath
- variable: lifecycle
label: "Define container Lifecycle"
group: "Container Configuration"
schema:
type: dict
additional_attrs: true
attrs: []
- variable: internalDatabase
label: "REMOVEME"
schema:
......@@ -231,17 +223,3 @@ questions:
type: dict
additional_attrs: true
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:
- name: http
containerPort: 80
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:
- name: nextcloud-data
mountPath: /var/www/
......
......@@ -168,22 +168,4 @@ cronjob:
# affinity: {}
service:
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
nodePort: 9000
\ No newline at end of file
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