moon icon indicating copy to clipboard operation
moon copied to clipboard

How to copy the files to the home directory of Moon when we run in kubernetes?

Open Sree9120 opened this issue 5 years ago • 6 comments

I am trying to upload the files using volume mounts from my local but when we run in kubernetes we want copy the files to the home directory of selenoid using custom dockerfile can this be achieved?

in local i updated the browsers.json like this and i was able to do the same "volumes": [ "/Users/~username/Downloads:Home/selenium/Downloads" ],

Sree9120 avatar Oct 30 '20 18:10 Sree9120

@Sree9120 are we talking about Selenoid or Moon?

vania-pooh avatar Oct 31 '20 06:10 vania-pooh

i was talking about moon.

Sree9120 avatar Oct 31 '20 12:10 Sree9120

@Sree9120 in case of Moon there is https://aerokube.com/moon/latest/#_using_volumes. However in big cluster you can never know where pod will be launched. So regular file upload is recommended instead.

vania-pooh avatar Oct 31 '20 13:10 vania-pooh

@sujithgowda22 can u please check if this works for us

Sree9120 avatar Nov 03 '20 06:11 Sree9120

If worked for us for a while, suddenly we see permission issue occuring image @vania-pooh - any idea why we see Permission denied for /home/selenium/Downloads: - ?@sujithgowda22

Sree9120 avatar Apr 04 '21 10:04 Sree9120

@Sree9120 are you running Moon in Openshift?

vania-pooh avatar Apr 04 '21 14:04 vania-pooh