Michael
Michael

Reputation: 1839

File upload on persistent volume on Openshift 3 (SFTP, FTP, etc.)

Is there any way that I can upload files to my persistent volume? Client tools provides an ssh option but how about uploading multiple files using sftp?

Upvotes: 2

Views: 2887

Answers (1)

PhilipGough
PhilipGough

Reputation: 1769

Sure, you can use oc rsh, see oc rsh --help to sync local directories with that of the containers. You can also use oc rsync or oc cp to copy files, at least in later versions of OpenShift.

Upvotes: 2

Related Questions