You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#17 covers one-shot Kubernetes Jobs (role: job). Many batch workloads need a schedule (nightly cleanup, reports). The Deployah chart already has CronJob scaffolding, but nothing maps a first-class schedule into a deployable CronJob, and #17 explicitly keeps CronJob out of scope.
Goals
Spec can express a scheduled job that renders a Kubernetes CronJob.
Reuse job container fields (image, command/args, resources, profiles) from the job path.
Platform/plan/scenarios cover CronJob manifests.
Clear validation for cron schedule and concurrency policy.
Problem
#17 covers one-shot Kubernetes Jobs (
role: job). Many batch workloads need a schedule (nightly cleanup, reports). The Deployah chart already has CronJob scaffolding, but nothing maps a first-class schedule into a deployable CronJob, and #17 explicitly keeps CronJob out of scope.Goals
image,command/args, resources, profiles) from the job path.scheduleand concurrency policy.Non-goals
Proposed design
User experience
Either extend
role: jobwith a schedule field, or keep schedule as the CronJob discriminator:Rule of thumb (align with #17):
schedule→ Job (proposal: support role: job workloads #17)scheduleset → CronJob (this issue)Wire the chart CronJob template to the main component image/command/resources path (today it is a stub expecting hand-built
cronjob.containers).Behavior
expose,health,autoscaling).batch/v1CronJob (standard).Alternatives considered
role: cron. Clearer controller name; more roles to teach. Preferjob.scheduleunless review prefers a new role.Compatibility and migration
Test plan
Checklist