kubernetes copy file from pod to host code example
Example: 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