Skip to content

Commit

Permalink
add timeout to health check command
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Nov 2, 2023
1 parent 785ffe6 commit ce34360
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: mc ready local
test: timeout 5s mc ready local
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:
- mc ready local
- timeout 5s mc ready local
failureThreshold: 3
initialDelaySeconds: 10
periodSeconds: 10
Expand Down

0 comments on commit ce34360

Please sign in to comment.