{
  "apiVersion": "batch/v1",
  "kind": "Job",
  "metadata": {
    "creationTimestamp": "2026-10-04T11:55:25Z",
    "generation": 1,
    "labels": {
      "app.kubernetes.io/name": "synthetic-event-aggregate",
      "app.kubernetes.io/part-of": "p09-data-lab"
    },
    "name": "synthetic-event-aggregate",
    "namespace": "de-secure-batch",
    "resourceVersion": "67978",
    "uid": "3314412f-8e3d-4092-a8e1-d2682feea996"
  },
  "spec": {
    "activeDeadlineSeconds": 120,
    "backoffLimit": 1,
    "completionMode": "NonIndexed",
    "completions": 1,
    "manualSelector": false,
    "parallelism": 1,
    "podReplacementPolicy": "TerminatingOrFailed",
    "selector": {
      "matchLabels": {
        "batch.kubernetes.io/controller-uid": "3314412f-8e3d-4092-a8e1-d2682feea996"
      }
    },
    "suspend": false,
    "template": {
      "metadata": {
        "labels": {
          "app.kubernetes.io/name": "synthetic-event-aggregate",
          "batch.kubernetes.io/controller-uid": "3314412f-8e3d-4092-a8e1-d2682feea996",
          "batch.kubernetes.io/job-name": "synthetic-event-aggregate",
          "controller-uid": "3314412f-8e3d-4092-a8e1-d2682feea996",
          "job-name": "synthetic-event-aggregate"
        }
      },
      "spec": {
        "automountServiceAccountToken": false,
        "containers": [
          {
            "args": [
              "/input/events.csv",
              "--expected-sha256",
              "16fba5fe45c3e02664f57bf27519cd1ad71fe6e070faf2c900451e54151a31e5"
            ],
            "image": "p09-secure-batch@sha256:a1c0a339acfb19cc62748e7bf17505422a42c70cb127e3f918349f0b9dd3c792",
            "imagePullPolicy": "Never",
            "name": "aggregate",
            "resources": {
              "limits": {
                "cpu": "250m",
                "memory": "128Mi"
              },
              "requests": {
                "cpu": "25m",
                "memory": "32Mi"
              }
            },
            "securityContext": {
              "allowPrivilegeEscalation": false,
              "capabilities": {
                "drop": [
                  "ALL"
                ]
              },
              "readOnlyRootFilesystem": true
            },
            "terminationMessagePath": "/dev/termination-log",
            "terminationMessagePolicy": "File",
            "volumeMounts": [
              {
                "mountPath": "/input",
                "name": "input",
                "readOnly": true
              }
            ]
          }
        ],
        "dnsPolicy": "ClusterFirst",
        "restartPolicy": "Never",
        "schedulerName": "default-scheduler",
        "securityContext": {
          "runAsGroup": 10001,
          "runAsNonRoot": true,
          "runAsUser": 10001,
          "seccompProfile": {
            "type": "RuntimeDefault"
          }
        },
        "serviceAccount": "batch-runner",
        "serviceAccountName": "batch-runner",
        "terminationGracePeriodSeconds": 30,
        "volumes": [
          {
            "configMap": {
              "defaultMode": 420,
              "name": "synthetic-events"
            },
            "name": "input"
          }
        ]
      }
    },
    "ttlSecondsAfterFinished": 3600
  },
  "status": {
    "completionTime": "2026-10-04T11:55:28Z",
    "conditions": [
      {
        "lastProbeTime": "2026-10-04T11:55:28Z",
        "lastTransitionTime": "2026-10-04T11:55:28Z",
        "message": "Reached expected number of succeeded pods",
        "reason": "CompletionsReached",
        "status": "True",
        "type": "SuccessCriteriaMet"
      },
      {
        "lastProbeTime": "2026-10-04T11:55:28Z",
        "lastTransitionTime": "2026-10-04T11:55:28Z",
        "message": "Reached expected number of succeeded pods",
        "reason": "CompletionsReached",
        "status": "True",
        "type": "Complete"
      }
    ],
    "ready": 0,
    "startTime": "2026-10-04T11:55:25Z",
    "succeeded": 1,
    "terminating": 0,
    "uncountedTerminatedPods": {}
  }
}
