Skip to content

Commit

Permalink
feat(agent): update the readiness probes to use localhost (#1530)
Browse files Browse the repository at this point in the history
  • Loading branch information
aroberts87 authored Dec 13, 2023
1 parent 7c822b1 commit d86d3be
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ sources:
- https://app.sysdigcloud.com/#/settings/user
- https://github.com/draios/sysdig
type: application
version: 1.18.1
version: 1.18.2
1 change: 1 addition & 0 deletions charts/agent/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ spec:
readinessProbe:
{{- if eq (include "agent.enableHttpProbes" .) "true" }}
httpGet:
host: 127.0.0.1
path: /healthz
port: 24483
{{- else }}
Expand Down
1 change: 1 addition & 0 deletions charts/agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ spec:
readinessProbe:
{{- if eq (include "agent.enableHttpProbes" .) "true" }}
httpGet:
host: 127.0.0.1
path: /healthz
port: 24483
{{- else }}
Expand Down
4 changes: 4 additions & 0 deletions charts/agent/tests/readiness_probe_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ tests:
path: spec.template.spec.containers[0].readinessProbe
value:
httpGet:
host: 127.0.0.1
path: /healthz
port: 24483
initialDelaySeconds: 90
Expand All @@ -26,6 +27,7 @@ tests:
path: spec.template.spec.containers[0].readinessProbe
value:
httpGet:
host: 127.0.0.1
path: /healthz
port: 24483
initialDelaySeconds: 90
Expand Down Expand Up @@ -90,6 +92,7 @@ tests:
path: spec.template.spec.containers[0].readinessProbe
value:
httpGet:
host: 127.0.0.1
path: /healthz
port: 24483
initialDelaySeconds: 90
Expand All @@ -105,6 +108,7 @@ tests:
path: spec.template.spec.containers[0].readinessProbe
value:
httpGet:
host: 127.0.0.1
path: /healthz
port: 24483
initialDelaySeconds: 90
Expand Down

0 comments on commit d86d3be

Please sign in to comment.