Skip to content

Commit 967e308

Browse files
Merge pull request #45 from scalyr/add-helthcheck-debug-option
[DSET-680] Add health check debug option
2 parents b8cac9c + db46361 commit 967e308

File tree

5 files changed

+16
-2
lines changed

5 files changed

+16
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
For actual scalyr agent changelog, please see https://github.com/scalyr/scalyr-agent-2/blob/release/CHANGELOG.md
44

5+
## 0.2.28
6+
7+
- Update chart for DataSet agent v2.1.38 release.
8+
- Add support of the ``livenessProbe.debug`` option which prints additional info on agent's ``livenessProbe``.
9+
510
## 0.2.27
611

712
- Allow user to set the priority of the Scalyr Agent DaemonSet using ``scalyr.priorityClassName``

charts/scalyr-agent/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: scalyr-agent
33
description: A Helm chart for deploying the Scalyr agent
44
type: application
5-
version: 0.2.27
6-
appVersion: 2.1.37
5+
version: 0.2.28
6+
appVersion: 2.1.38
77
keywords:
88
- scalyr
99
- logging

charts/scalyr-agent/templates/daemonset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ spec:
7878
- scalyr-agent-2
7979
- status
8080
- -H
81+
{{- if .Values.livenessProbe.debug }}
82+
- --debug
83+
{{- end }}
8184
initialDelaySeconds: 60
8285
periodSeconds: 60
8386
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
@@ -182,3 +185,4 @@ spec:
182185
{{- toYaml . | nindent 8 }}
183186
{{- end }}
184187
{{- end }}
188+

charts/scalyr-agent/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ spec:
7676
- scalyr-agent-2
7777
- status
7878
- -H
79+
{{- if .Values.livenessProbe.debug }}
80+
- --debug
81+
{{- end }}
7982
initialDelaySeconds: 60
8083
periodSeconds: 60
8184
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}

charts/scalyr-agent/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ livenessProbe:
117117
enabled: true
118118
# livenessProbe.timeoutSeconds -- timeout in seconds after which probe should be considered as failed if there is no response
119119
timeoutSeconds: 10
120+
# livenessProbe.debug -- set to true to enable printing additional debug information during the health check command.
121+
debug: false
120122

121123
# resources -- Pod resources. Defaults to the values documented in the official
122124
# [Installation guide](https://app.scalyr.com/help/install-agent-kubernetes)

0 commit comments

Comments
 (0)