CreateBundle

Bundle CRUD. AutoManager submits a bundle; Manager validates it, persists it, expands it into N replica jobs, and emits BundleUpdated.

Request Type: Bundle

A bundle is a logical workload unit. See §3.5.

Field

Type

Repeated

Description

bundle_id

BundleId

pool

string

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

BundleJobSpec

intra_replica_placement

IntraReplicaRules

resilience_policy

ResiliencePolicy

When set, the bundle runs a primary + one backup (replica index 0 = primary, 1 = backup); absent ⇒ primary only. Replaces the old operator-set replicas count and inter_replica_placement.

state

BundleState

Lifecycle state. Bundles created prior to this field’s introduction deserialise as LIVE (proto3 default).

on_launch

OnLaunch

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.

Response Type: CreateBundleResponse

AutoManager bundle-management RPCs (carry-over messages).

Field

Type

Repeated

Description

bundle_id

BundleId