Bundle
A bundle is a logical workload unit. See §3.5.
Field |
Type |
Repeated |
Description |
bundle_id |
|||
pool |
The pool this bundle’s primary jobs are placed into. The cost cascade (cheap → expensive) lives inside the pool as ordered tiers, not here. |
||
jobs |
✅ |
||
intra_replica_placement |
|||
resilience_policy |
When set, the bundle runs a primary + one backup (replica index 0 =
primary, 1 = backup); absent ⇒ primary only. Replaces the old
operator-set |
||
state |
Lifecycle state. Bundles created prior to this field’s introduction deserialise as LIVE (proto3 default). |
||
on_launch |
Whether this bundle’s FIRST placement may take a hot spare. Bundle-level rather than per-job: "get this on air now" is a decision about the production, not about one of its runtimes. Absent ⇒ AVOID_SPARE. |
||
stop_at |
google.protobuf.Timestamp |
Task 118: when the Manager deletes the bundle on its own. Honoured on CreateBundle; IGNORED on UpdateBundle, where the stored values are kept (set them with SetBundleStopTime / RenewBundleLease, which never touch the jobs). Absent ⇒ no stop time / no lease. |
|
lease |
On create only |
||
identity |
What the platform records about the production (norsk-ctl RFC 0007), for its runtimes' identity. Honoured on CreateBundle; IGNORED on UpdateBundle, where the stored value is kept. Protocol 1.8. |
Argument of
Method |
Description |
Bundle CRUD. AutoManager submits a bundle; Manager validates it, persists it, expands it into N replica jobs, and emits BundleUpdated. |
|