dstandish commented on PR #28511:
URL: https://github.com/apache/airflow/pull/28511#issuecomment-1362157961

   just for the sake of evaluation, the code you would use in mutation hook 
would probably be something like this
   ```
   def add_prefix(name):
       prefix = "my-prefix-"
       prefix_len = len(prefix)
       return prefix + name[-(63 - prefix_len):]
   
   def pod_mutation_hook(pod):
       if 'AIRFLOW_IS_K8S_EXECUTOR_POD' in pod.metadata.labels:
           pod.metadata.name = add_prefix(pod.matadata.name)
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to