Armada Job

This page will cover what fields available in the Job spec file you submit with armadactl submit.

It has the same structure as the API so will also be reflected in any code clients you use.

Below is an example file using all available config:

queue: example                            (1)
jobSetId: test                            (2)
jobs:
  - priority: 1000                        (3)
    namespace: example                    (4)
    clientId: 12345                       (5)
    labels:                               (6)
      example-label: "value"
    annotations:                          (7)
      example-annotation: "value"
    ingress:                              (8)
      - type: NodePort
        ports:
          - 5050
    podSpecs:                             (9)
      - containers:
        name: app
        imagePullPolicy: IfNotPresent
        image: vad1mo/hello-world-rest:latest
        securityContext:
          runAsUser: 1000
        resources:
          limits:
            memory: 1Gi
            cpu: 1
          requests:
            memory: 1Gi
            cpu: 1
        ports:
          - containerPort: 5050
            protocol: TCP
            name: http

Fields: