ParseCleanPodPolicy
Get k8s clean pod policy from flyte kubeflow plugins clean pod policy.
def ParseCleanPodPolicy(
flyteCleanPodPolicy: kfplugins.CleanPodPolicy
) - > kubeflowv1.CleanPodPolicy
Parses the Flyte Kubeflow plugins clean pod policy into a Kubeflow clean pod policy. This function is used to translate the clean pod policy from Flyte's internal representation to the format expected by Kubeflow.
Parameters
| Name | Type | Description |
|---|---|---|
| flyteCleanPodPolicy | kfplugins.CleanPodPolicy | The clean pod policy from Flyte Kubeflow plugins that needs to be converted. |
Returns
| Type | Description |
|---|---|
kubeflowv1.CleanPodPolicy | The Kubeflow clean pod policy corresponding to the input Flyte clean pod policy. |