Container runner implementation that uses OCI container instances.
Container runner implementation that uses OCI container instances.
Calculates credit multiplier according to instance config
Calculates credit multiplier according to instance config
(container-end ctx)
Indicates job script has terminated. If the sidecar has also ended, the job has been executed
Indicates job script has terminated. If the sidecar has also ended, the job has been executed
(container-start ctx)
Indicates the container script has started. This means the job is actually running, since events are proliferated by the sidecar, so if events arrive, we're sure that the sidecar is running.
Indicates the container script has started. This means the job is actually running, since events are proliferated by the sidecar, so if events arrive, we're sure that the sidecar is running.
Max msecs to wait until container has started
Max msecs to wait until container has started
Terminates processing when there is no instance id in the state, so it's not a container job.
Terminates processing when there is no instance id in the state, so it's not a container job.
(instance-config {:keys [job build oci] :as conf})
Generates the configuration for the container instance. It has
a container that runs the job, as configured in the :job
, and
next to that a sidecar that is responsible for capturing the output
and dispatching events. If configured, it also
Generates the configuration for the container instance. It has a container that runs the job, as configured in the `:job`, and next to that a sidecar that is responsible for capturing the output and dispatching events. If configured, it also
Max number of cpu's to assign to a pod
Max number of cpu's to assign to a pod
Max memory that can be assigned to a pod, in gbs
Max memory that can be assigned to a pod, in gbs
Stores instance id taken from the instance creation response in the job state.
Stores instance id taken from the instance creation response in the job state.
(sidecar-end ctx)
Indicates job sidecar has terminated. If the container script has also ended, the job has been executed
Indicates job sidecar has terminated. If the container script has also ended, the job has been executed
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close