Files
kubernetes/test/e2e/framework/node/resource.go
胡玮文 f3f44f70bf e2e/storage: speed up kubectl commands
Speed up stopping by not waiting for Node not ready, `systemctl` will ensure
kubelet process stopped before return. This should save 40s per case.

Since stop command does not wait for not ready, start command needs to wait for
the next heartbeat to ensure we are checking status from new process.

implement restart by stop then start, to get heartbeat time when kubelet is
down. And we do not need to sleep 30s now. The sleep is moved to callers, since
they still need them to ensure the volume does not disappear.

Dropped support for non-systemd system.
2024-05-19 02:51:32 +08:00

28 KiB