Fleet-Scheduler is a collection of tasks that can each be set up as jobs in order to automate many things.
A task is a set of functions that are executed in order to make changes to fleet services.
A job is a task that is set up to be executed on a schedule through a k8s cronjob.
./fleet-scheduler <task> --config ./path/to/config.yaml
Sandbox will include the helm chart by including it as a dependency in Chart.yaml
Fleet Scheduler jobs can be created within the value.yaml.
Each job requires a few values in order to function.
- Tasks need to be implemented in code within Fleet-Scheduler
- Tasks are implemented as cobra command line commands within /cmd
- Take a look at /cmd/inventory.go for a good example.
Jobs can be created within the Sandbox, or within values.yaml here.
Explained in the sandbox README.