Commit Graph
62 Commits
Author SHA1 Message Date
Jose Diaz-Gonzalez 632b26905a feat: use common labels instead of custom ones 2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez 86da40ba19 feat: add default-container annotation everywhere 2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez 8762bede07 feat: implement healthcheck support 2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez e4855941fe feat: allow for stable cron names
The cron id is too long to store in the cronjob, so we generate a short identifier and look that up each time on deploy to ensure stability across time.
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez 297853781f refactor: move all k8s code behind client
Also fix an issue where attaching to pods fails in rare cases
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez 277df036e9 feat: implement default resource limits for cron tasks 2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez 0127f836fa feat: implement cron jobs 2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez 8b8444fb1f 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.
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez 1e11ec3911 fix: setup all port maps correctly on service 2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez 2911218816 feat: add an annotations everywhere to ensure folks know what is managed by dokku 2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez 737f54a5c7 feat: implement dokku enter for k8s scheduler 2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez 6fb03eda4e feat: implement most of deployments
The big feature missing from deployments today is healthchecks, which require extra parsing of the app.json format since the healthchecks there aren't immediately serializable to kubernetes deployment healthchecks.

Other smaller missing functionality from the existing OSS kubernetes scheduler are:

- The ability to set custom pod annotations
- The ability to set custom deployment annotations
- The ability to mount volumes

Exposing these pieces of functionality will come at a later date, if at all.
2024-01-23 03:00:27 -05:00