In this step by step tutorial we are going to build a CI/CD solution for a modern cloud application based on microservices with Jenkins X. By the end of this tutorial, we will have a working CI/CD solution that will enable us to develop, test and deliver our application in a fast and reliable way.
Tutorial Chapters
- Continuous Deployment with Kubernetes and Jenkins X (Overview)
- You’re here → Jenkins X Serveless Architecture (Chapter 1)
- Install & Setup Jenkins X Serverless (Chapter 2)
- Import Existing Project into Jenkins X (Chapter 3)
- Create Custom Build Pack for Jenkins X (Chapter 4)
- Integration Testing in Jenkins X (Chapter 5)
Before we start the hands-on part of the tutorial, we need to cover the main components of Jenkins X serverless infrastructure. The image below illustrates these components:
Let’s drill down a bit more:
- Kubernetes – The core of our cloud application development, where we build, test and deploy our applications.
- Docker image registry – That’s where we store our docker images after we build them. A small note on that, Jenkins X uses your cloud provider’s docker registry by default, but it can be configured to use some other private registry.
- Git – That’s where we save our code – Application source code, system configuration and system state.
- Chart Museum – Where we store our Helm charts.
- Testing Framework – Where we test our application changes, we use TestProject (it’s free).
- Kaniko – Builds our Docker containers.
- Skaffold – Deploys our Docker containers on Kubernetes.
- Draft – Creates our Helm charts for deploying our applications.
- Tekton – That what runs our pipelines.
- Jenkins X – Orchestrates the CI/CD process.
In the next chapter we will learn how to install and setup Jenkins X serverless.
Let go 👉 Chapter 2!