Join the SIG TFX-Addons community and help make TFX even better!

tfx.orchestration.portable.kubernetes_executor_operator.KubernetesExecutorOperator

Responsible for launching a container executor on Kubernetes.

Inherits From: BaseExecutorOperator

executor_spec The specification of how to initialize the executor.
platform_config The specification of how to allocate resource for the executor.

RuntimeError if the executor_spec or platform_config is not supported.

Methods

run_executor

View source

Execute underlying component implementation.

Runs executor container in a Kubernetes Pod and wait until it goes into Succeeded or Failed state.

Args
execution_info All the information that the launcher provides.

Raises
RuntimeError when the pod is in Failed state or unexpected failure from Kubernetes API.

Returns
An ExecutorOutput instance

SUPPORTED_EXECUTOR_SPEC_TYPE [<class 'tfx.proto.orchestration.executable_spec_pb2.ContainerExecutableSpec'>]
SUPPORTED_PLATFORM_CONFIG_TYPE []