Commit graph

5 commits

Author SHA1 Message Date
Davanum Srinivas
c2f0180463
test/e2e_node: fix CRI proxy event forwarding
The CRI proxy called GetContainerEvents synchronously, which blocked in
the upstream receive loop and prevented kubelet from receiving
container lifecycle events. With AllAlpha enabled, that breaks the
EventedPLEG path and leaves the restart and image-pull retry tests
dependent on delayed fallback relists.

Run the upstream event stream in a goroutine, tie it to the
downstream stream context, and propagate non-cancellation errors
after forwarding completes. Also restore the image-volume test to
look for the kubelet log message emitted when Image.Image is empty.
2026-03-31 18:44:22 -04:00
Ayato Tokubi
3256f5175f cri-api: Add streaming RPCs for CRI list operations
Add server-side streaming RPCs to bypass the gRPC 16MB message size
limit on nodes with many containers/pods. This implements KEP-5825.

New RuntimeService streaming RPCs:
- StreamPodSandboxes
- StreamContainers
- StreamContainerStats
- StreamPodSandboxStats
- StreamPodSandboxMetrics

New ImageService streaming RPC:
- StreamImages

Each streaming RPC accepts the same filter as its unary counterpart
and streams results one item at a time.

Feature gate: CRIListStreaming
KEP: https://kep.k8s.io/5825

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Signed-off-by: Ayato Tokubi <atokubi@redhat.com>
2026-03-18 16:32:49 +00:00
Sascha Grunert
b464bbeb8f
Remove gogo-protobuf from CRI
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-07-04 08:55:57 +02:00
Filipe Xavier
b27c303ac2 update cri-api runtime interface and cri-client add new method 2025-03-14 09:33:32 -03:00
zhifei92
2e182e736b feat: Add cri proxy for e2e_node
add example of using CRI proxy

fix:  Invalid function call

fix:  Optimize getPodImagePullDuration

fix:  Return error if the CRI Proxy is undefined

chore:  add a document
2024-10-16 20:53:28 +08:00