rsync via kubectl hangs #1617
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
What happened:
rsync with kubectl as remote shell gets stuck. After transfering a couple of files nothing happens. The sync was canceled after 20 minutes.
When repeating the command it might get stuck after a different file. The files are mostly smaller than 500kb, some have 1 - 100MB.
The command was run on one of the kubernetes master nodes. The vm of the master node and the vm where the pod is running are on the same vmware esx host. So it shouldn't be a problem caused by a network component.
Encreasing the debug level in the kube-apiserver and the kubelet to 9 didn't reveal any problems.
When the rsync command is cancel via ctrl+c, the rsync server command in the pod is not terminated.
Sometimes the rsync finishes without any problems.
rsync command:
What you expected to happen:
About 45.000 (8.4GB) should be transfered without problems.
How to reproduce it (as minimally and precisely as possible):
I didn't try, but it should be reproducable by creating lot's of random files (ca. 45.000) with a size of 500kb.
Anything else we need to know?:
The virus scanner was disabled.
Environment:
kubernetes version:
os:
Red Hat Enterprise Linux 8.10 (Ootpa) on VMware vSphere 8
The text was updated successfully, but these errors were encountered: