
Note:
kubectl cp <namespace>/<name of pod>:<file path in the container> <local path>
Reversely
kubectl cp <local path> <namespace>/<name of pod>:<file path in the container>
Note:
kubectl cp <namespace>/<name of pod>:<file path in the container> <local path>
Reversely
kubectl cp <local path> <namespace>/<name of pod>:<file path in the container>