Re: Kubernetes plugin for Jenkins after dockershim runtime is deprecated

2022-04-13 Thread Ivan Fernandez Calvo
Another solution that does not impact your pipelines, is to use a DinD container and export DOCKER_HOST in all the containers of the pod, this allows access to Docker to all containers using the docker CLI pipeline { agent { kubernetes { defaultContainer 'docker-cli' yaml ''' a

Re: Kubernetes plugin for Jenkins after dockershim runtime is deprecated

2022-04-12 Thread Jan Monterrubio
For builds that need docker, we have used docker:dind in the past. So we have a maven build running in a maven container in a pod, and that build uses dind to run testcontainers. I wonder if something like that would work for your use case? Here’s more info on dind: http://blog.teracy.com/2017/09

Re: Kubernetes plugin for Jenkins after dockershim runtime is deprecated

2022-04-12 Thread 'Mario Rodriguez' via Jenkins Users
Hi, yes, I was able to replace docker tooling with a combination of kaniko and podman. Kaniko will build the OCI container images in a daemonless fashion and podman will let you run other commands such as tag, pull, push. Please be aware kaniko 1.7.0 has issues with workload identity authenti

Re: Kubernetes plugin for Jenkins after dockershim runtime is deprecated

2022-04-12 Thread Steve Ridley
We are faced with the same issue for our Jenkins implementation. cr...@llbean.com I wonder if you were able to utilize Kaniko or if you found another alternative that worked for you? Any further insight is appreciated! On Wednesday, October 27, 2021 at 1:15:29 PM UTC-6 car...@apache.org wrote:

Re: Kubernetes plugin for Jenkins after dockershim runtime is deprecated

2021-10-27 Thread Carlos Sanchez
You cannot use the docker.sock anymore On Wed, Oct 27, 2021 at 5:00 AM 'Mario Rodriguez' via Jenkins Users < jenkinsci-users@googlegroups.com> wrote: > and how about if we are using the kubernetes plugin podTemplate >

Re: Kubernetes plugin for Jenkins after dockershim runtime is deprecated

2021-10-26 Thread 'Mario Rodriguez' via Jenkins Users
and how about if we are using the kubernetes plugin podTemplate ? more less like this: podTemplate(cloud: 'kubernetes', label: args.pipelineName, containers: getContaine

Re: Kubernetes plugin for Jenkins after dockershim runtime is deprecated

2021-09-30 Thread Carlos Sanchez
You can use a different builder like Kaniko with the plugin https://github.com/jenkinsci/kubernetes-plugin/blob/master/examples/kaniko-declarative.groovy On Thu, Sep 30, 2021 at 2:05 AM 'Mario Rodriguez' via Jenkins Users < jenkinsci-users@googlegroups.com> wrote: > Hello, Kubernetes project is

Kubernetes plugin for Jenkins after dockershim runtime is deprecated

2021-09-29 Thread 'Mario Rodriguez' via Jenkins Users
Hello, Kubernetes project is planning to deprecate support for dockershim runtime is version 1.20 and fully drop it in version 1.24 as indicated here: https://kubernetes.io/blog/2020/12/02/dockershim-faq/ Reading about the impacts of dockershim removal here: https://kubernetes.io/docs/tas