How to clone a private Git repository in Tekton pipeline
In this article, we are going to learn how to clone a private Git repository in Tekton pipeline using SSH. In here we are using GitHub as the Git repository and we are going to use a SSH key to authenticate with the GitHub repository. Let's get started. Generate SSH key First, we need to generate a SSH key pair. We can do that by using the following command. 1ssh-keygen -t rsa -b 4096 -C "[email protected]" This will ask some questions like passphrase and location to save key...
Add authentication to Tekton dashboard
In this article, we are going to learn how to enable authentication to your Tekton dashboard using OAuthProxy2 and GitHub. By default Tekton dashboard doesn't have any authentication. So we are going to add authentication to our Tekton dashboard. Let's get started. Prerequisite A running ingress controller in your cluster In here we are going to use Ngix Ingress Controller. If you don't have Ngix Ingress Controller in your cluster, you can follow this article to install Ngix...
Install Ngix Ingress Controller in EKS
In this article, we are going to learn how to install Ngix Ingress Controller in EKS with enabled SSL. AWS recommends using ALB Controller for EKS Cluster but there are some limitations in ALB Controller. So we are going to use Ngix Ingress Controller for our EKS Cluster. Let's get started. Prerequisite EKS Cluster Add Helm Repository In here we are going to use Helm to install Ngix Ingress Controller. So first we need to add Helm repository to our local machine. To do that run...
How to get a free SSL Certificate from AWS
In this article, we are going to learn how to get a free SSL Certificate from AWS. In our previous article, we have discussed how to add a domian with AWS Route 53. If you haven't read that article, I recommend you to read that article first. In this article I am not going to explain what is SSL and why we need it. If you want to know more about SSL, you can read this article by Cloudflare. For this tutorial, I am going to use AWS Certificate Manager (ACM) which is allow you easily...
How to add a domain with Amazon Route 53
In this article, I will show you how to add a domian with AWS Route 53. I will use Namecheap as my domain registrar(you can use any domain registrar). Prerequisite Existing Domain AWS Account Create Hosted Zone First, you need to create a Hosted Zone in AWS Route 53. To do that, go to the Route 53 console and click on Hosted Zone. Then click on Create Hosted Zone. It will navigate you to page like this. Enter your domain name and then select Public hosted zone. Then...
How to upgrade Jenkins to latest version
In this short article, we will learn how to upgrade Jenkins to latest version. Log in to your Linux machine and let's get started. Stop Jenkins service First, we need to stop the Jenkins service. Run the following command to stop the Jenkins service. 1sudo systemctl stop jenkins Change work directory Change working directory to the Jenkins war file location. Run the following command to change the working directory. 1cd /usr/share/java Some times, the Jenkins war file location will...
Cloudwatch Container Insight in depth
In our previous article, we learned how to setup cloudwatch container insights for our eks cluster using Fleuntd. In this article, we will learn how to work with log groups and metrics cloudwatch container insights in depth. Let's get started. Prerequisites You need to have an EKS cluster with Clouwatch Container Insights enabled. If you don't have one, you can follow this article to setup cloudwatch container insights for your eks cluster. Access to Clouwatch Dashboard To access...
Setup Cloudwatch Container insights for EKS Cluster using Fluentd
In today's article, We going to learn to how to enable AWS CloudWatch feature to your EKS cluster with the help of Fluentd. This will help you to monitor, isolate, and diagnose performance issues for your containerized applications. It provides near real-time visibility into resource utilization, application performance, and host health of your Amazon Elastic Kubernetes Service (EKS) clusters and the nodes they run on. Create a EKS Cluster Before we start, we need to create a EKS cluster....
How to deploy cluster Autoscaler in AWS EKS
In today's article, I will show you how to deploy Cluster AutoScalar on AWS EKS cluster. Cluster Autoscaler is a tool that automatically adjusts the size of a Kubernetes cluster in response to workload demand. It works by periodically evaluating the resource utilization of the pods running on the cluster and comparing it to the target utilization set by the user. If the actual utilization exceeds the target, Cluster Autoscaler will spin up additional nodes in the cluster to accommodate the...
Setup GitHub Webhook for Jenkins
In today's article, I will talk about how to set up a GitHub webhook for Jenkins. This is really useful when you need to trigger a Jenkins job when a new commit has been pushed to your GitHub repository. Tgithub webhook secret, his method is really useful to automate your CI/CD pipeline and enhance the efficiency of building, testing, and deploying your code. Let's get started. Prerequisites Jenkins Server If you don't have a Jenkins server, you can follow this article to set up your own...