-
OneDev
changed state to 'Closed' 5 years ago
Previous Value Current Value Open
Closed
-
Thanks for the report. Got fixed now.
PS: What k8s cluster you are using? I tested with Google/Azure/Amazon hosted k8s clusters, and they all work even if type is specified as "file"
-
OneDev
changed state to 'Released' 5 years ago
Previous Value Current Value Closed
Released
-
Hi,
I had a kubernetes cluster installed by kubespray on OpenStack.
Your right a colleague said it could also be due to missing permissions.. I should try it with pods running as root. but that ofc is a bit insecure.
i will run some tests next week and post the results here..anyways thanks for the fast response and keep up the great work!
| Type |
Bug
|
| Priority |
Normal
|
| Assignee | |
| Affected Versions |
Not Found
|
Issue Votes (0)
https://github.com/theonedev/onedev/blob/5d980832c90e8477a772be6f6892f56478ef78ce/server-plugin/server-plugin-executor-kubernetes/src/main/java/io/onedev/server/plugin/executor/kubernetes/KubernetesExecutor.java#L876
The kubernetes job executer fails, saying it cannot find and mount the file /var/run/docker.sock.
It would work if you leave fileType blank (its a optional field) or specify it as type of Socket (https://kubernetes.io/docs/concepts/storage/volumes/#hostpath).