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
in https://github.com/opiproject/opi-poc/blob/main/storage/Dockerfile
HEALTHCHECK CMD curl --fail --insecure --user spdkuser:spdkpass -X POST -H 'Content-Type: application/json' -d '{\"id\": 1, \"method\": \"bdev_get_bdevs\"}' http://localhost:9009 || exit 1
in addition to what we have in compose
healthcheck: test: ["CMD-SHELL", "curl --fail --insecure --user spdkuser:spdkpass -X POST -H 'Content-Type: application/json' -d '{\"id\": 1, \"method\": \"bdev_get_bdevs\"}' http://localhost:9009 || exit 1"] interval: 6s retries: 5 start_period: 20s timeout: 10s
check via
$ docker inspect --format='{{json .State.Health.Status}}' opi-spdk | jq "healthy"
The text was updated successfully, but these errors were encountered:
add healthcheck to spdk dockerfile
9ca5536
Fixes opiproject#144 Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
2a344cc
Fixes #144 Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
glimchb
Successfully merging a pull request may close this issue.
in https://github.com/opiproject/opi-poc/blob/main/storage/Dockerfile
in addition to what we have in compose
check via
The text was updated successfully, but these errors were encountered: