Preview Flyte 2 for productionHosted on Union.ai
Kubernetes Pod

Kubernetes Pod

flytekitplugins-pod

FlytekitCloud & Infrastructurekubernetesk8spodcontainer

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.

Install
pip install flytekitplugins-pod

Quick Start(example, may need adjustment)

See full examples
pip 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)

configPod

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

kubernetes

Related Plugins

Package Info

Min Flytekit1.3.0
Modules1

Downloads

Last day3,578
Last week16,944
Last month77,501