4 ms·
Thanks for the comment! Interesting questions :) > If going the Jenkins route, why run it in Kubernetes when there are battle tested alternatives? With full i
by antoniaklja 5y ago
Thanks for the comment! Interesting questions :)
> If going the Jenkins route, why run it in Kubernetes when there are battle tested alternatives?
With full interoperability with Kubernetes, we can take an advantage of built-in capabilities like declarative configuration, autoscaling, auth, etc. The old static VM-based approach, might be not effective cause you need to build everything around that VM - provisioning scripts, maintenance, autoscaling, security, etc. A lot of manual work and effort at the end of the day :)
> If going the Kubernetes route, why not use a Kubernetes native CI system?
There are no Kubernetes native CI systems, Kubernetes itself doesn't provide CI/CD capabilities. It's just another software with interoperability in this environment :)
Moreover, I'd say the effort related to migration two the new "battle tested" CI/CD system might be significant. Especially, in a large, complex deployment strategies.
For people already familiar with Jenkins ways of working and willing to explore k8s ecosystem, this might be good starting point.
- verdverm 5y agoWith Jenkins on Kubernetes, you now need two levels of autoscaling, Jenkins workers and Kubernetes cluster. Without advanced configuration you will have many underutilized nodes. Jenkins has builtin scaling for VM workers. Those same points about provisioning and security apply to all software, regardless of running in K8s or not. There are Kubernetes native CI systems, many of them. Tekton Pipelines is the basis for many like Jenkins X (the next gen Jenkins)