kaxil commented on PR #71244: URL: https://github.com/apache/airflow/pull/71244#issuecomment-5221844368
> Add `KubernetesPodExecOperator` to execute commands in a running container of an existing Kubernetes Pod without creating, restarting, or deleting it. This supports pre-warmed and API-visible static Pods where avoiding startup latency is important. > > The operator validates the target Pod and container, streams stdout and stderr, supports optional stdout XCom, reports non-zero exit codes, and closes the exec connection when the task is killed. Provider metadata, RBAC guidance, and operator documentation are included. > > Tests: > > * `pytest providers/cncf/kubernetes/tests/unit/cncf/kubernetes/operators/test_pod_exec.py -q` (32 passed) > * Provider mypy check > * Provider metadata and documentation validation > * Pre-commit and manual checks > > ##### Was generative AI tooling used to co-author this PR? > * [x] Yes — Codex (GPT-5) > > Generated-by: Codex (GPT-5) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) What's the User story and real-world use cases for this? -- 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]
