Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions charts/devtron/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,25 @@ 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)

### Devtron probe configuration

The liveness and readiness probe timings for the main Devtron deployment can be customized under `components.devtron` while retaining the `/health` endpoint configured by the chart:

```yaml
components:
devtron:
livenessProbe:
failureThreshold: 3
initialDelaySeconds: 60
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
readinessProbe:
failureThreshold: 3
initialDelaySeconds: 60
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
```

If these values are not overridden, the chart continues to use the existing probe timings from `values.yaml`.
12 changes: 2 additions & 10 deletions charts/devtron/templates/devtron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 13 additions & 0 deletions charts/devtron/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,19 @@ components:
imagePullPolicy: IfNotPresent
customOverrides: {}
healthPort: 8080
# Probe timings for the main Devtron deployment's /health endpoint.
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
Expand Down