GithubHelp home page GithubHelp logo

metal-toolbox / fleet-scheduler Goto Github PK

View Code? Open in Web Editor NEW
0.0 5.0 0.0 86 KB

This service is responsible for executing jobs/tasks for Fleet

License: Other

Dockerfile 0.63% Makefile 13.18% Go 86.19%

fleet-scheduler's Introduction

Fleet Scheduler

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.

Standalone Usage

./fleet-scheduler <task> --config ./path/to/config.yaml

Usage within sandbox

Fleet Scheduler jobs can be created within the value.yaml file of the sandbox.

Each job requires a few values in order to function.

Creating new tasks

  • 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.

Creating new jobs

Explained in the sandbox README in the "Fleet Scheduler" section.

fleet-scheduler's People

Contributors

jakeschuurmans avatar renovate[bot] avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

fleet-scheduler's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update module github.com/spf13/viper to v1.19.0
  • Update goreleaser/goreleaser-action action to v6
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

dockerfile
Dockerfile
github-actions
.github/workflows/codeql-analysis.yml
  • actions/checkout v4
  • github/codeql-action v3
  • github/codeql-action v3
  • github/codeql-action v3
.github/workflows/push-pr-lint.yaml
  • actions/setup-go v5
  • actions/checkout v4
  • golangci/golangci-lint-action v4
  • actions/setup-go v5
  • actions/checkout v4
  • docker/setup-buildx-action v3
  • docker/build-push-action v5
  • anchore/scan-action v3
.github/workflows/release.yml
  • docker/login-action v3
  • actions/checkout v4
  • actions/setup-go v5
  • anchore/sbom-action v0.15.8
  • goreleaser/goreleaser-action v5
gomod
go.mod
  • go 1.20
  • github.com/adrg/xdg v0.4.0
  • github.com/coreos/go-oidc v2.2.1+incompatible
  • github.com/equinix-labs/otel-init-go v0.0.9
  • github.com/google/uuid v1.4.0
  • github.com/hashicorp/go-retryablehttp v0.7.5
  • github.com/metal-toolbox/conditionorc v1.0.3
  • github.com/metal-toolbox/fleetdb v0.16.9-0.20240214145248-f2a287db1df3@f2a287db1df3
  • github.com/metal-toolbox/rivets v0.2.2
  • github.com/pkg/errors v0.9.1
  • github.com/sirupsen/logrus v1.9.3
  • github.com/spf13/cobra v1.8.0
  • github.com/spf13/viper v1.17.0
  • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.48.0
  • golang.org/x/net v0.21.0
  • golang.org/x/oauth2 v0.17.0
  • golang.org/x/sync v0.5.0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.