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

   ### Apache Airflow Provider(s)
   
   cncf-kubernetes
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-cncf-kubernetes==8.0.0
   
   ### Apache Airflow version
   
   2.8.2
   
   ### Operating System
   
   -
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### What happened
   
   When looking at the "logs" tab of a task using the SparkKubernetesOperator 
we get the following line:
   "container base whose logs were requested not found in the pod our-pod-name"
   The reason for it is that by default KubernetesOperator only collects logs 
for the BASE_CONTAINER_NAME container, which defaults to "base" in 
KubernetesOperator, even though the container created in 
SparkKubernetesOperator is called "spark-kubernetes-driver"
   
   ### What you think should happen instead
   
   _No response_
   
   ### How to reproduce
   
   Simply use this operator and enter the "logs" tab
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit 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: [email protected]

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

Reply via email to