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 committed 2024-01-23 03:00:27 -05:00
1 parent 6b85374857
commit 8b8444fb1f
10 files changed
+833 -115

No files matched your search

+5 -3
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