docker-robot-framework icon indicating copy to clipboard operation
docker-robot-framework copied to clipboard

Using the docker image to run as pod on kubernetes platform

Open snup67 opened this issue 1 year ago • 2 comments

I tried to use the docker image as pod on Kubernetes cluster. the problem was to mount the folder, I even change the environment path's for reports and test but no success.

Our Jenkins is using pods as Jenkins-slave and I didn't have any success. the goal was to not use VM as Jenkins slave and then run as docker run, We wanted to use the docker image as a pod that will be Jenkins slave.

Does anyone succeeded with that?

snup67 avatar Nov 11 '24 09:11 snup67

I have a few questions in order to help you:

  • Is that folder always the same for all pods?
  • Have you tried using a PersistentVolume + PersistentVolumeClaim and mount it onto your pod?
  • Could you share your Kubernetes configuration files please?

ppodgorsek avatar Apr 09 '25 23:04 ppodgorsek

answers: Yes, the folder is always the same for all pods I configure it directly on the jenkins-slave yaml file. Yes I tried using a PersistentVolume + PersistentVolumeClaim and mount it onto your pod - no success

You answered just now on my question that published at 11.11.24 )months past) I need to re-created all test environments.

snup67 avatar Apr 15 '25 12:04 snup67