kubectl: `kubectl cp` does not support resource/name format
What would you like to be added?
kubectl cp file.txt default/pod/mypod-0365fce5-b565b9fd9-zjw8h:/tmp/
should work, but it doesn’t because of the pod/ resource type in the name.
Why is this needed?
Feature parity, principle of least surprise, consistency, flexibility, suitability for scripting with kubectl get pods -o name. Other subcommands do support this syntax.
About this issue
- Original URL
- State: open
- Created 4 years ago
- Comments: 23 (5 by maintainers)
@eddiezane @sanmai-NL Is this still required…I may be interested to work on this.