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

  Рет қаралды 22,101

DevOps Coach

DevOps Coach

Жыл бұрын

www.coachdevops.com/2023/05/h...
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.coachdevops.com/2022/02/c...
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

Пікірлер: 59
@samuelhaile5591
@samuelhaile5591 Жыл бұрын
Thank you Coach. This was great.
@DevOpsCoach
@DevOpsCoach Жыл бұрын
Glad you liked it..thank you!
@RMS777
@RMS777 Жыл бұрын
Automate Springboot Microservices Useful upload
@DevOpsCoach
@DevOpsCoach Жыл бұрын
thank you so much!
@sangativamsikrishna1691
@sangativamsikrishna1691 Жыл бұрын
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.
@DevOpsCoach
@DevOpsCoach Жыл бұрын
Glad you liked them
@sagar1689
@sagar1689 7 ай бұрын
Very Detailed explanation.. thank you!!
@DevOpsCoach
@DevOpsCoach 7 ай бұрын
Thank you so much 👏
@vaiibhavshirodkar1902
@vaiibhavshirodkar1902 Жыл бұрын
As always videos are to the point with actual handons. Request you to please make video on Jenkins shared library.😊
@DevOpsCoach
@DevOpsCoach Жыл бұрын
Sure Vaibhav..
@rohansri
@rohansri 10 ай бұрын
@@DevOpsCoach Is there any paid courses available ? I'm happy to take that or personal mentoring.
@pankajmhaske09
@pankajmhaske09 9 ай бұрын
Amazing, Thank You !!!
@DevOpsCoach
@DevOpsCoach 9 ай бұрын
Thank you too!
@user-bx8qx4hy5p
@user-bx8qx4hy5p 9 ай бұрын
thanks, sir, for the beautiful explanation🥳🥳 . Highly recommend to my friends as well
@DevOpsCoach
@DevOpsCoach 9 ай бұрын
It's my pleasure
@modoukane2158
@modoukane2158 Ай бұрын
Thank you very much
@DevOpsCoach
@DevOpsCoach Ай бұрын
You are welcome!
@satyanarayanbandha2218
@satyanarayanbandha2218 6 ай бұрын
Thank you.. its very useful..
@DevOpsCoach
@DevOpsCoach 6 ай бұрын
So nice of you
@kaushikmitra1982
@kaushikmitra1982 11 ай бұрын
Most amazing explanation Sir !!!
@DevOpsCoach
@DevOpsCoach 11 ай бұрын
Thanks a ton, please keep supporting
@kirane5911
@kirane5911 3 ай бұрын
Very good Explanation. Thank you sir
@DevOpsCoach
@DevOpsCoach 3 ай бұрын
You're most welcome
@bharath4195
@bharath4195 Жыл бұрын
you always give good content😊🤩
@DevOpsCoach
@DevOpsCoach Жыл бұрын
thank you so much!
@bharath4195
@bharath4195 Жыл бұрын
@@DevOpsCoach 😍🤝
@weilin4872
@weilin4872 11 ай бұрын
good
@DevOpsCoach
@DevOpsCoach 11 ай бұрын
Thanks
@wazeeharaa8100
@wazeeharaa8100 3 ай бұрын
Awesome
@DevOpsCoach
@DevOpsCoach 3 ай бұрын
thank you!
@shahbazahmad9999
@shahbazahmad9999 Жыл бұрын
Sir please learn about how to deploy spring boot application on AWS ECS fargate with AWS code pipeline
@user-wi5yx9jx5g
@user-wi5yx9jx5g 10 ай бұрын
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-fm8uq1mz9x
@user-fm8uq1mz9x 10 ай бұрын
We need any plugin required in jenkins for eks, i didn`t see where you stored the eks credentials in pipeline
@DevOpsCoach
@DevOpsCoach 9 ай бұрын
we are using kube config and stored in jenkins credentials.
@user-cg6sq4rc5t
@user-cg6sq4rc5t 7 ай бұрын
Hi sir, what r the configuration u have used for ec2 instance launch?
@DevOpsCoach
@DevOpsCoach 7 ай бұрын
Basic configuration for ec2 instance. Look at the pre-requisites
@bharath4195
@bharath4195 Жыл бұрын
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 - kzbin.info/www/bejne/nGG1k55nnrubpMU
@bharath4195
@bharath4195 Жыл бұрын
@@DevOpsCoach thank you
@DevOpsCoach
@DevOpsCoach Жыл бұрын
@@bharath4195 you welcome
@bharath4195
@bharath4195 Жыл бұрын
@@DevOpsCoach if you have time, can you explain about DevOps git branch work
@Pradeepkumar-fb9zp
@Pradeepkumar-fb9zp Жыл бұрын
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 8 ай бұрын
@@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 "
@ashwitapal4324
@ashwitapal4324 Жыл бұрын
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 --> kzbin.info/aero/PLJwvtUqYDmA4GPreZO-BfNw7xAjsVGeG2
@user-sd9yx6pi9s
@user-sd9yx6pi9s 8 ай бұрын
sir, you havent mentioned how you configured eks cluster with jenkins pipeline? without kubeconfig we cannot connect to cluster right!
@DevOpsCoach
@DevOpsCoach 8 ай бұрын
helm command will use kube config info that was created during cluster creation
@matetimallesh
@matetimallesh Жыл бұрын
how can we search the scratch YAML code from Google or chatgpt?
@bharath4195
@bharath4195 11 ай бұрын
how to deploy using helm chart, kubernetes is running on other instance ?
@DevOpsCoach
@DevOpsCoach 11 ай бұрын
as long as you are able to access K8S clusters, and have permissions, you can deploy from any where
@bharath4195
@bharath4195 11 ай бұрын
@@DevOpsCoach thank you
@DevOpsCoach
@DevOpsCoach 11 ай бұрын
You welcome 🙏
@mrganesh7585
@mrganesh7585 8 ай бұрын
How you have integrate K8s into Jenkins is missed
@DevOpsCoach
@DevOpsCoach 7 ай бұрын
helm will use kube config to integrate with K8S cluster
@herespankaj
@herespankaj 9 ай бұрын
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)
OMG 😨 Era o tênis dela 🤬
00:19
Polar em português
Рет қаралды 12 МЛН
100❤️
00:19
Nonomen ノノメン
Рет қаралды 38 МЛН
Would you like a delicious big mooncake? #shorts#Mooncake #China #Chinesefood
00:30
How to design a Deployment Pipeline (GitOps)
11:01
DevOps Journey
Рет қаралды 17 М.
Kubernetes Crisis: The 5 Must-Know Troubleshooting Scenarios!
10:36
Tech with Satyajit Das
Рет қаралды 24 М.
Learn Jenkins! Complete Jenkins Course - Zero to Hero
1:08:28
DevOps Journey
Рет қаралды 688 М.
How to set up AWS Kubernetes Jenkins pipeline? - Part 13
58:51
Rahul Wagh
Рет қаралды 29 М.
No Interview Calls ? | But how some people are getting Jobs ?
10:54
Abhishek.Veeramalla
Рет қаралды 25 М.
cool watercooled mobile phone radiator #tech #cooler #ytfeed
0:14
Stark Edition
Рет қаралды 7 МЛН
Mi primera placa con dios
0:12
Eyal mewing
Рет қаралды 458 М.
What’s your charging level??
0:14
Татьяна Дука
Рет қаралды 7 МЛН
Latest Nokia Mobile Phone
0:42
Tech Official
Рет қаралды 492 М.
How much charging is in your phone right now? 📱➡️ 🔋VS 🪫
0:11
Pratik Cat6 kablo soyma
0:15
Elektrik-Elektronik
Рет қаралды 8 МЛН