You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Dave Harvey <dh...@jobcase.com> on 2018/07/17 15:37:34 UTC
Docker Healthcheck command recommendation
Any suggestions on an appropriate HEALTHCHECK command to use in an IGNITE
docker container?
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: Docker Healthcheck command recommendation
Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!
You could also add ignite-rest-http module and call some rest endpoint as
Healthcheck, such as version or cache read:
https://apacheignite.readme.io/docs/rest-api#version
Regards,
--
Ilya Kasnacheev
2018-07-17 18:37 GMT+03:00 Dave Harvey <dh...@jobcase.com>:
> Any suggestions on an appropriate HEALTHCHECK command to use in an IGNITE
> docker container?
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>
RE: Docker Healthcheck command recommendation
Posted by Stanislav Lukyanov <st...@gmail.com>.
I’d look into calling control.sh or ignitevisorcmd.sh and parsing their output.
E.g. check that control.sh --cache can connect to the local node and return one of your caches.
However, this check is not purely for the local node, as the command will connect to the cluster as a whole.
A more localized check would be to see if the Ignite’s JVM is running via jps.
Thanks,
Stan
From: Dave Harvey
Sent: 17 июля 2018 г. 18:37
To: user@ignite.apache.org
Subject: Docker Healthcheck command recommendation
Any suggestions on an appropriate HEALTHCHECK command to use in an IGNITE
docker container?
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/