We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
canary validate fails if the container takes more than 10 seconds to start up.
canary validate
That 10 second threshold is currently hard-coded.
container-canary/internal/container/docker.go
Lines 76 to 82 in a4f5c79
That timeout should be configurable.
Would allow the use of canary validate with images that take longer than 10 seconds to start up, for example:
Modify this
such that that 10 second timeout can be altered via configuration.
For example, I'd like to be able to run the following:
canary validate \ --file ./checks.yaml \ --startup-timeout 30 \ ${IMAGE_URI}
Created this after observing this exact timeout while testing RAPIDS images over in rapidsai/docker#670.
The text was updated successfully, but these errors were encountered:
Yup this sounds great!
Sorry, something went wrong.
jameslamb
Successfully merging a pull request may close this issue.
Description
canary validate
fails if the container takes more than 10 seconds to start up.That 10 second threshold is currently hard-coded.
container-canary/internal/container/docker.go
Lines 76 to 82 in a4f5c79
That timeout should be configurable.
Benefits of this work
Would allow the use of
canary validate
with images that take longer than 10 seconds to start up, for example:Acceptance Criteria
canary validate
waits for a container to start up before timing outApproach
Modify this
container-canary/internal/container/docker.go
Lines 76 to 82 in a4f5c79
such that that 10 second timeout can be altered via configuration.
For example, I'd like to be able to run the following:
canary validate \ --file ./checks.yaml \ --startup-timeout 30 \ ${IMAGE_URI}
Notes
Created this after observing this exact timeout while testing RAPIDS images over in rapidsai/docker#670.
The text was updated successfully, but these errors were encountered: