Skip to content

Job

Source: src/Kubernetes/Job.ts

A Kubernetes job bound to an EKS cluster.

const job = yield* Job("seed", {
cluster,
namespace: "default",
containers: [
{
name: "seed",
image: "busybox:latest",
command: ["/bin/sh", "-lc"],
args: ["echo hello"],
},
],
});