Sign inSign up

wlezzar/segmentor-scheduler

By wlezzar

•Updated about 7 years ago

Image
0

2.0K

wlezzar/segmentor-scheduler repository overview

⁠Segmentor scheduler

⁠Quickstart
cat <<EOF | http http://localhost:8000/api/scheduler/v1/tasks | jq -r '.id' | xargs sh -c 'echo TASK_ID=$0' | sh
{
    "runtime": {
        "image": "wlezzar/java:8",
        "networkMode": "host",
        "cmd": [
            "bash",
            "-c",
            "sleep 3 && curl -XPOST -v -H \"Content-type: application/json\" -d '{\"hello\": \"world\"}' $RESPONSE_URL"
        ]
    },
    "config": {}
}
EOF

Tag summary

Content type

Image

Digest

Size

290.2 MB

Last updated

about 7 years ago

docker pull wlezzar/segmentor-scheduler