ot;\(.name) \(.state) \(.slave_id)" '
-Original Message-----
To: user
Subject: Re: Task list node
You can just mimic UI behaviour and use /state endpoint and filter it
with jq.
wt., 1 paź 2019 o 13:56 Marc Roos napisał(a):
Hmmm, if do something like this[
est:xxx --cacert /etc/pki/ca-trust/source/ca-test.crt -X
> GET https://m01.local:5050/master/tasks | jq '.tasks[] |
> select(.state=="TASK_RUNNING") | del(.statuses, .discovery,
> .health_check, .container) | "\(.name) \(.state) \(.slave_id)" '
>
>
&
tatuses, .discovery,
.health_check, .container) | "\(.name) \(.state) \(.slave_id)" '
-----Original Message-
To: user
Subject: Re: Task list node
You can list them with agent containers endpoint
http://mesos.apache.org/documentation/latest/endpoints/slave/containers/
Or with ma
You can list them with agent containers endpoint
http://mesos.apache.org/documentation/latest/endpoints/slave/containers/
Or with master tasks endpoint and filter them localy with jq
http://mesos.apache.org/documentation/latest/endpoints/master/tasks/
czw., 26 wrz 2019 o 22:09 Marc Roos napisał(a
What would be the easiest way to list running tasks on a
node/agent/slave?
5 matches
Mail list logo