Hi Qian,
Thanks! You also know how/where to put the capabilities? I am struggling
with that.
-----Original Message-----
To: user
Subject: Re: Mesos task example json
Hi Marc,
Here is an example json that I use for testing:
{
"name": "test",
"task_id": {"value" : "test"},
"agent_id": {"value" : ""},
"resources": [
{"name": "cpus", "type": "SCALAR", "scalar": {"value": 1}},
{"name": "mem", "type": "SCALAR", "scalar": {"value": 128}}
],
"command": {
"value": "sleep 10"
},
"container": {
"type": "MESOS",
"mesos": {
"image": {
"type": "DOCKER",
"docker": {
"name": "busybox"
}
}
}
}
}
Regards,
Qian Zhang
On Sat, Oct 12, 2019 at 6:26 AM Marc Roos <[email protected]>
wrote:
Is there some example json available with all options for use with
'mesos-execute --task='