-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement target node option for cp command #11304
Conversation
Hi @daehyeok. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Can one of the admins verify this patch? |
11cbd91
to
8d14e1d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
':' can be a part of filepath
➜ minikube git:(master) ✗ out/minikube ssh -- sudo mkdir "/tmp/bar:"
➜ minikube git:(master) ✗ out/minikube cp foo /tmp/bar:/foo
➜ minikube git:(master) ✗ out/minikube ssh -- ls '/tmp/bar:/'
foo
➜ minikube git:(copy_node) ✗ out/minikube ssh -- sudo mkdir "/tmp/bar:"
➜ minikube git:(copy_node) ✗ out/minikube cp foo /tmp/bar:/foo
X Exiting due to GUEST_NODE_RETRIEVE: Node /tmp/bar does not exist.
May be it's better to add a new cli key, --target-node
or something like this
@ilya-zuyev oops. changed to extract node name only when destPath is not a absolute path(not start with '/'). |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: daehyeok, ilya-zuyev The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/ok-to-test |
kvm2 driver with docker runtime
Times for minikube start: 53.5s 46.9s 52.3s 47.8s 47.6s Times for minikube ingress: 34.7s 35.3s 42.3s 36.3s 34.8s docker driver with docker runtime
Times for minikube ingress: 35.0s 30.0s 34.0s 37.0s 36.0s Times for minikube start: 22.2s 21.8s 22.1s 21.4s 20.3s docker driver with containerd runtime
Times for minikube start: 44.4s 47.8s 43.6s 43.4s 43.9s |
@daehyeok: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
kvm2 driver with docker runtime
Times for minikube start: 57.0s 48.7s 50.7s 53.0s 48.0s Times for minikube ingress: 73.3s 39.9s 36.7s 33.8s 38.8s docker driver with docker runtime
Times for minikube start: 22.9s 22.3s 21.3s 21.8s 21.7s Times for minikube ingress: 28.0s 29.5s 80.0s 29.5s 178.0s docker driver with containerd runtime
Times for minikube start: 31.1s 46.9s 43.5s 43.0s 47.4s |
fixes #11146
before
after