Skip to content

This repo is having helm charts of Nginx ingress controller, Prometheus, Kube state metrics and deploying sonarqube in EKS using terraform in Jenkins pipeline.

Notifications You must be signed in to change notification settings

selvanayaki678/k8s-infra-helm-charts

Repository files navigation

Helm charts Deployment in EKS with Terraform using Jenkins CICD

This Jenkins pipeline automates the deployment of below resources into an Amazon EKS cluster using Terraform. The pipeline includes the deployment of the following resources:

  1. Nginx Ingress Controller Helm Chart:

    • The Nginx Ingress Controller is crucial for enabling and managing Ingress resources in the EKS cluster.
    • Helm chart for Nginx Ingress Controller can be found here.
  2. Prometheus Helm Chart:

    • Prometheus is utilized for monitoring and analyzing the performance of the application.
    • The official Helm chart for Prometheus was not downloaded. Instead, follow the setup instructions here.
  3. Kube State Metrics Helm Chart:

  4. SonarQube:

    • SonarQube is a static code analysis tool for assessing code quality.
    • Deploying SonarQube server as a pod and exposing it as publicly accessible.

Terraform Execution in Jenkins:

  • Jenkinsfile that includes the Terraform steps for deploying the Nginx Ingress Controller, Prometheus, and SonarQube to an Amazon EKS cluster.
  • In Terraform, utilizing the Kubernetes and Helm providers facilitates the deployment of resources into an Amazon EKS cluster. The Helm and Kubernetes provider enables the deployment of the Nginx Ingress Controller, Prometheus, and SonarQube into the specified Kubernetes environment. image
  1. terraform init:

    • Initialize the Terraform working directory.
  2. Terraform Plan:

    • Generate and show an execution plan.
  3. terraform apply:

    • Apply the changes as per the Terraform plan.

Helm deployment to EKS with screenshots

Nginx Ingress Controller image

Prometheus image

Sonarqube image

About

This repo is having helm charts of Nginx ingress controller, Prometheus, Kube state metrics and deploying sonarqube in EKS using terraform in Jenkins pipeline.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published