example/testjob_unified.yaml (46 lines of code) (raw):
changelog: null
name: TestPelotonUnifiedContainerizerJob_123
owningteam: team6
ldapgroups:
- infra
- money
- otto
description: "A dummy test job for peloton on unified containerizer"
labels:
- key: testKey0
value: testVal0
- key: testKey1
value: testVal1
- key: testKey2
value: testVal2
instancecount: 1
sla:
priority: 22
minimuminstancecount: 12
minimuminstancepercent: 50
preemptible: false
defaultconfig:
resource:
cpulimit: 0.1
memlimitmb: 2.0
disklimitmb: 10
fdlimit: 10
healthcheck: null
ports: []
container:
type: 2 # mesos
mesos:
image:
type: 2 # docker
docker:
name: "debian"
volumes:
- containerpath: /test-tmp
hostpath: /tmp
mode: 1
- containerpath: /test-var
hostpath: /var
mode: 2
command:
shell: true
value: 'echo Hello'