Sitemap

Jenkins in Kubernetes Using Terraform

8 min readMay 26, 2024

Please do support me by following me in medium , and may be through buying me a coffee, thanks.

Now immediately lets jump into the Implementation of Jenkins in EKS.

Following is the Architecture which i have tried to represent it better.

Press enter or click to view image in full size

Agenda:

  1. Creating EKS Cluster through Terraform code
  2. Deploying the Load Balancer controller through Terraform Code
  3. Deploying the Jenkins in EKS Cluster we created through terraform Code.
  4. Using secrets Manager to store jenkins initial password in it.
  5. Creating the storage class (SC) , Persistent Volume Claim (PVC) through Terraform.
  6. Deploying the Sample Application through Jenkins which we deployed in EKS.
  7. Leveraging the KANIKO operator for containerization of application and pushing into ECR REPO.

Prerequisites:

  1. Terraform Should be installed

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web
Already have an account? Sign in
Phanindra Sangers

Written by Phanindra Sangers

AWS Community Builder || CKS CKAD CKA Certified || SRE/DEVOPS ENGINEER || https://www.buymeacoffee.com/phanindra_sangers

No responses yet

Write a response