You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "johnhoran (via GitHub)" <gi...@apache.org> on 2024/09/26 11:10:42 UTC

[I] Kubernetes Pod Operator Init container logging [airflow]

johnhoran opened a new issue, #42498:
URL: https://github.com/apache/airflow/issues/42498

   ### Description
   
   When writing a pod using an init container, I notice that you don't get any logs from the init container.  I tried adding the name of the init container to the container_logs option in KubernetesPodOperator, but it complains that the container couldn't be found.  
   I also noticed that the airflow would say the pod was pending while the init container process was running.  
   
   ### Use case/motivation
   
   - When init containers are running the task should be consider running.
   - Logs from init containers should be shown 
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Kubernetes Pod Operator Init container logging [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #42498: Kubernetes Pod Operator Init container logging
URL: https://github.com/apache/airflow/issues/42498


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Kubernetes Pod Operator Init container logging [airflow]

Posted by "jscheffl (via GitHub)" <gi...@apache.org>.
jscheffl commented on issue #42498:
URL: https://github.com/apache/airflow/issues/42498#issuecomment-2453111206

   Thanks for the proposal - I think is is a valid feature! If you implement it, you might make this configurable, maybe not everybody wants logs, maybe some only on error?


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Kubernetes Pod Operator Init container logging [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #42498: Kubernetes Pod Operator Init container logging
URL: https://github.com/apache/airflow/issues/42498


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org