In addition to using the Ketch CLI or external providers to manage jobs, you can also leverage a simplified Ketch definition that you can store in a YAML file.
Here is an application definition file example:
name: type: framework: description: containers: - name: - image: - command:
The name of the job.
The name of the framework/namespace where Ketch should deploy the job.
Description of the job you are deploying.
Array of key value
The job specification Ketch needs to create and run it.
The job process name.
The image to deploy as part of this job.
array of string
The commands to execute when deploying the job.
name: pi-job type: Job framework: myframework description: "Pi job" containers: - name: pi image: perl command: - "perl" - "-Mbignum=bpi" - "-wle" - "print bpi(2000)"
Use the command below in combination with your job definition file to have Ketch deploy your job:
ketch job deploy job.yaml
Updated 2 days ago