From 7fc4800671cefaeb65ed18dad9d43ece32f57578 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 5 Jun 2026 16:36:04 +0000 Subject: [PATCH 1/2] Initial plan From 151657539d9492e79082df22904901919f2f4ead Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 5 Jun 2026 16:40:05 +0000 Subject: [PATCH 2/2] feat: expose devtron probe timings in helm values --- charts/devtron/README.md | 1 + charts/devtron/templates/devtron.yaml | 12 ++---------- charts/devtron/values.yaml | 12 ++++++++++++ 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/charts/devtron/README.md b/charts/devtron/README.md index 487b57407f..eab35ff23b 100644 --- a/charts/devtron/README.md +++ b/charts/devtron/README.md @@ -138,3 +138,4 @@ example of DEX_CONFIG is **Please Note:** Ensure that the cluster has access to the DEFAULT_CACHE_BUCKET, DEFAULT_BUILD_LOGS_BUCKET, CHARTMUSEUM_STORAGE_AMAZON_BUCKET and AWS secrets backends (SSM & secrets manager) +The main Devtron deployment probe timings can be customized with `components.devtron.livenessProbe` and `components.devtron.readinessProbe` in the chart `values.yaml`. diff --git a/charts/devtron/templates/devtron.yaml b/charts/devtron/templates/devtron.yaml index d1392fd129..5ef53a6f9b 100644 --- a/charts/devtron/templates/devtron.yaml +++ b/charts/devtron/templates/devtron.yaml @@ -281,25 +281,17 @@ spec: - ' curl -X POST -H "Content-Type: application/json" -d ''{"eventType": "SIG_TERM"}'' localhost:8080/orchestrator/telemetry/summary' livenessProbe: - failureThreshold: 3 httpGet: path: /health port: {{ $.Values.components.devtron.healthPort}} scheme: HTTP - initialDelaySeconds: 20 - periodSeconds: 10 - successThreshold: 1 - timeoutSeconds: 5 +{{ toYaml $.Values.components.devtron.livenessProbe | indent 12 }} readinessProbe: - failureThreshold: 3 httpGet: path: /health port: {{ $.Values.components.devtron.healthPort}} scheme: HTTP - initialDelaySeconds: 20 - periodSeconds: 10 - successThreshold: 1 - timeoutSeconds: 5 +{{ toYaml $.Values.components.devtron.readinessProbe | indent 12 }} ports: - name: devtron containerPort: 8080 diff --git a/charts/devtron/values.yaml b/charts/devtron/values.yaml index 3f71e8db22..4fadbb23ab 100644 --- a/charts/devtron/values.yaml +++ b/charts/devtron/values.yaml @@ -107,6 +107,18 @@ components: imagePullPolicy: IfNotPresent customOverrides: {} healthPort: 8080 + livenessProbe: + failureThreshold: 3 + initialDelaySeconds: 20 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 5 + readinessProbe: + failureThreshold: 3 + initialDelaySeconds: 20 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 5 podSecurityContext: fsGroup: 1001 runAsGroup: 1001