Closed odesenfans closed 3 years ago
Hi, I'll grab a look at that. Might take a week. If you find it please PR in.
Reproduced.
Please grab a look at the PR here, and tell me if I missed anything there. I'll commit otherwise. https://github.com/LamaAni/KubernetesJobOperator/pull/25
Critical line is here: https://github.com/LamaAni/KubernetesJobOperator/pull/25/files#diff-1f41904b11937c04eeab725d2bee7936ded239daf44d68dbf67d514ea5ec0a05
Tested, the issue is fixed in 1.0.12!
Hello,
I'm running into an issue where pod logs are written twice to the Airflow logs. I run a simple "hello world" command and get the expected output twice in the Airflow logs. The pod logs show only one line as expected. Here is my config and output:
Spec file
kubectl logs from-image-aaggosqx-9jtkf
Airflow logs
This feels like an issue where two watchers would be attached instead of one, but I'm not sure. Any idea?