Skip to content

Commit

Permalink
Allow to override the liveness and readiness probe host (#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
BirknerAlex committed Aug 7, 2024
1 parent 5da7384 commit 10482ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/netdata/templates/child/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ spec:
protocol: TCP
livenessProbe:
httpGet:
host: {{ .Values.child.livenessProbe.httpGet.host }}
path: /api/v1/info
port: http
initialDelaySeconds: {{ .Values.child.livenessProbe.initialDelaySeconds }}
Expand All @@ -143,6 +144,7 @@ spec:
timeoutSeconds: {{ .Values.child.livenessProbe.timeoutSeconds }}
readinessProbe:
httpGet:
host: {{ .Values.child.readinessProbe.httpGet.host }}
path: /api/v1/info
port: http
initialDelaySeconds: {{ .Values.child.readinessProbe.initialDelaySeconds }}
Expand Down
4 changes: 4 additions & 0 deletions charts/netdata/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,12 +252,16 @@ child:
# memory: 4096Mi

livenessProbe:
httpGet:
host: ""
initialDelaySeconds: 0
failureThreshold: 3
periodSeconds: 30
successThreshold: 1
timeoutSeconds: 1
readinessProbe:
httpGet:
host: ""
initialDelaySeconds: 0
failureThreshold: 3
periodSeconds: 30
Expand Down

0 comments on commit 10482ce

Please sign in to comment.