Publish Helm chart using GitHub pages
In this article, we are going to learn how to create Helm repository using GitHub pages to publish your Helm chart. Helm helps you to manage Kubernetes applications. Helm uses a packaging format called charts. A chart is a collection of files that describe a related set of Kubernetes resources. A single chart might be used to deploy your application to multiple environments such as test, staging, and production using a different set of values for each environment. Create GitHub...
Install Kubernetes External DNS on AWS EKS
In this article, we are going to learn how to setup external dns in your cluster. External DNS helps you to automatically manages the DNS records of your ingresses and services, saving you so much time!. In a nutshell, external DNS is a pod that runs in your EKS cluster and monitors all of your ingresses. When it detects an ingress with a defined host, it automatically retrieves the hostname as well as the endpoint and generates a record in Route53 for that resource. If the host is updated...
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....