Add non-blocking pod log streaming example#2511
Add non-blocking pod log streaming example#2511k8s-ci-robot merged 2 commits intokubernetes-client:masterfrom
Conversation
|
Welcome @Sakku4590! |
|
please sign CLA |
|
I have signed the Individual CLA and fixed my commit email to match my GitHub account. |
|
/check-cla |
|
I don’t know what’s happening. I did everything I could, but I still can’t get authorized. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Sakku4590, yliaog The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/release-note-none |
This PR adds a non-blocking example for streaming pod logs using socket timeouts, allowing graceful shutdown without indefinite blocking.
The existing pod_logs.py example blocks when no new logs arrive. This new example demonstrates a safe streaming pattern tested against a live Kubernetes cluster (Minikube).
Fixes #2474