Skip to content

Commit 72a3177

Browse files
committed
feat: add support for monitor-related flags in provider helm chart
- Introduced `monitor` block in `values.yaml` for better organization of monitoring settings. - Added support for the following new flags in `statefulset.yaml`: - `AKASH_MONITOR_MAX_RETRIES` - `AKASH_MONITOR_RETRY_PERIOD` - `AKASH_MONITOR_RETRY_PERIOD_JITTER` - `AKASH_MONITOR_HEALTHCHECK_PERIOD` - `AKASH_MONITOR_HEALTHCHECK_PERIOD_JITTER` - Updated comments in `values.yaml` for clarity and documentation.
1 parent 10b74c5 commit 72a3177

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

charts/akash-provider/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type: application
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
1818

1919
# Major version bit highlights the mainnet release (e.g. mainnet4 = 4.x.x, mainnet5 = 5.x.x, ...)
20-
version: 11.1.0
20+
version: 11.1.1
2121

2222
# This is the version number of the application being deployed. This version number should be
2323
# incremented each time you make changes to the application. Versions are not expected to

charts/akash-provider/templates/statefulset.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,16 @@ spec:
249249
value: "{{ .Values.minimumbalance }}"
250250
- name: AKASH_BID_DEPOSIT
251251
value: "{{ .Values.bidmindeposit }}"
252+
- name: AKASH_MONITOR_MAX_RETRIES
253+
value: "{{ .Values.monitor.maxRetries | default 40 }}"
254+
- name: AKASH_MONITOR_RETRY_PERIOD
255+
value: "{{ .Values.monitor.retryPeriod | default '4s' | quote }}"
256+
- name: AKASH_MONITOR_RETRY_PERIOD_JITTER
257+
value: "{{ .Values.monitor.retryPeriodJitter | default '15s' | quote }}"
258+
- name: AKASH_MONITOR_HEALTHCHECK_PERIOD
259+
value: "{{ .Values.monitor.healthcheckPeriod | default '10s' | quote }}"
260+
- name: AKASH_MONITOR_HEALTHCHECK_PERIOD_JITTER
261+
value: "{{ .Values.monitor.healthcheckPeriodJitter | default '5s' | quote }}"
252262

253263
ports:
254264
- name: api

charts/akash-provider/values.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,13 @@ ipoperator: false
9393

9494
debug: "false"
9595

96+
monitor:
97+
maxRetries: 40 # Maximum retry attempts before closing a lease
98+
retryPeriod: 4s # Time interval between retries
99+
retryPeriodJitter: 15s # Jitter for retry period
100+
healthcheckPeriod: 10s # Health check period
101+
healthcheckPeriodJitter: 5s # Jitter for health check period
102+
96103
# Percentage of CPU overcommit
97104
overcommit_pct_cpu: 0
98105
# Percentage of memory overcommit

0 commit comments

Comments
 (0)