CreateJob

Request Type: Job

Field

Type

Repeated

Description

job_id

JobId

description

string

tags

Job.TagsEntry

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

int64

manager_configuration

string

Read by the SDK as JSON for autoConfig.cloud (Job.cloud inference); otherwise opaque. Nothing on the worker path carries it.

services

Service

norsk_media_version

Version

norsk_service_parameters

ServiceParameters

volumes

string

state

Job.JobState

shape

string

architecture

string

subnet

string

availabilityDomain

string

write_files

WriteFile

norsk_cpu_list

uint32

auto_placement

AutoPlacement

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

ProductTemplateRef

Product-template-shaped jobs (task 39). Both opaque to Manager — stored and forwarded as-is to the worker. If product_template is set, the worker launches via the product-template path; otherwise the legacy services/volumes path runs unchanged.

product_template_parameters

Job.ProductTemplateParametersEntry

Resolved env-var overrides for the product-template compose stack. Map shape — empty / absent are equivalent on the wire.

terminal_state

JobTerminalState

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

OptionalString

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

OptionalString

extra_security_groups

string

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.

Response Type: JobHash

Field

Type

Repeated

Description

hash

int64