-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
area:providerskind:featureFeature RequestsFeature Requestsprovider:cncf-kubernetesKubernetes (k8s) provider related issuesKubernetes (k8s) provider related issues
Description
Description
Generate more meaningful default names for pods by @task.kubernetes with explicit randomness control
Use case/motivation
Reference PR with tests showing the desired changes:
#46462
Now pod created by decorator would have name f"k8s_airflow_pod_{uuid.uuid4().hex}" if name was not explicitly provided by the user.
I want more meaningful names by default (via python_callable name utilization) and to reuse already present randomness in name control option from KubernetesPodOperator: random_name_suffix.
Related issues
No response
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
area:providerskind:featureFeature RequestsFeature Requestsprovider:cncf-kubernetesKubernetes (k8s) provider related issuesKubernetes (k8s) provider related issues