Leo Meyerovich (Graphistry)
04/11/2020, 12:03 AMagent
/ executor
docker service?
I saw a feb 5 PR around some storage healthchecks, but not seeing docs for instrumented monitoring here. Ideally something curl-able, like,
healthcheck:
test: ["CMD-SHELL", "curl -sSf <http://prefect/health> | jq .code | grep 200 || exit 1"]
Chris White
Leo Meyerovich (Graphistry)
04/11/2020, 12:34 AMLeo Meyerovich (Graphistry)
04/11/2020, 12:36 AMDockerfile
, I see:
RUN prefect backend server
Leo Meyerovich (Graphistry)
04/11/2020, 12:37 AMprefect agent start
, but the intent here is operating the executor, not the agent)Leo Meyerovich (Graphistry)
04/11/2020, 12:38 AMexecutor
= task runner = backend server
, while agent
is a client interface for submitting a job... still learning the lingo!)Chris White
Leo Meyerovich (Graphistry)
04/11/2020, 1:03 AMprefect
installed, and afaict, prefect
will poll the central server for new tasks. We can make sure the docker container itself stays running, but not sure how to tell if prefect
gets wedged .Chris White
Leo Meyerovich (Graphistry)
04/11/2020, 1:06 AMRUN prefect backend server
. Ultimately these will be <http://rapids.ai|rapids.ai>
tasks + neural network stuff. We're not using prefect for its dask capabilities, just task dispatch & reporting.Leo Meyerovich (Graphistry)
04/11/2020, 1:07 AMLeo Meyerovich (Graphistry)
04/11/2020, 1:07 AMChris White
prefect backend server
doesn’t really do anything, it just updates your local user configuration to point to localhost:4200
for the API instead of CloudLeo Meyerovich (Graphistry)
04/11/2020, 1:08 AMChris White
Leo Meyerovich (Graphistry)
04/11/2020, 1:08 AMLeo Meyerovich (Graphistry)
04/11/2020, 1:09 AMChris White
supervisord
to manage the parent process running the agentLeo Meyerovich (Graphistry)
04/11/2020, 1:11 AMLeo Meyerovich (Graphistry)
04/11/2020, 1:12 AMChris White
Chris White
Leo Meyerovich (Graphistry)
04/11/2020, 1:13 AMChris White
Chris White
Leo Meyerovich (Graphistry)
04/11/2020, 1:14 AMChris White
Leo Meyerovich (Graphistry)
04/11/2020, 1:15 AMlocal agent
, right?Chris White
Leo Meyerovich (Graphistry)
04/11/2020, 1:27 AM