kubectl cp

Jmnote (토론 | 기여)님의 2022년 3월 16일 (수) 15:31 판 (→‎개요)

1 개요

kubectl cp
user01@localhost:~# kubectl cp analysis-nori-7.6.0.zip elasticsearch-master-0:/
tar: analysis-nori-7.6.0.zip: Cannot open: Permission denied
tar: Exiting with failure status due to previous errors
command terminated with exit code 2
user01@localhost:~# kubectl cp analysis-nori-7.6.0.zip elasticsearch-master-0:/tmp/
user01@localhost:~#
user01@localhost:~# kubectl cp -n default elasticsearch-master-0:/tmp/analysis-nori-7.6.0.zip analysis-nori-7.6.0.zip
user01@localhost:~#

2 같이 보기

3 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}