Skip to content

Add another specialization for run: job or k8s-job #1300

Description

@cvgaviao

What would you like to be added:

Currently, the spec includes run:container, which I inferred requires a Docker or Podman client installed on the host where the orchestration application is running.

But there is another scenario: The image may be run as a Kubernetes/Openshift Job in a cluster.

Why is this needed:
Many companies uses ephemeral Kubernetes Jobs to do batch processing.

Activity

  1. changed the title [-]Add another speficalization for run: job or k8s-job[/-] [+]Add another specialization for run: job or k8s-job[/+] on Apr 12, 2026
  2. fjtirado commented on Apr 13, 2026

    @fjtirado
    Collaborator

    Im not sure if this one belongs here or should be opened on the specification repo here https://github.com/serverlessworkflow/specification/tree/main
    You are right that container is asuming docker or podman is installed on the host running the orchestration application and I think we need some way on the specification in order to make the distinction you are looking for when the workflow is written

  3. fjtirado commented on Apr 13, 2026

    @fjtirado
    Collaborator

    My bad, you did not ask for a different idiom in the specification, but a different runner for container (we only have docker right now), certainly we can add a new one.

  4. ricardozanini commented on Apr 13, 2026

    @ricardozanini
    Collaborator

    @cvgaviao we should use the same run: container. Per spec, we can use it to run the jobs, pods, and ephemeral containers based on the execution context.

    A specific run: job though, would require a new handler in the specification as @fjtirado commented, which I think is unnecessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

javaPull requests that update java codespec:1.0.0

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions