Answers for "copy file to kubernetes pod"

0

copy file to kubernetes pod

from host to pod:

kubectl cp /path/to/your_folder name-of-your-pod:/path/to/destination_folder

from pod to host:

kubectl cp name-of-your-pod:/path/to/your_folder /path/on_your_host/to/your_folder
Posted by: Guest on April-20-2021

Browse Popular Code Answers by Language