Skip to content

Add running_pod_log_lines config option to KubernetesExecutor#69301

Draft
jason810496 wants to merge 1 commit into
apache:mainfrom
jason810496:refactor/logging/configurable-running-pod-log-lines
Draft

Add running_pod_log_lines config option to KubernetesExecutor#69301
jason810496 wants to merge 1 commit into
apache:mainfrom
jason810496:refactor/logging/configurable-running-pod-log-lines

Conversation

@jason810496

@jason810496 jason810496 commented Jul 3, 2026

Copy link
Copy Markdown
Member

part of the streaming task log series

Why

The number of pod log lines fetched for a running task is a hardcoded class constant (RUNNING_POD_LOG_LINES = 100), so deployments cannot tune how much of a running task's log the UI shows.

What

  • Add [kubernetes_executor] running_pod_log_lines config option (default 100, the previous hardcoded value).
  • KubernetesExecutor.__init__ reads it through the team-aware executor conf, shadowing the class default per instance.

Was generative AI tooling used to co-author this PR?

The number of log lines fetched from a running task's pod was a
hardcoded class constant (100), so deployments could not tune how much
of a running task's log is visible in the UI without patching the
executor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:cncf-kubernetes Kubernetes (k8s) provider related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant