Posts

Showing posts from 2021

Dynamic Jenkins agent in Kubernetes

Image
Continuing the article about installing Jenkins in kubernetes , we will setup a dynamic agent for jenkins so that when we build the application, jenkins will launch pod automatically and build our application under the kubernetes. For this to work, you should have this following condition: Jenkins installed in Kubernetes (you can follow this article ) Kubernetes plugin for jenkins Install Kubernetes Plugin Go to Dashboard ⟶ Manage Jenkins ⟶ Manage Plugins ⟶ Available Tab, select kubernetes plugin Click Download and restart

Persistent Jenkins using Longhorn in Kubernetes

CI/CD consist of automation, there are so many tools that can be used to automate this process. One of them is Jenkins, in this article, I will show how to deploy Jenkins in kubernetes using persistent disk with Longhorn. Below are the task that we will do to deploy jenkins persistent disk in kubernetes: Create persistent volume yaml. Create persistent volume claim yaml. Create service account yaml. Create deployment yaml. Create service yaml. Create ingress yaml. Deploy the configuration.

Kubernetes Cluster using RKE2 HA and Rancher

Image
I will show how to install kubernetes cluster with High Availibility using RKE2 and install Rancher to manage the cluster under ubuntu. To simplify access to the application deployed in the cluster, I set up nginx as load balancer to forward domain name request to the application. Here, I use simple ansible script to install the cluster. Server Architecture