frostfs-dev-env/services/storage/healthcheck.sh
Alex Vanin 6e9236c8c5
[#179] Fix helathchecks in storage nodes (#183)
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-06-08 16:32:49 +03:00

5 lines
134 B
Bash
Executable file

#!/bin/sh
/neofs-cli control healthcheck -c /cli-cfg.yml \
--endpoint "$NEOFS_CONTROL_GRPC_ENDPOINT" |
grep "Health status: READY"