Scope0910 commented on issue #31733:
URL: https://github.com/apache/airflow/issues/31733#issuecomment-1597188372

   Hey, 
   i have exactly the same issue. I came from v2.3.3 - but without an upgrade. 
- we installed v2.6.0 on a new system with new metadb etc. Im not sure if it 
helps  - If i run the following code within webserver the logs are requested 
correctly - were using airflow on kubernetes 
   
   `from airflow.providers.cncf.kubernetes.hooks.kubernetes import 
KubernetesHook    `
   `hook = KubernetesHook(conn_id="kubernetes_default")
   log = ""
   for line in hook.get_pod_logs("<insert podname here>", namespace="<your 
namespace>"):
        log += line.decode()
        print(log) 
   `
   


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