Pods and workloadsLesson 7 of 7
  1. Pod anatomy, not reconciled
  2. Pod lifecycle, restarts and termination, not reconciled
  3. Init containers and native sidecars, not reconciled
  4. Probes: startup, readiness and liveness, not reconciled
  5. Deployments and rolling updates, not reconciled
  6. DaemonSets, not reconciled
  7. Jobs and CronJobs, not reconciled
    1. Job basics
    2. Indexed Jobs
    3. Retry control
    4. successPolicy (GA 1.33)
    5. podReplacementPolicy (GA 1.34)
    6. CronJobs
    7. Suspend and hand off
    8. Beyond Jobs

Jobs and CronJobs

A Job runs pods until enough of them succeed and decides what a failure costs; a CronJob creates Jobs on a schedule in a time zone you name.

  • 24 min
  • 4 objectives
  • 8 scenes

Shows the lesson one block at a time. Arrow keys step, number keys jump to a scene, and Escape returns to the page where you were.

Deployments and DaemonSets restart a pod whenever it stops, because their pods are supposed to run forever. Batch work is the opposite: a migration, a report or a render is supposed to finish, and the interesting questions are how many pieces of it must succeed, how many can run at once, and how much failure is worth retrying. A JobA workload controller that creates pods until a set number of them succeed, retrying failures up to a limit, and then records the Job as Complete or Failed. answers those questions, and a CronJob creates Jobs on a schedule.

Reconcile, in 8 scenes

Job basics

The Job controller creates pods from the template, counts each pod that exits successfully, and creates replacements for pods that fail. The template’s restartPolicy must be OnFailure or Never; Always is rejected, since a pod that always restarts can never finish. Two fields shape the work:

PatterncompletionsparallelismComplete when
One taskunset (1)unset (1)one pod succeeds
Fixed countNhow many at onceN pods have succeeded
Work queueunsetnumber of workersat least one pod has succeeded and all pods have terminated

The work-queue pattern trips people up. Once any pod succeeds, the controller treats the queue as drained and creates no new pods, so each worker must exit 0 only when it finds no more work, and must cope with others still finishing.

Two more fields bound a Job in time. activeDeadlineSeconds limits how long the Job may be active; when it passes, the running pods are terminated and the Job fails with reason DeadlineExceeded, and it takes precedence over any retries left. ttlSecondsAfterFinished asks the TTL-after-finished controller to delete the Job, and its pods with it, that many seconds after it finishes. Leave it unset and finished Jobs stay until you delete them.

apiVersion: batch/v1
kind: Job
metadata:
  name: thumbnails
spec:
  completions: 6
  parallelism: 3
  backoffLimit: 6
  activeDeadlineSeconds: 900
  ttlSecondsAfterFinished: 3600
  template:
    spec:
      restartPolicy: Never
      containers:
        - name: resize
          image: busybox:1.37
          command: ["sh", "-c", "echo resizing one batch; sleep 10"]
Six completions, three at a time
kubectl apply -f thumbnails.yamljob.batch/thumbnails createdkubectl get job thumbnailsNAME         STATUS    COMPLETIONS   DURATION   AGE
thumbnails   Running   0/6           8s         8skubectl get pods -l job-name=thumbnailsNAME               READY   STATUS    RESTARTS   AGE
thumbnails-7nlds   1/1     Running   0          8s
thumbnails-c6jfl   1/1     Running   0          8s
thumbnails-xfkpw   1/1     Running   0          8skubectl get job thumbnailsNAME         STATUS     COMPLETIONS   DURATION   AGE
thumbnails   Complete   6/6           24s        38s

The controller tracks pods carefully. Each pod carries the batch.kubernetes.io/job-tracking finalizer until it has been counted, so the Job’s succeeded and failed totals survive pod deletion. In Kubernetes 1.31 and later the controller first sets an interim condition, SuccessCriteriaMet or FailureTarget, and adds the terminal Complete or Failed condition only after every pod has terminated. Apart from scheduling directives and resources on a suspended Job, the pod template is immutable once the Job exists; to change the work, create a new Job.

A helper running as an ordinary second container keeps a Job from finishing: a log shipper never exits, so the pod never succeeds. Run it as a native sidecar instead, an init container with restartPolicy: Always, GA in Kubernetes 1.33 and on by default since 1.29. A native sidecar starts before the main container, runs beside it, and is stopped by the kubelet once the main container exits, so it does not block Job completion.

Indexed Jobs

With completionMode: Indexed, each pod gets a completion index from 0 to completions - 1, and the Job is complete when every index has one successful pod. A pod can read its index from the JOB_COMPLETION_INDEX environment variable, the batch.kubernetes.io/job-completion-index annotation, and in Kubernetes 1.28 and later a label of the same name. Its hostname is <job-name>-<index>, so with a headless Service the pods of a Job can find each other, which is how distributed training and MPI jobs coordinate. The index suits sharded work: shard i of the input, partition i of a table.

apiVersion: batch/v1
kind: Job
metadata:
  name: shard
spec:
  completionMode: Indexed
  completions: 4
  parallelism: 2
  template:
    spec:
      restartPolicy: Never
      containers:
        - name: shard
          image: busybox:1.37
          command: ["sh", "-c", "echo processing shard $JOB_COMPLETION_INDEX of 4; sleep 5"]
One pod per index
kubectl apply -f shard.yamljob.batch/shard createdkubectl get pods -l job-name=shard -L batch.kubernetes.io/job-completion-indexNAME            READY   STATUS      RESTARTS   AGE   JOB-COMPLETION-INDEX
shard-0-c6jfl   0/1     Completed   0          20s   0
shard-1-xfkpw   0/1     Completed   0          20s   1
shard-2-llvhx   0/1     Completed   0          12s   2
shard-3-xrqdr   0/1     Completed   0          12s   3kubectl get job shard -o jsonpath='{.status.completedIndexes}'0-3

Pod names include the index, and status.completedIndexes lists finished indexes as ranges. parallelism can change on a running Job. Indexed Jobs are also elastic, GA in 1.31: change parallelism and completions together, keeping them equal, to add or remove indexes; scaling down removes the highest ones.

Retry control

backoffLimit (default 6) is how many failures the Job absorbs before it is marked Failed with reason BackoffLimitExceeded. What counts as a failure depends on the restart policy. With Never, every pod that ends in phase Failed counts, and a replacement pod is created after an exponential delay of 10 s, 20 s, 40 s and so on, capped at ten minutes. With OnFailure, the kubelet restarts the container inside the same pod and each restart counts; when the limit is reached, the controller terminates that pod.

This migration exits 3 every time, and backoffLimit: 2 allows two retries after the first attempt:

apiVersion: batch/v1
kind: Job
metadata:
  name: migrate
spec:
  backoffLimit: 2
  template:
    spec:
      restartPolicy: Never
      containers:
        - name: migrate
          image: busybox:1.37
          command: ["sh", "-c", "echo applying schema 42; sleep 2; exit 3"]
Three attempts, then the Job gives up
kubectl apply -f migrate.yaml
job.batch/migrate created
kubectl get job migrate
NAME      STATUS   COMPLETIONS   DURATION   AGE
migrate   Failed   0/1           60s        60s
kubectl get pods -l job-name=migrate
NAME            READY   STATUS   RESTARTS   AGE
migrate-c6jfl   0/1     Error    0          60s
migrate-llvhx   0/1     Error    0          21s
migrate-tw7ph   0/1     Error    0          45s
kubectl events --for job/migrate
LAST SEEN   TYPE      REASON                 OBJECT        MESSAGE
60s         Normal    SuccessfulCreate       Job/migrate   Created pod: migrate-c6jfl
45s         Normal    SuccessfulCreate       Job/migrate   Created pod: migrate-tw7ph
21s         Normal    SuccessfulCreate       Job/migrate   Created pod: migrate-llvhx
19s         Warning   BackoffLimitExceeded   Job/migrate   Job has reached the specified backoff limit

Never keeps each failed attempt as a pod whose logs you can read. OnFailure uses fewer pods but leaves you only the current container’s logs and the previous one’s, and terminates the pod at the limit.

A single backoffLimit is too blunt for two common cases, and two GA fields refine it.

Per-index budgets. In an Indexed Job, backoffLimitPerIndex (GA in 1.33) gives every index its own failure budget. An index that exhausts it is recorded in status.failedIndexes while the other indexes keep running, and the Job is marked Failed once everything has finished. maxFailedIndexes stops the whole Job early once too many indexes have failed. When you set a per-index limit, backoffLimit defaults to the largest 32-bit integer, so the per-index budget is the one that bites.

Failure policy. podFailurePolicy (GA in 1.31) decides per failure whether it is worth retrying. Its rules are checked in order and the first match wins:

apiVersion: batch/v1
kind: Job
metadata:
  name: import-orders
spec:
  backoffLimit: 4
  podFailurePolicy:
    rules:
      - action: FailJob
        onExitCodes:
          containerName: importer
          operator: In
          values: [42]
      - action: Ignore
        onPodConditions:
          - type: DisruptionTarget
  template:
    spec:
      restartPolicy: Never
      containers:
        - name: importer
          image: ghcr.io/kx-labs/worker:1.0

Exit code 42 means bad input here, so FailJob fails the Job at once and terminates its other pods instead of spending four retries on a certain failure. Ignore replaces a pod that failed because of a disruption, such as preemption, eviction or a node drain, which Kubernetes marks with the DisruptionTarget condition, without counting it against backoffLimit. Count applies the default handling, and FailIndex marks just the current index failed when used with backoffLimitPerIndex. A failure that matches no rule is counted normally. A pod failure policy requires restartPolicy: Never, and the API rejects any other value: the rules judge pods in phase Failed, and with OnFailure a container that exits non-zero is restarted inside the same pod instead of failing it.

successPolicy (GA 1.33)

Some Indexed Jobs are done before every index succeeds. In a leader and workers layout, the leader’s success means the computation is finished; in a search, a few successful shards are enough. successPolicy states that:

apiVersion: batch/v1
kind: Job
metadata:
  name: train
spec:
  completionMode: Indexed
  completions: 5
  parallelism: 5
  successPolicy:
    rules:
      - succeededIndexes: "0"
  template:
    spec:
      restartPolicy: Never
      containers:
        - name: trainer
          image: ghcr.io/kx-labs/worker:1.0

A rule can list succeededIndexes, set a succeededCount, or both, in which case that many of the listed indexes must succeed. When a rule is met, the Job gets the SuccessCriteriaMet condition with reason SuccessPolicy, the controller terminates the pods still running, and the Job becomes Complete. successPolicy applies only to Indexed Jobs.

podReplacementPolicy (GA 1.34)

By default the controller creates a replacement as soon as a pod fails or starts terminating, for example after an eviction or preemption, so a terminating pod and its replacement can run side by side for the length of the grace period. That is policy TerminatingOrFailed. With podReplacementPolicy: Failed, the controller waits until the old pod has fully terminated, reached phase Failed, before creating the replacement. Use it when two copies must never overlap: a training framework that breaks with a duplicate worker, or a pod holding an exclusive device or lock. The Job’s status.terminating counts the pods still shutting down. When a Job has a podFailurePolicy, Failed is the default and the only value allowed, because the policy needs the final state of the pod.

CronJobs

A CronJob creates a Job from its jobTemplate each time its schedule comes round, and the Job creates the pods. The schedule is five cron fields (minute, hour, day of month, month, day of week) or a macro such as @hourly or @daily.

apiVersion: batch/v1
kind: CronJob
metadata:
  name: nightly-report
spec:
  schedule: "30 2 * * *"
  timeZone: Europe/Berlin
  concurrencyPolicy: Forbid
  startingDeadlineSeconds: 300
  successfulJobsHistoryLimit: 3
  failedJobsHistoryLimit: 1
  jobTemplate:
    spec:
      backoffLimit: 2
      ttlSecondsAfterFinished: 86400
      template:
        spec:
          restartPolicy: OnFailure
          containers:
            - name: report
              image: busybox:1.37
              command: ["sh", "-c", "echo building the nightly report; sleep 20"]

timeZone takes an IANA name and has been GA since Kubernetes 1.27, so every supported version has it. Without it, the kube-controller-manager reads the schedule in its own local time zone. Putting CRON_TZ= or TZ= inside the schedule has never been supported, and the API rejects it.

Time zones go in their own field
kubectl apply -f nightly-report-tz.yaml
The CronJob "nightly-report" is invalid: spec.schedule: Invalid value: "CRON_TZ=Europe/Berlin 30 2 * * *": cannot use TZ or CRON_TZ in schedule, use timeZone field instead
kubectl apply -f nightly-report.yaml
cronjob.batch/nightly-report created
kubectl get cronjob nightly-report
NAME             SCHEDULE     TIMEZONE        SUSPEND   ACTIVE   LAST SCHEDULE   AGE
nightly-report   30 2 * * *   Europe/Berlin   False     0        <none>          0s
kubectl create job report-manual --from=cronjob/nightly-report
job.batch/report-manual created
kubectl get jobs
NAME            STATUS     COMPLETIONS   DURATION   AGE
report-manual   Complete   1/1           23s        30s
kubectl logs job/report-manual
building the nightly report

concurrencyPolicy decides what happens when a run comes due while the previous Job is still active:

PolicyBehaviour
Allow (default)Starts the new Job alongside the old one
ForbidSkips the new run; the skipped run counts as missed
ReplaceDeletes the running Job and starts the new one

A run is missed when its Job was not created on time, for example because Forbid skipped it or the controller was down. startingDeadlineSeconds is how late a run may still start; without it, a missed run can start at any time later, which is why a Forbid CronJob often starts a late run the moment a slow Job finishes. If more than 100 runs were missed, the controller records a TooManyMissedTimes warning and still starts only the most recent one.

The rest of the spec is housekeeping. The history limits keep the 3 most recent successful and 1 most recent failed Job by default. Each Job is named after the CronJob, a hyphen and its scheduled time in minutes since the Unix epoch. The controller reserves 11 characters for that suffix and a Job name may be at most 63, which is why a CronJob name may be at most 52 characters. Editing a CronJob changes only Jobs created afterwards. Kubernetes creates a Job approximately once per scheduled time, and in rare cases twice or not at all, so make the work idempotent. kubectl create job --from=cronjob/<name> runs the template once on demand.

Suspend and hand off

spec.suspend: true pauses both kinds of object, differently. A suspended Job terminates its running pods with SIGTERM and creates no new ones; when it resumes, status.startTime resets, so activeDeadlineSeconds counts from the resume. Creating a Job suspended is how queueing systems such as Kueue hold work until capacity is free. A suspended CronJob creates no new Jobs but leaves running ones alone. Runs that fall due while it is suspended count as missed, so on unsuspend a CronJob without startingDeadlineSeconds starts the most recent missed run immediately.

spec.managedBy (GA in 1.35) hands a Job to another controller. Set it to any value other than kubernetes.io/job-controller when you create the Job, and the built-in Job controller leaves it alone; the field is immutable. Multi-cluster dispatchers such as MultiKueue use it: the Job is created in a management cluster, a copy runs its pods in a worker cluster, and the dispatcher writes the status back to the original.

Beyond Jobs

Jobs give you one template with retries. Multi-step pipelines, where step B needs step A’s output, are built on top of pods by workflow engines; the Argo projects are a common pair.

Argo Workflows (the 4.x line; v4.1.6 was released on 2026-10-22) defines a Workflow custom resource whose templates form steps or a DAG, each step running as a pod.

  • Install a specific release rather than whatever is newest. Since 4.0 the release manifests carry full-validation CRDs, which must be applied with server-side apply (kubectl apply --server-side).
  • Emissary is the only executor. The service account a workflow’s pods use needs create and patch on workflowtaskresults.argoproj.io, which is how each step reports its outputs.
  • Artifacts need a repository. A ConfigMap named artifact-repositories is read by default only if it carries the workflows.argoproj.io/default-artifact-repository annotation naming the data key to use; otherwise reference one with spec.artifactRepositoryRef or set artifactRepository in the workflow-controller-configmap.
  • Script steps run in ordinary images, so keep them on supported runtimes such as python:3.13 or python:3.14; Python 3.9 reached end of life on 2025-10-31.

Argo Events (v1.9.11 was released on 2026-07-13) connects outside events to triggers that create workflows or other objects: an EventSource receives events, an EventBus carries them, and a Sensor applies dependencies and filters and fires triggers. It installs from the project’s install.yaml manifest, with an optional validating webhook; pin a release tag for production.

  • Use a JetStream EventBus (spec.jetstream) or Kafka. The native NATS Streaming EventBus is deprecated, and NATS Streaming itself reached end of life in June 2023.
  • There is no S3 EventSource. Bucket notifications from S3 go to SQS or SNS and are consumed by the sqs or sns EventSource, with the object key at body.Records.0.s3.object.key; the bucket-shaped EventSource is for MinIO.
  • Expression filters (exprs) are evaluated with govaluate, not CEL. Each fields entry maps a plain identifier to a gjson path, such as name: author with path: body.commits.0.author.name, and the expression uses the identifier.
  • Pass secrets to HTTP triggers with secureHeaders and a secretKeyRef; there is no secret templating in header values. A rateLimit unit is Second, Minute or Hour.
  • On a Kubernetes-object trigger, policy.k8s decides whether the created object succeeded by polling its labels with a backoff; retrying a failed trigger is retryStrategy. The argoWorkflow trigger’s operations are submit, submit-from, resubmit, resume, retry, suspend, terminate and stop.
  • A webhook EventSource with spec.service set gets its Service from the controller; you add only the Ingress, Gateway route or load balancer that exposes it.

Run batch work on your cluster

  1. kubectl --context kind-kx create job hello --image=busybox:1.37 -- echo hello from a Job
  2. kubectl --context kind-kx get job hello
  3. kubectl --context kind-kx logs job/hello
  4. kubectl --context kind-kx create cronjob tick --image=busybox:1.37 --schedule='*/1 * * * *' -- date
  5. kubectl --context kind-kx get cronjob,jobs
  6. kubectl --context kind-kx delete cronjob tick
  7. kubectl --context kind-kx delete job hello

For your own kind cluster kx: copy a command and paste it into your terminal. Run in the simulator runs the same command in this page's simulated cluster instead; nothing on this page touches your machine. Wait a minute or two after creating the CronJob: each minute adds a Job named tick- followed by the scheduled time in Unix minutes.

Actual state

Check your understanding

5 checks

Your first answer to each check is the one that counts. After a miss you can answer again; passing every check reconciles the lesson.

  1. Check 1 of 5

    A Job sets parallelism: 4 and leaves completions unset, so its workers pull items from a queue. When is the Job complete?

  2. Check 2 of 5

    One shard of an Indexed Job keeps crashing on a corrupt input file. Which setting lets the other shards finish while that index gives up after three retries?

  3. Check 3 of 5

  4. Check 4 of 5

    A CronJob must run at 02:30 Berlin time all year round. Which spec does that?

  5. Check 5 of 5

    A Job has backoffLimit: 6 and activeDeadlineSeconds: 120. Its pods fail twice, and the 120 seconds run out during the backoff before the third attempt. What happens?

Lesson not yet reconciled

Desired: 4 objectives, 0 metReconciled: 4 of 4 objectives met

  • Configure completions, parallelism and Indexed completion mode for a batch workload. (not yet met)
  • Stop wasted retries with backoffLimit, backoffLimitPerIndex and podFailurePolicy. (not yet met)
  • Declare early success with successPolicy. (not yet met)
  • Schedule a CronJob in a named time zone with a safe concurrencyPolicy. (not yet met)

Pass every check above to reconcile this lesson.

Every check has passed, so the desired state is met. First-try accuracy: 0 of 5. This lesson's review cards are in your queue.

Practice

Put this lesson to work on the simulated cluster. Everything runs in your browser, with nothing to install.

Changed since the notes

This lesson draws on an earlier set of study notes. Where the documentation contradicts a claim in them, qualifies it or has moved past it, the claim is listed here with the corrected statement and the source it was checked against.

Show 19 corrections
  1. Stale, true once, no longerDaemonSets, Jobs, and CronJobs

    The notes said'use the newer timeZone field (if your cluster version supports it)'

    CorrectedCronJob spec.timeZone has been GA since 1.27 (gate removed 1.29), so every EKS-supported version (1.31 to 1.37) has it; drop the hedge. Values are IANA names such as Etc/UTC; CRON_TZ/TZ inside the schedule string are not supported.

    Sourcekubernetes.io/docs/concepts/workloads/controllers/cron-jobs#time-zones;%20https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/

  2. Stale, true once, no longerDaemonSets, Jobs, and CronJobs

    The notes said'DaemonSet pods bypass the normal scheduler by default in older Kubernetes versions'

    CorrectedHistorical only: ScheduleDaemonSetPods went GA in 1.17 and the gate was removed in 1.18. DaemonSet pods are scheduled by kube-scheduler using node affinity that the DaemonSet controller injects. Frame it as history or drop it.

    Sourcekubernetes.io/docs/reference/command-line-tools-reference/feature-gates

  3. Stale, true once, no longerDaemonSets, Jobs, and CronJobs

    The notes saidJob features limited to completions/parallelism/backoffLimit/ttl

    CorrectedCurrent GA Job features beyond the basics: podFailurePolicy (GA 1.31), backoffLimitPerIndex with Indexed Jobs (GA 1.33), successPolicy (GA 1.33) and podReplacementPolicy (GA 1.34). All are GA on EKS 1.34 to 1.37; on 1.31 to 1.33 the later ones are beta.

    Sourcekubernetes.io/docs/concepts/workloads/controllers/job/;%20https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates

  4. Stale, true once, no longerDaemonSets, Jobs, and CronJobs

    The notes saidSidecar handling in Jobs is unaddressed

    CorrectedNative sidecar containers (an initContainer with restartPolicy: Always) are GA in 1.33 (beta and on by default since 1.29). They start before and run alongside the main containers, and the kubelet terminates them after the main containers exit, so they no longer block Job completion.

    Sourcekubernetes.io/docs/concepts/workloads/pods/sidecar-containers

  5. Wrong, not trueDaemonSets, Jobs, and CronJobs

    The notes said'Unlike Deployments, there's no maxSurge because DaemonSets run exactly one pod per node; you can't create surge pods'

    CorrectedDaemonSet RollingUpdate supports maxSurge (beta 1.22, GA 1.25). With maxSurge > 0 (and maxUnavailable 0) the new pod starts on the node before the old one is killed, so two pods briefly run on the node.

    Sourcekubernetes.io/docs/tasks/manage-daemon/update-daemon-set

  6. Wrong, not trueDaemonSets, Jobs, and CronJobs

    The notes saidFor the work-queue pattern 'The Job completes when all pods succeed'

    CorrectedWith .spec.completions unset (work-queue Job), once any pod succeeds no new pods are created, and the Job completes when at least one pod has succeeded and all pods have terminated.

    Sourcekubernetes.io/docs/concepts/workloads/controllers/job#parallel-jobs

  7. Stale, true once, no longerArgo Events Introduction

    The notes saidEventBus spec.nats.native with replicas: 3 as the default example

    CorrectedThe native NATS (NATS Streaming/STAN) EventBus is deprecated: STAN reached end of life in June 2023. Existing STAN EventBuses still work in v1.9.11, but new EventBuses should use spec.jetstream (or Kafka). Teach JetStream.

    Sourceargoproj.github.io/argo-events/eventbus/stan/;%20https://argoproj.github.io/argo-events/eventbus/jetstream

  8. Nuance, true with conditionsArgo Events Introduction

    The notes saidInstall from https://raw.githubusercontent.com/argoproj/argo-events/stable/manifests/install.yaml

    CorrectedStill the documented path, with the optional validating webhook from …/stable/manifests/install-validating-webhook.yaml (or namespace-install.yaml for a namespaced install). Latest release is v1.9.11 (2026-07-13); pin a tag for production.

    Sourceargoproj.github.io/argo-events/installation/;%20https://github.com/argoproj/argo-events/releases

  9. Nuance, true with conditionsArgo Events Introduction

    The notes saidTrigger operation sets and trigger types

    CorrectedThe argoWorkflow trigger supports operation submit, submit-from, resubmit, resume, retry, suspend, terminate and stop. Verify the note's list against this set.

    Sourceargoproj.github.io/argo-events/sensors/triggers/argo-workflow

  10. Wrong, not trueArgo Events Introduction

    The notes saidShows a spec.s3 EventSource

    CorrectedArgo Events has no s3 EventSource type; the bucket/events/filter shape belongs to the minio EventSource. AWS S3 events flow S3 notification to SQS or SNS, consumed by the sqs or sns EventSource, with the key at body.Records.0.s3.object.key, so dataKey 'notification.s3.object.key' is not a real payload path.

    Sourcegithub.com/argoproj/argo-events/tree/master/docs/eventsources/setup

  11. Wrong, not trueArgo Events Introduction

    The notes saidExpression filters 'use CEL (Common Expression Language)'

    Correctedexprs filters are evaluated with govaluate, and field paths use gjson syntax. Each fields[] entry maps a simple identifier name to a path (for example name: author, path: body.commits.0.author.name) and expr uses the identifier, so 'body.commits[0].author.name != …' is invalid.

    Sourceargoproj.github.io/argo-events/sensors/filters/expr

  12. Wrong, not trueArgo Events Introduction

    The notes saidArgo CD sync trigger with header Authorization: 'Bearer {{secrets.argocd-token}}'

    CorrectedNo such templating exists. Use the HTTP trigger's secureHeaders with valueFrom.secretKeyRef to inject the token from a Secret.

    Sourceargoproj.github.io/argo-events/APIs

  13. Wrong, not trueArgo Events Introduction

    The notes saidrateLimit uses unit: minute

    CorrectedThe unit enum is Second, Minute, Hour (capitalised; default Second).

    Sourcegithub.com/argoproj/argo-events/blob/master/pkg/apis/events/v1alpha1/sensor_types.go

  14. Wrong, not trueArgo Events Introduction

    The notes saidpolicy.k8s.backoff described as 'retries failed triggers with exponential backoff'

    Correctedpolicy.k8s decides whether the triggered resource succeeded by polling its labels (for example workflows.argoproj.io/phase: Succeeded) with the given backoff, optionally erroring on timeout. Trigger retries are configured with the trigger-level retryStrategy.

    Sourceargoproj.github.io/argo-events/sensors/triggers/k8s-object-trigger#policy

  15. Nuance, true with conditionsArgo Events Introduction

    The notes said'create a Service and Ingress' for webhook access

    CorrectedSetting spec.service on the webhook EventSource makes the controller create the Service; only an Ingress, Gateway route or LoadBalancer is needed for external access.

    Sourceargoproj.github.io/argo-events/eventsources/setup/webhook

  16. Nuance, true with conditionsArgo Workflows Introduction

    The notes saidkubectl apply -n argo -f https://github.com/argoproj/argo-workflows/releases/latest/download/install.yaml

    CorrectedThe path still resolves, but the docs tell you to pick a specific release (latest v4.1.6) for production. From 4.0 the release manifests carry full-validation CRDs that must be applied with server-side apply; the quick start uses kubectl apply --server-side -n argo -f …/releases/download/<version>/quick-start-minimal.yaml.

    Sourceargo-workflows.readthedocs.io/en/latest/installation/;%20https://argo-workflows.readthedocs.io/en/latest/quick-start

  17. Stale, true once, no longerArgo Workflows Introduction

    The notes saidScript template image python:3.9

    CorrectedPython 3.9 reached end of life on 2025-10-31 (3.9.25 was the final security release). Use a supported image such as python:3.13 or python:3.14.

    Sourcepeps.python.org/pep-0596

  18. Nuance, true with conditionsArgo Workflows Introduction

    The notes saidFeature/field set (template types, executor behavior)

    CorrectedEmissary is the only executor. The workflow pod's service account needs create and patch on workflowtaskresults.argoproj.io. Current line is 4.x (4.1.6), which made full-validation CRDs the default.

    Sourceargo-workflows.readthedocs.io/en/latest/workflow-executors/;%20https://argo-workflows.readthedocs.io/en/latest/workflow-rbac

  19. Wrong, not trueArgo Workflows Introduction

    The notes saidThe artifact-repositories ConfigMap shown as if it configures the default repository

    CorrectedA ConfigMap named artifact-repositories is consulted by default, but it must carry the annotation workflows.argoproj.io/default-artifact-repository naming the data key to use (any key name; default-v1 is just a convention). Alternatively reference it from spec.artifactRepositoryRef or set artifactRepository in workflow-controller-configmap. As written, artifact passing fails.

    Sourceargo-workflows.readthedocs.io/en/latest/artifact-repository-ref

Every correction across the guide, by note and topic.

Sources

Checked against kubernetes.io and AWS documentation for Kubernetes 1.37 on .

  1. kubernetes.io/docs/concepts/workloads/controllers/job
  2. kubernetes.io/docs/tasks/job/pod-failure-policy
  3. kubernetes.io/docs/tasks/job/indexed-parallel-processing-static
  4. kubernetes.io/docs/concepts/workloads/controllers/ttlafterfinished
  5. kubernetes.io/docs/concepts/workloads/controllers/cron-jobs
  6. kubernetes.io/docs/concepts/workloads/pods/sidecar-containers
  7. kubernetes.io/docs/reference/command-line-tools-reference/feature-gates-removed
  8. argo-workflows.readthedocs.io/en/latest/installation
  9. argo-workflows.readthedocs.io/en/latest/workflow-executors
  10. argo-workflows.readthedocs.io/en/latest/workflow-rbac
  11. argo-workflows.readthedocs.io/en/latest/artifact-repository-ref
  12. argoproj.github.io/argo-events/eventbus/jetstream
  13. argoproj.github.io/argo-events/sensors/filters/expr
  14. argoproj.github.io/argo-events/sensors/triggers/k8s-object-trigger
  15. argoproj.github.io/argo-events/eventsources/setup/webhook

Jobs and CronJobs

↓ ↑ step, 1 to 8 scene, Esc leave

kind cluster kxLast command: Nothing run yet