Skip to content

[v3-1-test] Fix KubernetesPodOperator XCom sidecar hang on Alpine (#58931) - #63379

Closed
github-actions[bot] wants to merge 1 commit into
v3-1-testfrom
backport-ed78d6c-v3-1-test
Closed

[v3-1-test] Fix KubernetesPodOperator XCom sidecar hang on Alpine (#58931)#63379
github-actions[bot] wants to merge 1 commit into
v3-1-testfrom
backport-ed78d6c-v3-1-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor
  • Fix KubernetesPodOperator XCom sidecar hang on Alpine
    The [extract_xcom_kill] method previously used to identify and kill the sidecar process. However, the implementation in some Alpine/BusyBox versions does not support the flag, causing the command to fail and the sidecar to hang indefinitely.
    This commit replaces the command with a portable shell loop that iterates over to identify processes owned by the current user. This ensures compatibility with all Alpine versions and removes the dependency on .

  • changed alpine fallback command

  • added conditional fallback xcom kill command when the primary one fails

  • Revert "changed alpine fallback command"

This reverts commit 8c4b5f5.

  • Convert the xcom kill command conditioning to exception and try/catch

  • Fixed command string format
    (cherry picked from commit ed78d6c)

Co-authored-by: Yahely Ushpiz 102915448+YahelyUshpiz@users.noreply.github.com

…8931)

* Fix KubernetesPodOperator XCom sidecar hang on Alpine
The [extract_xcom_kill] method previously used  to identify and kill the sidecar process. However, the  implementation in some Alpine/BusyBox versions does not support the  flag, causing the command to fail and the sidecar to hang indefinitely.
This commit replaces the  command with a portable shell loop that iterates over  to identify processes owned by the current user. This ensures compatibility with all Alpine versions and removes the dependency on .

* changed alpine fallback command

* added conditional fallback xcom kill command when the primary one fails

* Revert "changed alpine fallback command"

This reverts commit 8c4b5f5.

* Convert the xcom kill command conditioning to exception and try/catch

* Fixed command string format
(cherry picked from commit ed78d6c)

Co-authored-by: Yahely Ushpiz <102915448+YahelyUshpiz@users.noreply.github.com>
@eladkal

eladkal commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

No backport needed

@eladkal eladkal closed this Mar 11, 2026
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.

2 participants