kubernetes-client / kubernetes-client/javascript

cpFromPod / cpToPod is missing --retries flag

未关闭
#1,407 2 条评论 2 个 reaction 已指派 2 人 已被 @brendandburns 认领 在 GitHub 查看
good first issue
主要语言
TypeScript
星标
2.3k
派生
568
平均合并
17 小时 57 分钟
30 天内合并 PR
41

描述

**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` https://github.com/kubernetes/kubernetes/issues/60140 with the `--retries` flag.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。