Тёмный
No video :(

Jenkins Pipeline for Microservices Deployment to EKS Cluster | Jenkins Kubernetes Deployment to EKS 

DevOps Coach
Подписаться 21 тыс.
Просмотров 39 тыс.
50% 1

www.cidevops.c...
Source code url is bitbucket.org/...
We will use Springboot Microservices based Java application. I have already created a repo with source code + Dockerfile. The repo also have Jenkinsfile for automating the following:
- Automating builds using Jenkins
- Automating Docker image creation
- Automating Docker image upload into Docker Hub
- Automating Deployments to Kubernetes Cluster
Pre-requistes:
1. Amazon EKS Cluster is setup and running. Click here to learn how to create Amazon EKS cluster.
2. Jenkins Master is up and running
3. Setup Jenkins slave, install docker in it.
4. Docker, Docker pipeline and Kubernetes Deploy plug-ins are installed in Jenkins
5. Docker hub account setup in cloud.docker.com
6. Install kubectl on your instance

Опубликовано:

 

29 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 66   
@raghavrao1866
@raghavrao1866 2 года назад
I just subscribed to your channel and visited your website. Awesome, Going forward would expect more content in devops and DevOps interview experience
@DevOpsCoach
@DevOpsCoach 2 года назад
Awesome, thank you!
@prashantbastapure8677
@prashantbastapure8677 2 года назад
Great video... simple to easily understood
@DevOpsCoach
@DevOpsCoach 2 года назад
Glad it was helpful!
@JavaPath
@JavaPath 3 года назад
Video was simply awesome, very perfect
@DevOpsCoach
@DevOpsCoach 3 года назад
Glad it was helpful ☺️🤝
@mbhaktavatchalam4502
@mbhaktavatchalam4502 Год назад
Sir your explanation and documentation superb we need your devops real time coaching
@DevOpsCoach
@DevOpsCoach Год назад
please take a look at many playlists in my channels
@elad3958
@elad3958 3 года назад
I just subscribed to your channel, outstanding content. Thank you so much Coach.
@DevOpsCoach
@DevOpsCoach 3 года назад
Thank you so much El Arnold 🙏
@rameshpattipaka9901
@rameshpattipaka9901 3 года назад
Nice tutorial with clear explanation. but one question. here you are connecting to k8s cluster from jenkins master by configuring k8s configuration credential and role bindings. but k8s worker nodes are not part of jenkins slave nodes. So, can we directly add k8s worker nodes as jenkins slave nodes and deploy apps as you explained in video.
@arunprabu6570
@arunprabu6570 2 года назад
Fantastic work
@DevOpsCoach
@DevOpsCoach 2 года назад
Thank you so much, glad you liked it 👍
@senthilc7418
@senthilc7418 3 года назад
Good video bro👍 keep going🔥
@DevOpsCoach
@DevOpsCoach 3 года назад
Thank you, I will
@viciouz25
@viciouz25 3 года назад
Perfecto and well explained. Thanks
@DevOpsCoach
@DevOpsCoach 3 года назад
Glad you liked it
@kiranduba
@kiranduba 3 года назад
Thanks for this great video : It would be great if you can share video on below steps : - Jenkins Master setup on EC2 - Setting up Jenkins slave & installing docker in it.
@DevOpsCoach
@DevOpsCoach 4 месяца назад
please watch this video --> ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-kHJGYTcLNj0.htmlsi=a-CB2SkwGPgLN3xQ
@dayanandswami8109
@dayanandswami8109 9 месяцев назад
kindly request you to make a video with same architecture using Bamboo. Your support is highly appreciated all the time.
@sebastianfarias5670
@sebastianfarias5670 2 года назад
Amazing video my friend, thank you ! +1 subscriber
@DevOpsCoach
@DevOpsCoach 2 года назад
Thanks for the sub!
@SoumyaDassrd
@SoumyaDassrd 2 года назад
Thanks Coach 👌
@DevOpsCoach
@DevOpsCoach 2 года назад
Any time!
@jerinvarghese160
@jerinvarghese160 9 дней назад
everything is perfect but Jenkins removed that continues deploy plugins recently. Do you have any other ways ?
@DevOpsCoach
@DevOpsCoach 8 дней назад
yes..please watch this video for the right plug-in --> ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Ojb9Rh0BcvA.html
@AjayKumar-xn1mb
@AjayKumar-xn1mb 2 года назад
nice video. but i have a question on mind. Is it secure that directly using kubeconfig file in jenkins credentials.?
@kumars7229
@kumars7229 3 года назад
Hi thanks Video is very clear on understanding hands on Jenkin pipeline. Do you have any plan for Openshift?
@DevOpsCoach
@DevOpsCoach 3 года назад
Will work on it
@roiromano2059
@roiromano2059 2 года назад
Great video. Any chance you can add how to define image:tag as a varible in jenkins?
@ayushsinghrathore7186
@ayushsinghrathore7186 3 года назад
one question here? how can you say that it is deploying to EKS? you haven't added any ssh-keys under jenkins credentials? you didn't setup the EKS cluster here as well. PLease explain
@DevOpsCoach
@DevOpsCoach 3 года назад
look at the pre-requistes
@palanisamy-dl9qe
@palanisamy-dl9qe 3 года назад
Thanks for the video. kubectl create clusterrolebinding cluster-system-anonymous --clusterrole=cluster-admin --user=system:anonymous After adding above RBAC to anonymous user my jenkins not able to deploy the pod into KES cluster + kubectl auth can-i list pods yes [Pipeline] sh + kubectl auth can-i create deployments no ERROR: script returned exit code 1 Finished: FAILURE
@gauravraj7674
@gauravraj7674 3 года назад
i have created jenkins slave and master and installed docker on slave. connected master slave as well but in pipeline while executing its showing error. DOCKER: COMMAND NOT FOUND.
@DevOpsCoach
@DevOpsCoach 3 года назад
you need to install docker on slave machine.
@mohamedabdel-aziz7453
@mohamedabdel-aziz7453 3 года назад
@DevOps Coach is there a way I can make the pipeline push to a private docker registry instead of a private one ? and then pull the image from the private registry to use it in creating the pods ?
@DevOpsCoach
@DevOpsCoach 3 года назад
yes you can...please watch other video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-xWexnx8gro8.html
@manitejagajminkar4327
@manitejagajminkar4327 3 года назад
ERROR: Kubernetes deployment ended with HasError I get this error can you say what exactly is the error with deployment ,manually am able to do but in pipeline am getting this error in last stage of jenkins
@DevOpsCoach
@DevOpsCoach 3 года назад
www.coachdevops.com/2020/11/code-error-403-when-trying-to-access.html
@DevOpsCoach
@DevOpsCoach 3 года назад
check the above link for the fix
@gameosapiens860
@gameosapiens860 Год назад
kubernetes-CD plugin is suspended by Jenkins.
@DevOpsCoach
@DevOpsCoach Год назад
yes you can watch this video.. this video using Kubernetes CLI plug-in ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-C1BlN66s9yo.html
@gameosapiens860
@gameosapiens860 Год назад
@@DevOpsCoach Thanks, but in my case I don't have permissions to access instance, need to run Jenkins pipelines through yaml files only.
@Amarjeet-fb3lk
@Amarjeet-fb3lk 3 года назад
Where is master node which manages the cluster?
@DevOpsCoach
@DevOpsCoach 3 года назад
master node is control pane provided by AWS itself...we only create worker nodes
@mohamedabdel-aziz7453
@mohamedabdel-aziz7453 3 года назад
I am facing an issue that after I deploy the app on EKS the service external IP remains stuck at : and I can't access the spring boot app from a browser any suggestions how to solve that ?
@DevOpsCoach
@DevOpsCoach 3 года назад
check the image...whose image are you using? check deployment yaml file
@mohamedabdel-aziz7453
@mohamedabdel-aziz7453 3 года назад
@@DevOpsCoach I am using the same repo as in this video ..I asked a friend and they suggested port forwarding so I am now able to access the app on my local machine thank you very much
@DevOpsCoach
@DevOpsCoach 3 года назад
What command did you do?
@mohamedabdel-aziz7453
@mohamedabdel-aziz7453 3 года назад
@@DevOpsCoach kubectl port-forward 8085:8085 then on my localhost I entered localhost:8085 and was able to access the app from localhost
@tusharjoshi5023
@tusharjoshi5023 3 года назад
Hello I'm facing this error failed to get default registry endpoint from daemon (Got permission denied while trying to connect to the Docker daemon socket
@DevOpsCoach
@DevOpsCoach 3 года назад
make sure you install Docker on Jenkins ec2 instance and also add jenkins user to Docker group
@tusharjoshi5023
@tusharjoshi5023 3 года назад
@@DevOpsCoach I've installed docker in slave machine also have to install in master machine?
@DevOpsCoach
@DevOpsCoach 3 года назад
oh ok. did you try this command? sudo usermod -aG docker jenkins
@DevOpsCoach
@DevOpsCoach 3 года назад
and you restart Jenkins service
@narendrabhupathiraju8986
@narendrabhupathiraju8986 3 года назад
how can we add email approval stage inside pipeline?
@DevOpsCoach
@DevOpsCoach 3 года назад
You need to use Email Extension Plugin and/or Email Extension Template Plugin
@nandkumarpanchal5321
@nandkumarpanchal5321 10 месяцев назад
Nice Video.. how to test code in this pipiline?
@DevOpsCoach
@DevOpsCoach 10 месяцев назад
you can use linter or replay option
@andrewss6591
@andrewss6591 3 года назад
hello Bro, can you please share the base code with docker and yaml file
@DevOpsCoach
@DevOpsCoach 3 года назад
check the details in the video
@pawannani6597
@pawannani6597 3 года назад
Hloo bro....Please make video using Docker private registry instead of docker hub....Thanks in advance by the way how can i reach you
@DevOpsCoach
@DevOpsCoach 3 года назад
Hi Pawan thanks for the feedback, I do have a video on setting up nexus as private docker registry. Please watch here - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-YARrewGcVHc.html
@DevOpsCoach
@DevOpsCoach 3 года назад
I will post video on integrating with Jenkins pipeline too!
@pawannani6597
@pawannani6597 3 года назад
How can i reach you broo
@DevOpsCoach
@DevOpsCoach 3 года назад
@@pawannani6597 check my website for contacts info - www.coachdevops.com
Далее
Jenkins on Amazon EKS - The easy way
23:33
Просмотров 21 тыс.