Skip to content

Commit

Permalink
fixing hbk prometheus
Browse files Browse the repository at this point in the history
Signed-off-by: Sanskar Bhushan <[email protected]>
  • Loading branch information
sbdtu5498 committed Oct 28, 2024
1 parent 5d4b98b commit 733f95d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,13 @@ spec:
requests:
storage: {{ .Values.prometheus.storage.size }}
storageClassName: {{ .Values.prometheus.storage.className }}
containers:
- name: prometheus
startupProbe:
failureThreshold: {{ .Values.prometheus.startupProbe.failureThreshold }}
livenessProbe:
failureThreshold: {{ .Values.prometheus.livenessProbe.failureThreshold }}
readinessProbe:
failureThreshold: {{ .Values.prometheus.readinessProbe.failureThreshold }}
version: {{ .Values.prometheus.version }}
enableRemoteWriteReceiver: true
8 changes: 8 additions & 0 deletions argocd-helm-charts/prometheus-linuxaid/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ prometheus:
requests:
cpu: 600m
memory: 2Gi
# in prometheus pods that takes some recovery time due to large number of WALs we need to increase the probe time.
# ref. - https://github.com/prometheus-operator/prometheus-operator/blob/378d36df448366414de53a66a64020cd053002b7/pkg/prometheus/statefulset.go#L641-L643
startupProbe:
failureThreshold: 240
livenessProbe:
failureThreshold: 240
readinessProbe:
failureThreshold: 240
grafana:
server: graphs.obmondo.com
version: 11.1.4
Expand Down

0 comments on commit 733f95d

Please sign in to comment.