Building Docker Images in Kubernetes with Kaniko for Jenkins CI
Jul 28, 2024
Kaniko in Kubernetes with Jenkins
The Case for Kaniko If we need to build a Docker image inside a k8s cluster, Kaniko is the tool for the job.
I tried using k8s agent executers in Jenkins on my k3s cluster running on Linux containers. Since I’m running containerd as the container runtime in k3s, and did not want to run a priviledged container for building the images, I did some research on the subject, which made me stumble upon Kaniko1.…