Skip to main content

prefect_kubernetes.experimental.decorators

Functions

kubernetes

kubernetes(work_pool: str, **job_variables: Any) -> Callable[[Flow[P, R]], InfrastructureBoundFlow[P, R]]
Decorator that binds execution of a flow to a Kubernetes work pool Args:
  • work_pool: The name of the Kubernetes work pool to use
  • **job_variables: Additional job variables to use for infrastructure configuration