GuidesChangelogDiscussions
Log In

Job YAML Specification

name: (string) Name of job
type: (string) (optional), default: Job
framework: (string) Framework name
description: (string) (optional), default: ""
containers: (array of key value)
    - name: (string) Job process name
  - image: (string) image to deploy as this job
  - command: (array of string) Commands to execute

Example

name: pi-job
type: Job
framework: myframework
description: "Pi job"
containers:
  - name: pi
    image: perl
    command:
      - "perl"
      - "-Mbignum=bpi"
      - "-wle"
      - "print bpi(2000)"

Deploying Job

ketch job deploy job.yaml