diff --git a/kiali-server/templates/deployment.yaml b/kiali-server/templates/deployment.yaml index 3534b83..ffd6160 100644 --- a/kiali-server/templates/deployment.yaml +++ b/kiali-server/templates/deployment.yaml @@ -101,8 +101,8 @@ spec: {{- else }} scheme: HTTP {{- end }} - initialDelaySeconds: {{ .Values.deployment.readiness_probe.initial_delay_seconds | int | default 5 }} - periodSeconds: {{ .Values.deployment.readiness_probe.period_seconds | int | default 30 }} + initialDelaySeconds: {{ .Values.deployment.probes.readiness.initial_delay_seconds | int | default 5 }} + periodSeconds: {{ .Values.deployment.probes.readiness.period_seconds | int | default 30 }} livenessProbe: httpGet: path: {{ include "kiali-server.server.web_root" . | trimSuffix "/" }}/healthz @@ -112,8 +112,8 @@ spec: {{- else }} scheme: HTTP {{- end }} - initialDelaySeconds: 5 - periodSeconds: 30 + initialDelaySeconds: {{ .Values.deployment.probes.liveness.initial_delay_seconds | int | default 5 }} + periodSeconds: {{ .Values.deployment.probes.liveness.period_seconds | int | default 30 }} startupProbe: httpGet: path: {{ include "kiali-server.server.web_root" . | trimSuffix "/" }}/healthz @@ -123,9 +123,9 @@ spec: {{- else }} scheme: HTTP {{- end }} - initialDelaySeconds: 30 - periodSeconds: 10 - failureThreshold: 6 + initialDelaySeconds: {{ .Values.deployment.probes.startup.initial_delay_seconds | int | default 30 }} + periodSeconds: {{ .Values.deployment.probes.startup.period_seconds | int | default 10 }} + failureThreshold: {{ .Values.deployment.probes.startup.failure_threshold | int | default 6 }} env: - name: ACTIVE_NAMESPACE valueFrom: diff --git a/kiali-server/values.yaml b/kiali-server/values.yaml index a84b76b..b3c4cbc 100644 --- a/kiali-server/values.yaml +++ b/kiali-server/values.yaml @@ -69,9 +69,17 @@ deployment: pod_annotations: {} pod_labels: {} priority_class_name: "" - readiness_probe: - initial_delay_seconds: 5 - period_seconds: 30 + probes: + liveness: + initial_delay_seconds: 5 + period_seconds: 30 + readiness: + initial_delay_seconds: 5 + period_seconds: 30 + startup: + initial_delay_seconds: 5 + period_seconds: 30 + failure_threshold: 6 remote_cluster_resources_only: false # if deployment.hpa is defined, this replicas setting will be ignored replicas: 1