Each task
in your pipelines has a reference to an executor from the executors
section of your liminal.yml file. If not specified, the appropriate default executor for that task type is used.
executors: - executor: my_kubernetes_executor type: kubernetes resources: request_memory: 128Mi pipelines: pipeline: my_pipeline tasks: - task: my_python_task type: python image: myorg/myrepo:mypythonapp executor: my_kubernetes_executor cmd: python -u my_module.py
In the example above we define an executor
of type kubernetes
with custom resources configuration.
executors
is a section in the root of your liminal.yml file and is a list of executor
s defined by the following attributes:
executor
: name of your executor.
type
: type of the executor. The current available image types are: kubernetes
and emr
.
Different executor types support their own additional configuration.