stilt.execution.KubernetesExecutor#

class stilt.execution.KubernetesExecutor(image: 'str', namespace: 'str' = 'default', n_workers: 'int' = 1, db_secret: 'str' = 'pystilt-db', **pod_spec: 'Any') 'None'[source]#

Deploy batch-mode STILT pull workers as Kubernetes Jobs.

Methods#

from_config(config)

Build a Kubernetes executor from ModelConfig.execution values.

start(pending, *, project[, n_workers, ...])

Create the worker Job and return its handle.

Attributes#

dispatch

n_workers

Return the default Job parallelism for this executor.