feat: implement run and run:detached

This utilizes a Kubernetes Job to start a pod in order to take advantage of completed Job cleanup in Kubernetes. It also properly handles interactivity by ensuring the container has a TTY.

Note that there is currently no provision for parsing docker arguments and translating them into their Kubernetes equivalents.
This commit is contained in:
Jose Diaz-Gonzalez
2024-01-18 05:28:07 -05:00
parent 6b85374857
commit 8b8444fb1f
10 changed files with 833 additions and 115 deletions

View File

@@ -162,6 +162,9 @@ The following sections describe implemented and unimplemented scheduler function
This plugin implements various functionality through `plugn` triggers to integrate with Docker for running apps on a single server. The following functionality is supported by the `scheduler-docker-local` plugin.
- `apps:destroy`
- `run`
- The `scheduler-post-run` trigger is not always triggered
- `run:detached`
- `enter`
- `deploy`
- `logs`
@@ -171,15 +174,14 @@ This plugin implements various functionality through `plugn` triggers to integra
- `apps:clone`
- `apps:rename`
- `run:list`
- `run:logs`
- `ps:inspect`
- `run`
- `run:detached`
The following Dokku functionality is not implemented at this time.
- `cron`
- `vector` log integration
- one-off tasks
- persistent storage
- healthchecks