Kubernetes Pod
flytekitplugins-pod
By default, Flyte tasks decorated with @task are essentially single functions that are loaded in one container. But often, there is a need to run a job with more than one container.
pip install flytekitplugins-podQuick Start(example, may need adjustment)
See full examplespip install flytekitplugins-pod
from flytekit import task, workflow
from flytekitplugins.pod import Pod
config = Pod(...)
@task
def my_task() -> None:
...
@workflow
def my_workflow() -> None:
my_task()Available Imports (1)
Pod is a platform-wide configuration that uses pod templates.
extends dataclass — configuration or data structure for plugin setup
from flytekitplugins.pod import Pod
Dependencies
Related Plugins
Kubernetes Stateful
This plugin provides support for Kubernetes StatefulSet and Service integration, enabling seamless provisioning and coordination with any Kubernetes services or Flyte tasks. It is especially suited for deep learning use cases at scale, where distributed and parallelized data loading and caching across nodes are required.
AWS Athena
Flyte backend can be connected with Athena. Once enabled, it allows you to query AWS Athena service (Presto + ANSI SQL Support) and retrieve typed schema (optionally).
AWS Batch
Flyte backend can be connected with AWS batch. Once enabled, it allows you to run flyte task on AWS batch service
AWS SageMaker
The plugin currently features a SageMaker deployment connector.