airflow.providers.cncf.kubernetes.kubernetes_helper_functions
¶
Module Contents¶
Functions¶
|
Generate unique pod or job ID given a dag_id and / or task_id. |
|
Generate unique pod ID given a dag_id and / or task_id. |
|
Build a TaskInstanceKey based on pod annotations. |
|
Attributes¶
- airflow.providers.cncf.kubernetes.kubernetes_helper_functions.create_unique_id(dag_id=None, task_id=None, *, max_length=POD_NAME_MAX_LENGTH, unique=True)[source]¶
Generate unique pod or job ID given a dag_id and / or task_id.
- airflow.providers.cncf.kubernetes.kubernetes_helper_functions.create_pod_id(dag_id=None, task_id=None, *, max_length=POD_NAME_MAX_LENGTH, unique=True)[source]¶
Generate unique pod ID given a dag_id and / or task_id.