Remove liveness/readiness probes
This commit is contained in:
@@ -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:
|
|||||||
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:
|
|||||||
- 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:
|
|||||||
|
|
||||||
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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user