@lde/task-runner-http
v0.2.0
Published
Run tasks in another container of the same pod, such as a sidecar with its own memory limit, through a task agent on 127.0.0.1.
Readme
@lde/task-runner-http
Run tasks in another container of the same pod, such as a sidecar with its own image and memory limit, through a task agent that listens on 127.0.0.1. The agent ships as a single executable in ghcr.io/ldelements/task-runner-http.
Installation
npm install @lde/task-runner-httpimport { HttpTaskRunner } from '@lde/task-runner-http';
const runner = new HttpTaskRunner({ cwd: '/data' });
const output = await runner.wait(await runner.run('ls'));Documentation
See the full documentation.
