j-y-matsubara commented on issue #8965:
URL: https://github.com/apache/airflow/issues/8965#issuecomment-640354651
Can't make a decision using the label?
For example,
Pseudo code:
```
def pod_mutation_hook:
if pod.labels['kubernetes_pod_operator']== 'True':
pod.annotations['pod-type'] = 'kubernetes-executor-worker-pod'
else:
pod.annotations['pod-type'] = 'pod-operator-pod'
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]