copy file to pod

Copy File from local to remote

kubectl cp ./local-file pod-name:remote-file

Copy file between pod

kubectl cp pod1:file-name pod2:file-name

Last updated