How to setup EKS Cluster & Deploy Springboot Microservices into EKS using Helm and Jenkins Pipeline

Поділитися
Вставка
  • Опубліковано 11 вер 2024
  • www.coachdevop...
    how to automate build and deployment of Springboot Microservices Docker Container into Elastic Kubernetes Cluster(EKS) using Helm and Jenkins pipeline.
    Jenkins pipeline will:
    - Automate maven build(jar) using Jenkins
    - Automate Docker image creation
    - Automate Docker image upload into Elastic container registry(ECR)
    - Automate Springboot docker container deployments into Elastic Kubernetes Cluster using Helm charts
    Pre-requisites:
    1. EKS cluster needs to be up running. Click here to learn how to create Amazon EKS cluster.
    www.coachdevop...
    2. Jenkins instance is up and running
    3. Install AWS CLI on Jenkins instance
    4. Helm installed on Jenkins instance
    5. Install Kubectl on Jenkins instance
    6. Install eksctl on Jenkins instance
    7. Install Docker in Jenkins and Jenkins have proper permission to perform Docker builds
    8. Make sure to Install Docker, Docker pipeline
    9. Create ECR repo in AWS
    10. Dockerfile created along with the application source code for springboot App.
    11. Namespace created in EKS cluster

КОМЕНТАРІ • 64

  • @samuelhaile5591
    @samuelhaile5591 Рік тому +2

    Thank you Coach. This was great.

  • @sangativamsikrishna1691
    @sangativamsikrishna1691 Рік тому +1

    Thank you Soo Much for this video, really nice explanation with all Stages. I have been looking for this pipeline from many days, finally you made it very clear.
    Thank you.

  • @RMS777
    @RMS777 Рік тому +1

    Automate Springboot Microservices
    Useful upload

  • @sagar1689
    @sagar1689 10 місяців тому +1

    Very Detailed explanation.. thank you!!

  • @vaiibhavshirodkar1902
    @vaiibhavshirodkar1902 Рік тому +2

    As always videos are to the point with actual handons.
    Request you to please make video on Jenkins shared library.😊

    • @DevOpsCoach
      @DevOpsCoach  Рік тому

      Sure Vaibhav..

    • @Chaloobolo
      @Chaloobolo Рік тому

      @@DevOpsCoach Is there any paid courses available ? I'm happy to take that or personal mentoring.

  • @user-bx8qx4hy5p
    @user-bx8qx4hy5p Рік тому +1

    thanks, sir, for the beautiful explanation🥳🥳 . Highly recommend to my friends as well

  • @satyanarayanbandha2218
    @satyanarayanbandha2218 9 місяців тому +1

    Thank you.. its very useful..

  • @modoukane2158
    @modoukane2158 5 місяців тому +1

    Thank you very much

  • @kirane5911
    @kirane5911 7 місяців тому

    Very good Explanation. Thank you sir

  • @kaushikmitra1982
    @kaushikmitra1982 Рік тому

    Most amazing explanation Sir !!!

    • @DevOpsCoach
      @DevOpsCoach  Рік тому

      Thanks a ton, please keep supporting

  • @bharath4195
    @bharath4195 Рік тому +1

    you always give good content😊🤩

  • @pankajmhaske09
    @pankajmhaske09 Рік тому

    Amazing, Thank You !!!

  • @catalyst_851
    @catalyst_851 Місяць тому

    What do you think about the architecture of deploying and using Jenkins as a pod using helm on eks?

  • @weilin4872
    @weilin4872 Рік тому +1

    good

  • @wazeeharaa8100
    @wazeeharaa8100 7 місяців тому

    Awesome

  • @Pradeepkumar-fb9zp
    @Pradeepkumar-fb9zp Рік тому +2

    29:28 you mentioned kube/config entry credentials but where did you mentioned K8S credentials in the pipeline....

    • @DevOpsCoach
      @DevOpsCoach  Рік тому

      you are right, that step is not required..I have updated steps

    • @Raushankumar-je4hm
      @Raushankumar-je4hm Рік тому

      @@DevOpsCoach SIr, Suppose we have multiple cluster then how the jenkins will come to know to install helm in which cluster?
      do we have to pass any env or kube-config for it in the stage?
      or do we have update the kube-config file using providing the below command in the pipeline?
      sh "aws eks --region update-kubeconfig --name "

  • @bharath4195
    @bharath4195 Рік тому +1

    can you do a video on DevOps real-time stages and where we get approval and deploy, thank you ☺

    • @DevOpsCoach
      @DevOpsCoach  Рік тому

      please watch my declarative pipeline video - ua-cam.com/video/f0Rbk1iVhnc/v-deo.html

    • @bharath4195
      @bharath4195 Рік тому +1

      @@DevOpsCoach thank you

    • @DevOpsCoach
      @DevOpsCoach  Рік тому

      @@bharath4195 you welcome

    • @bharath4195
      @bharath4195 Рік тому

      @@DevOpsCoach if you have time, can you explain about DevOps git branch work

  • @PrabhsimrandeepSingh-jf7us
    @PrabhsimrandeepSingh-jf7us 3 місяці тому +1

    This is very helpful but i want to setup with auto build Jenkins can you help please

    • @DevOpsCoach
      @DevOpsCoach  3 місяці тому

      you can configure webhooks to trigger auto builds in Jenkins..
      what are you trying to setup in Jenkins?

  • @ashwitapal4324
    @ashwitapal4324 Рік тому +1

    Request you to please make videos on Azure also AKS service

    • @DevOpsCoach
      @DevOpsCoach  Рік тому

      Hi Aswita, I have several videos on AKS. please go through my playlist --> ua-cam.com/play/PLJwvtUqYDmA4GPreZO-BfNw7xAjsVGeG2.html

  • @mubinbhojani2779
    @mubinbhojani2779 12 днів тому +1

    shoul we add this project on a resume as a fresher

  • @user-cg6sq4rc5t
    @user-cg6sq4rc5t 10 місяців тому +1

    Hi sir, what r the configuration u have used for ec2 instance launch?

    • @DevOpsCoach
      @DevOpsCoach  10 місяців тому +1

      Basic configuration for ec2 instance. Look at the pre-requisites

  • @shahbazahmad9999
    @shahbazahmad9999 Рік тому

    Sir please learn about how to deploy spring boot application on AWS ECS fargate with AWS code pipeline

  • @RAJUV-h3v
    @RAJUV-h3v Рік тому

    In this case Jenkins server is also act as k8s master node ? & other 2 are slaves right ? And What if my jenkins in other server(EC2) & K8s nodes are separate ?

  • @user-sd9yx6pi9s
    @user-sd9yx6pi9s 11 місяців тому

    sir, you havent mentioned how you configured eks cluster with jenkins pipeline? without kubeconfig we cannot connect to cluster right!

    • @DevOpsCoach
      @DevOpsCoach  11 місяців тому

      helm command will use kube config info that was created during cluster creation

  • @user-fm8uq1mz9x
    @user-fm8uq1mz9x Рік тому

    We need any plugin required in jenkins for eks, i didn`t see where you stored the eks credentials in pipeline

    • @DevOpsCoach
      @DevOpsCoach  Рік тому

      we are using kube config and stored in jenkins credentials.

  • @matetimallesh
    @matetimallesh Рік тому

    how can we search the scratch YAML code from Google or chatgpt?

  • @mrganesh7585
    @mrganesh7585 11 місяців тому

    How you have integrate K8s into Jenkins is missed

    • @DevOpsCoach
      @DevOpsCoach  11 місяців тому

      helm will use kube config to integrate with K8S cluster

  • @bharath4195
    @bharath4195 Рік тому

    how to deploy using helm chart, kubernetes is running on other instance ?

    • @DevOpsCoach
      @DevOpsCoach  Рік тому +1

      as long as you are able to access K8S clusters, and have permissions, you can deploy from any where

    • @bharath4195
      @bharath4195 Рік тому +1

      @@DevOpsCoach thank you

    • @DevOpsCoach
      @DevOpsCoach  Рік тому +1

      You welcome 🙏

  • @herespankaj
    @herespankaj Рік тому

    Hi @DevOps Coach - My pipeline runs the first 4 stages fine but fails in the last stage ie during helm Deploy and throws the below error message - No such property BUILD_NUMBER
    Could you please help.
    Also: org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: c512f2d9-9603-4434-a310-49f2476077a5
    groovy.lang.MissingPropertyException: No such property: BUILD_NUMBER for class: groovy.lang.Binding
    at groovy.lang.Binding.getVariable(Binding.java:63)