jscheffl commented on PR #58398:
URL: https://github.com/apache/airflow/pull/58398#issuecomment-3549524669

   > Hi, advantage of using statefulset is, that I can have real-time logs in 
UI from workers (when they are running). When finished, logs are fetched from 
s3.
   
   Yeah also had a bit of challenge, when deploying in K8s as "deployment" and 
not staefulset then you need to adjust one property tp fix nameserver lookup 
and deployment instances have no DNS.
   
   Personally I am not favoring statefulesets too much as a rolling release 
really takes long as K8s upgrades one-by-one. With a deployment all is in 
parallel with a defined volume.
   
   Would it maybe make sense to prevent such problems as alternative option to 
use config 
https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#hostname-callable
 setting it to `airflow.utils.net.get_host_ip_address`?


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