mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-25 05:41:13 +00:00
This commit adds e2e stress tests to verify that liveness probes do not cause unexpected container restarts under load. The tests create many containers (50 per test) with liveness probes configured to run every 1 second. Three test cases are included: - HTTP liveness probe stress test - TCP liveness probe stress test - gRPC liveness probe stress test Each test waits for all containers to be running, observes probe behavior for 2 minutes, and validates that no containers have restarted unexpectedly. These tests address the bug fix from issue kubernetes#89898 and serve as a replacement for the skipped unit test from PR kubernetes#115329.