Skip to content

cpFromPod / cpToPod is missing --retries flag #1407

Open
@PeterEinberger

Description

@PeterEinberger

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions