Skip to content

Commit

Permalink
Wait a bit for fluentd to be really up. (fluent#440)
Browse files Browse the repository at this point in the history
Signed-off-by: Paulo E. Castro <[email protected]>
  • Loading branch information
pecastro committed Nov 16, 2023
1 parent b3ce29f commit 71f6215
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions charts/fluentd/templates/tests/test-connection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "fluentd.fullname" . }}:24231/metrics']
command:
- sh
- -c
- |
# Give fluentd some time to start up
nc -z -w 5 {{ include "fluentd.fullname" . }}:24231
wget '{{ include "fluentd.fullname" . }}:24231/metrics'
restartPolicy: Never
{{ end }}

0 comments on commit 71f6215

Please sign in to comment.