How to copy files from a different linux server folder to Kubernetes pod
I have multiple files in a different linux server folder and I want to create a cron job and run daily in kubernetes that should copy the files to a pod network folder.


I am unaware how to perform the task as you have stated.

How to solve your problem? With the belief your "POD network folder" is a SMB, NFS, other type mounted resource;

I would implement one of the following, either will work the same in the end:


Establish a connection directly from the Linux Host (that presently has the file(s) to be copied) to the Networked Folder. Use SCP or Rsync to perform the copy.
Using SCP or Rsync copy the file(s) directly from the Linux Host homing the files to the IP Address of the POD. Given the POD has a standing connection to the Hosted Folder. e.g. NFS, SMB, other mount.