gmsantos commented on issue #26971:
URL: https://github.com/apache/airflow/issues/26971#issuecomment-1276310567

   ops, sorry my bad. For #24647:
   
   ```yaml
     workers:
       podAnnotations:
         cluster-autoscaler.kubernetes.io/safe-to-evict: "false"
   ```
   
   pod template file:
   
   ```shell
   > k exec airflow-cookbook-scheduler-6df58df678-b8mqz -it -- cat 
/usr/local/airflow/pod_templates/pod_template_file.yaml 
   Defaulted container "scheduler" out of: scheduler, scheduler-log-groomer, 
wait-for-airflow-migrations (init)
   
   ...
   ---
   apiVersion: v1
   kind: Pod
   metadata:
     name: dummy-name
   ...
     annotations:
       iam.amazonaws.com/role: 
arn:aws:iam::985437859871:role/airflow-dags-logs-role
       vault-injection: airflow-cookbook
       cluster-autoscaler.kubernetes.io/safe-to-evict: "false"
   ```


-- 
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