UpdateJob
Request Type: Job
Field |
Type |
Repeated |
Description |
job_id |
|||
description |
|||
tags |
✅ |
Free-form labels, searchable through JobFilter. Some keys are RESERVED — written by the Manager (bundle expansion) or the AutoManager, and silently overwritten if a client sets them: auto-manager "true" on every job under AutoManager control bundleId the bundle the job was expanded from replicaIndex 0 = primary, 1 = backup jobName the BundleJobSpec.job_name the job was expanded from startMode the BundleJobSpec.start_mode ("auto" / "manual") nodeService the node service the job implements (Phase F) * any key starting with two underscores is the AutoManager’s (e.g. stopDateTime) |
|
start_date_time |
google.protobuf.Timestamp |
||
current_hash |
|||
manager_configuration |
Read by the SDK as JSON for |
||
services |
✅ |
||
norsk_media_version |
|||
norsk_service_parameters |
|||
volumes |
✅ |
||
state |
|||
shape |
|||
architecture |
|||
subnet |
|||
availabilityDomain |
|||
write_files |
✅ |
||
norsk_cpu_list |
✅ |
||
auto_placement |
AutoManager v1 — present iff the job is under AutoManager’s bundle/placement control; absent for plain createJob. Existing SDK consumers ignore this field. |
||
product_template |
Product-template-shaped jobs (task 39). Both opaque to Manager — stored
and forwarded as-is to the worker. If |
||
product_template_parameters |
✅ |
Resolved env-var overrides for the product-template compose stack. Map shape — empty / absent are equivalent on the wire. |
|
terminal_state |
Durable terminal verdict written back by AutoManager (restart ceiling exceeded / bronze drop). Present ⇒ the job has fully failed and must not be re-placed; absent ⇒ no terminal verdict. Survives a daemon restart. |
||
launch_config_json |
Host/operator launch config for the product-template path, as the JSON encoding of norsk-ctl’s ProductTemplateLaunchConfig — two tiers carried separately so the worker’s fusion (the single merge implementation) combines template-author custom fields with operator intent itself rather than trusting a pre-merged blob. Opaque to Manager: stored and forwarded, validated by the worker’s zod schema at launch. |
||
template_launch_defaults_json |
|||
extra_security_groups |
✅ |
Extra security groups this job needs on whatever node it lands on (worker-security-groups.md): a node’s SG set is base ∪ extras(bound jobs). Labels as discovered from the SG tag, resolved to ids by the Manager at reconcile/provision time. |