Registered
struct RegisteredA registered pipeline, as the scheduler reads it from describe.
Implements Copyable, Movable
- Fields
name: Stringbinary: Stringregistry_hash: Stringsince: Int64cron: Stringtz: Stringfills: Stringcatchup: Boolkind: Stringstart: Stringmax_runs: Intrun_retries: Intretry_seconds: Int: The first retry's wait, doubling; 0 forORCA_RETRY_SECONDS.max_retry_seconds: Int: The longest wait between retries; 0 for no limit.sensor: Boolkeys_per_run: Intkeys_dataset: String: A keyed pipeline's keys dataset; empty for time partitions.image: String: The image its runs' pods run (orca register --image), or empty.workers: Int: Its cluster's dista workers; 0 if it has no tasks.head_type: String: On EC2, its runs' head instance type; empty for the default.worker_type: Stringspot: Bool: On EC2, whether its workers are Spot instances.min_workers: Int: On EC2, its runs' fewest workers, scaling up toworkers; equal toworkersfor a fixed count.secrets: List[Tuple[String, String]]: Its runs' secrets: environment variable and Secrets Manager ID.paused: Bool:orca pause: its runs are queued as ever, but none is started.worker_procs: Int: On EC2, the dista worker processes on each worker instance (orca register --worker-procs); 0 is one per vCPU.placement: String: Where its runs run (orca register --placement):control(the scheduler's host,orca.control),ec2, or empty for the scheduler's runner.env: List[Tuple[String, String]]: Its runs' own variables (envin orca.toml,orca.config), given to its runs alone, over thoseORCA_RUN_ENVnames.fill: Fill: How it fills its range by itself (orca.fill).cpus: String: The CPUs it asks for,NorMIN..MAX(orca.resources); empty for none.memory_gb: String: The memory it asks for, in GB; empty for none.memory_raised_mb: Int: What an out-of-memory kill raised its memory to (orca.cgroup), which its runs ask for at least; 0 for none.learn: Bool: Whetherautouses what its runs suggest (learnin orca.toml).learn_key: String: For a pipeline asking forauto, what a learned request now would be learned from: its latest successful run (and whether that's measured yet), its out-of-memory bump and its declared request; else empty.learned: Recommendation: The learned request cached inorca.pipelines.learned(its runs, memory and CPUs), learned fromlearned_key.learned_key: Stringmax_runs_auto: Bool:max_runs = "auto"(#266): as many runs at once as this host has room for,max_runsthe ceiling.
request
def request(self) -> Request As declared: auto not resolved (run_request does).