Pārlūkot izejas kodu

Remove liveness/readiness probes

Waqar Ahmed 5 gadi atpakaļ
vecāks
revīzija
817de8f1b0

+ 0 - 22
test/nextcloud/2.3.2/questions.yaml

@@ -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: []

+ 0 - 28
test/nextcloud/2.3.2/templates/deployment.yaml

@@ -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/

+ 1 - 19
test/nextcloud/2.3.2/values.yaml

@@ -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