Jose Diaz-Gonzalez
46b6f446fd
feat: implement ps:stop for k3s scheduler
...
This simply scales down processes.
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
3137c457fa
fix: kill log tailing properly on ctrl+c
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
57b62f51d3
refactor: update log streaming so plugin triggers don't get abandoned on ctrl-c
...
We now propagate a cancellable context object on a new plugin trigger call that allows for signals to work as expected.
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
9c891563c3
feat: implement logs command for kubernetes
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
c2d1f80bc4
feat: implement app deletion
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
Jose Diaz-Gonzalez
6c234c66a3
fix: guard the initialize call if k3s is already installed
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
7101d1bf7b
fix: close the file before attempting to write it
...
Also remove the unnecessary sleep call
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
f377c23403
feat: setup k3s registry automatically on registry login
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
65d840e4bc
chore: stub out post-registry-login
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
ec538ce1c5
feat: implement scheduler-k3s:initialize
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
d6824c44c7
fix: correct plugin name
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
523d7bcf9e
chore: bump golang.org/x/sync from 0.5.0 to 0.6.0
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
3821d22b93
chore: write go.sum file
2024-01-23 03:00:27 -05:00
Jose Diaz-Gonzalez
a80c73fb2c
feat: create skeleton of k3s plugin
2024-01-23 03:00:27 -05:00