kubernetes/test/e2e_node/remote
David Porter c5a1f0188b
test: Add node e2e test to verify static pod termination
Add node e2e test to verify that static pods can be started after a
previous static pod with the same config temporarily failed termination.

The scenario is:

1. Static pod is started
2. Static pod is deleted
3. Static pod termination fails (internally `syncTerminatedPod` fails)
4. At later time, pod termination should succeed
5. New static pod with the same config is (re)-added
6. New static pod is expected to start successfully

To repro this scenario, setup a pod using a NFS mount. The NFS server is
stopped which will result in volumes failing to unmount and
`syncTerminatedPod` to fail. The NFS server is later started, allowing
the volume to unmount successfully.

xref:

1. https://github.com/kubernetes/kubernetes/pull/113145#issuecomment-1289587988
2. https://github.com/kubernetes/kubernetes/pull/113065
3. https://github.com/kubernetes/kubernetes/pull/113093

Signed-off-by: David Porter <david@porter.me>
2023-03-03 10:00:48 -06:00
..
cadvisor_e2e.go e2e: use error wrapping with %w 2023-02-06 15:39:13 +01:00
node_conformance.go e2e: use error wrapping with %w 2023-02-06 15:39:13 +01:00
node_e2e.go test: Add node e2e test to verify static pod termination 2023-03-03 10:00:48 -06:00
remote.go e2e: use error wrapping with %w 2023-02-06 15:39:13 +01:00
ssh.go e2e: use error wrapping with %w 2023-02-06 15:39:13 +01:00
types.go Enabling runtime config on E2E node tests 2021-03-08 15:45:06 -05:00
utils.go Update CNI version to 1.2.0 2023-01-18 13:24:40 +05:30