BuildRawPod
BuildRawPod constructs a PodSpec and ObjectMeta based on the definition passed by the TaskExecutionContext. This definition does not include any configuration injected by Flyte.
def BuildRawPod(
ctx: context.Context,
tCtx: pluginsCore.TaskExecutionContext
) - > *v1.PodSpec, *metav1.ObjectMeta, string, error
Constructs a PodSpec and ObjectMeta based on the definition passed by the TaskExecutionContext. This definition does not include any configuration injected by Flyte.
Parameters
| Name | Type | Description |
|---|---|---|
| ctx | context.Context | The context for the operation, used for cancellation and deadlines. |
| tCtx | pluginsCore.TaskExecutionContext | The task execution context providing access to task definitions and execution metadata. |
Returns
| Type | Description |
|---|---|
*v1.PodSpec, *metav1.ObjectMeta, string, error | A Kubernetes PodSpec, ObjectMeta, the primary container's name, and an error if construction fails. |