Skip to content

Commit

Permalink
test(smoketest): update minio healthcheck to not require 'curl' in co…
Browse files Browse the repository at this point in the history
…ntainer
  • Loading branch information
andrewazores committed Nov 1, 2023
1 parent 446493e commit cea5f8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion smoketest/compose/s3-minio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:
kompose.service.expose: "minio"
restart: always
healthcheck:
test: curl --fail http://localhost:9001 || exit 1
test: timeout 5s bash -c ':> /dev/tcp/127.0.0.1/9001' || exit 1
interval: 10s
retries: 3
start_period: 10s
Expand Down
2 changes: 1 addition & 1 deletion smoketest/k8s/s3-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
livenessProbe:
exec:
command:
- curl --fail http://localhost:9001 || exit 1
- timeout 5s bash -c ':> /dev/tcp/127.0.0.1/9001' || exit 1
failureThreshold: 3
initialDelaySeconds: 10
periodSeconds: 10
Expand Down

0 comments on commit cea5f8c

Please sign in to comment.