jason810496 commented on code in PR #69301:
URL: https://github.com/apache/airflow/pull/69301#discussion_r3612452627
##########
providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/executors/kubernetes_executor.py:
##########
@@ -154,6 +154,14 @@ def __init__(self, *args, **kwargs):
# instead of requeuing. The orphaned task instance itself is still
recovered by the
# scheduler's adopt_or_reset_orphaned_tasks(), which re-queues it with
a fresh attempt.
self.pod_launch_attempts: dict[TaskInstanceKey, _PodLaunchAttempt] = {}
+ self.RUNNING_POD_LOG_LINES = self.conf.getint(
+ "kubernetes_executor", "running_pod_log_lines",
fallback=self.RUNNING_POD_LOG_LINES
Review Comment:
Yes, make sense to use `KubernetesExecutor.RUNNING_POD_LOG_LINES`.
--
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]