Commit f0002e30 authored by Jason Boutte's avatar Jason Boutte
Browse files

Updates fileServer healthcheck to be more robust

parent 928c887a
Loading
Loading
Loading
Loading
Loading
+2 −12
Original line number Diff line number Diff line
@@ -66,18 +66,8 @@ spec:
            - name: http
              containerPort: 8080
          env: {{ toYaml $fileServer.extraEnv | nindent 12 }}
          readinessProbe: &probe
            httpGet:
              path: /
              port: 8080
              httpHeaders:
                - name: Host
                  value: healthz.local
            initialDelaySeconds: 10
            periodSeconds: 10
          livenessProbe:
            <<: *probe
            initialDelaySeconds: 300
          readinessProbe: {{ toYaml $fileServer.readinessProbe | nindent 12 }}
          livenessProbe: {{ toYaml $fileServer.livenessProbe | nindent 12 }}
          {{- with .Values.data.securityContext }}
          securityContext: {{ toYaml . | nindent 12 }}
          {{- end }}
+18 −0
Original line number Diff line number Diff line
@@ -385,6 +385,24 @@ data:
    # The tolerations for the file server pod
    # See https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
    tolerations:
    readinessProbe:
      httpGet:
        path: /
        port: 8080
        httpHeaders:
          - name: Host
            value: healthz.local
      initialDelaySeconds: 10
      periodSeconds: 10
    livenessProbe:
      httpGet:
        path: /
        port: 8080
        httpHeaders:
          - name: Host
            value: healthz.local
      initialDelaySeconds: 300
      periodSeconds: 10

###
# Index node configuration