chaostoolkit-incubator / kubernetes-crd

Kubernetes CRD for the Chaos Toolkit

Home Page:https://chaostoolkit.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Schedule & repeat an experiment

dmartin35 opened this issue · comments

We could leverage the K8s cronjob to create schedulable / repeatable experiments.

We could add a new block in the CTK object definition to indicate a cron-like scheduling

  • very simple definition (similar to K8s CrobJob schedule definition)
spec:
  schedule: "*/1 * * * *"
  • More complex structure (more easily extensible)
spec:
  schedule:
    enabled: true
    kind: cronJob
    value: "*/1 * * * *"

Do we want to also schedule at a particular day/time ?

PR merged, closing issue