Closed darlenya closed 4 years ago
is your docker deamon running on same host as your kubernetes? Then you need to mount the host /tmp
to the renovate pod to get it working.
Currently we only official support running the full image in kubernetes, because it doesn't require docker.
Another solution is to extend the slim image and build your required tool to your image. see https://github.com/renovatebot/docker-renovate-full/blob/master/Dockerfile for samples
Hi viceice, thanks for the fast answer, I give this back to our Ops Team.
Hi, the full Image works. Thank you for the fast Help
As the full image works, I close this issue
Sure, just want to mention, that there is an open issue in our main repo for renovate native kubernetes support. (running renovate slim image with sidecar pods.)
Hi all,
What Renovate type, platform and version are you using? self hostet Kubernetes with the slim image and version 23.36.4. The repos are in self hosted GitLab
Describe the bug
We are running renovate in Kubernetes. For Go and JS it works fine. But for Java Projects we encounter problems.
The cmd
crashes because it could not find ./gradlew. This is caused by the given mounted directory in the gradle docker container is empty. The problem ist that there is no shared directory between two pods when running in Kuberenetes. A solution might be, a Kubernetes configuration, that launches multiple container in that one pod, with a shared directory.
Relevant debug logs
To Reproduce
To reproduce it must run in a Kubernetes environment with any java project