Open
Description
Describe the bug
cpFromPod
/ cpToPod
silently fail on larger files, resulting in incomplete files.
** Client Version **
0.20.0
** Server Version **
1.25.7+rke2r1
To Reproduce
upload a larger file, at least 200MB. The kubernetes issue has gone into detail about network settings a.s.o.
Expected behavior
cpFromPod
/ cpToPod
should try to upload the whole file or error out on premature disconnect.
Environment (please complete the following information):
- OS: Linux
- NodeJS Version 20
Additional context
Has been identified and 'fixed' in kubectl cp
kubernetes/kubernetes#60140 with the --retries
flag.