Тёмный
No video :(

CI CD Pipeline Using Jenkins | Deploy Docker Image to Kubernetes using Jenkins | JavaTechie 

Java Techie
Подписаться 174 тыс.
Просмотров 139 тыс.
50% 1

This tutorial will help you to understand complete devops end to end integration where We are going to cover Build Docker Image using Jenkins Pipeline and Push Docker Image to Docker Hub and next deploy it to kubernetes cluster step by step using Jenkins Pipeline
#javatechie #Jenkins #Kubernetes #Devops
Devops part 1 video : • Build & Push Docker Im...
k8s playlist :
• Kubernetes Tutorial | ...
k8s medium :
/ kubernetes-tutorial-ru...
GitHub:
github.com/Java-Techie-jt/dev...
Blogs:
/ javatechie
Facebook:
/ javatechie
guys if you like this video please do subscribe now and press the bell icon to not miss any update from Java Techie
Disclaimer/Policy:
--------------------------------
Note : All uploaded content in this channel is mine and its not copied from any community ,
you are free to use source code from above mentioned GitHub account

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

 

24 июн 2022

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 142   
@shreyanskothari8452
@shreyanskothari8452 4 месяца назад
A perfect incremental tutorial, I suggest folks to try along with the video.
@emredemiralay2675
@emredemiralay2675 Год назад
The most beautiful content about ci/cd i have ever seen , thanks
@GowdaVaishu
@GowdaVaishu 10 дней назад
I found perfect video , No one had like this explanations
@adimardev1550
@adimardev1550 Год назад
i just decided to learn devops yesterday, and ie watched lots of videos on devops and i'm starting to get it. the hardest and the most importand one is to understand the concept. once you understand the big picture, it will be a lot easier to dive deep onto each technologies. i've learned to integrate docker, next is jenkins and kubernetes. the more i go the more it become easier. this is true in everyway of learning proccess.
@ismaeltrocha6319
@ismaeltrocha6319 Месяц назад
Hi adi, how ya going with it? did u still learning? which path are you follow to convert yourself into a devops?
@user-js4yx6sz5c
@user-js4yx6sz5c 6 месяцев назад
Sir, This is "Simple, Crispy, Crystal clear, Superb and Awesome".
@yadavyogesh
@yadavyogesh Год назад
amazing video... explained in very simple manner.
@GangaRam-ou1zn
@GangaRam-ou1zn 2 года назад
Hi it was really nice videos Iam following your insightfull videos ...really thank you
@rabatstadttv
@rabatstadttv Год назад
Everybody should understand that If you want to start devops this video is a motivational one for you all, you consolidate all the important tools in this video, from start to deployment. thank you for video, it is helpful a lot, and I really appreciate what you've done for us all.
@Javatechie
@Javatechie Год назад
Thanks buddy 😊
@rabatstadttv
@rabatstadttv Год назад
@@Javatechie you deserve it.
@mobinshah1
@mobinshah1 2 года назад
Wow this is awesome. Thanks
@FaiazZaman
@FaiazZaman 2 года назад
Very nice 👌
@draganpajic4376
@draganpajic4376 7 месяцев назад
Excellent!!!
@severtone263
@severtone263 6 месяцев назад
Excellent explanation. Thank you
@trendinggadgets07
@trendinggadgets07 2 года назад
Thanks u sir g, please post more videos on devOps ☺🙏
@aahnaram6330
@aahnaram6330 Год назад
Hi Basant Ji , Excellent explanation sirji really awesome , thanks a ton your videos , just now i subscribed ur channel sirji now on words i follow ur videos forever 🙂
@Javatechie
@Javatechie Год назад
Thanks buddy 😊 keep learning
@naraharig1625
@naraharig1625 2 года назад
Bro I finally completed It thanks bro
@awaitingforsunrise
@awaitingforsunrise Год назад
Hi, Basant. As Kubernetes cd plugin, mentioned in your tutorial, is dead, which plugin do you recommend to use instead? It was suspended due an unresolved security issues, so I guess there is a major reason not to use it completely. Are you planning to update this tutorial with actual plugin for deploying to Kubernetes?
@sreesri8492
@sreesri8492 2 года назад
Thanks bro for posting
@AshisRaj
@AshisRaj 2 месяца назад
excellent explanation
@rangarajugottumukkala9380
@rangarajugottumukkala9380 Год назад
Thank you, sir. I learned so many concepts from your tutorials and helping me in my job and for interviews
@tonycavanagh1929
@tonycavanagh1929 Год назад
How did you get past "kubernetes continuous deploy" plugin being disabled ?.
@JacobClaytor
@JacobClaytor Год назад
@@tonycavanagh1929 Exactly my question. No one seems to be acknowledging that this plugin cannot be installed. And kubernetes-cli does not seem to be doing what I want it to do.
@yadwindersingh600
@yadwindersingh600 Год назад
Same issue I faced even after uploading the sheet for deploying part. Still stuck there.
@Javatechie
@Javatechie Год назад
Guys when I tried this tutorial these plugins are available now if it's not there please check in documents definitely there should be some alternative. Otherwise how people are doing this ci/cd operation
@cuteangel1726
@cuteangel1726 2 года назад
thanks for this video
@girishanker3796
@girishanker3796 3 месяца назад
great video🔥
@amnaarshad3812
@amnaarshad3812 2 месяца назад
worderfull video
@java-aws-techie
@java-aws-techie 2 года назад
Thanks for posting. Very insightful
@AhmedKhaled-he9mf
@AhmedKhaled-he9mf 2 года назад
Thanks very very much
@ricardorqr
@ricardorqr 2 года назад
Now, you cloud do a third part deploying the cluster into the AWS EKS. What do you think? 😁
@itsnarahari
@itsnarahari 2 года назад
Interested on these
@NewsUpdate-nf4dj
@NewsUpdate-nf4dj 2 года назад
Yes please
@Javatechie
@Javatechie 2 года назад
Will do buddy
@RishavKumar28
@RishavKumar28 Год назад
@@Javatechie Hello Basant, I am also looking for the same, to pull from ECR to EKS using helm chart and all please make one on these.
@RishavKumar28
@RishavKumar28 Год назад
@@Javatechie Hello Basant, I am also looking for the same, to pull from ECR to EKS using helm chart and all please make one on these.
@rishiraj2548
@rishiraj2548 Год назад
Thanks
@sachu86
@sachu86 Год назад
Thanks Basant
@Sebastian-zs8cp
@Sebastian-zs8cp 2 года назад
hi, can you make grpc in spring boot to connect to flutter Smartphone app that only the smartphone app has permission to connect to the API no other? thx
@ashvinparihar9342
@ashvinparihar9342 Год назад
Awesome content sir. Request you to please add the first part of this video in Jenkins Playlist. :)
@Javatechie
@Javatechie Год назад
Sure buddy, it's not there in the playlist?
@ashvinparihar9342
@ashvinparihar9342 Год назад
@@Javatechie Yes sir, its not present. I was watching your Jenkins playlist and come to know that there is a first part as well of this video
@Javatechie
@Javatechie Год назад
Thanks buddy for letting me know. Added to the playlist and here is the link ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-PKcGy9oPVXg.html
@JustOnYoutube2023
@JustOnYoutube2023 2 месяца назад
could u please add versioning through jfrog, AKS or GKS , like real world setups, instead of minkube
@itsnarahari
@itsnarahari 2 года назад
kubectl logs -f will give you the runtime logs
@Javatechie
@Javatechie 2 года назад
Thanks buddy 😊
@user-xi7xu6go1s
@user-xi7xu6go1s Год назад
Hi for me the project is working fine and it gets deployed in Kubernetes but Basant there you are using a command for your minikube " minikube service springboot-k8ssvc --url " for getting the url to see if the pods are working but here im working in Kubernetes cluster only not minikube can you give me the exact command for this to see if its working or not.
@philipe1468
@philipe1468 6 месяцев назад
I have a question, can I use this architecture to have an API or performance testing process?
@archaps1856
@archaps1856 Год назад
Can you do a video on Jenkins+ Openshift for Spring Boot
@sukhanthn5352
@sukhanthn5352 Год назад
kubernetes continuous deploy plugin is not available is there any alternative plugin for that.
@abhishekgowlikar
@abhishekgowlikar Год назад
Can you help me more automate the process like here in the video using CI and CD we are doing the build through Jenkins using the build now button process, I want to make more automate the process like upon committing the code, Jenkins start build the upon code commit and start the whole process as you explain in the video and send the email both success and failure scenarios.
@RahulSharma-ie6mu
@RahulSharma-ie6mu 2 года назад
Dear Sir, I have followed your videos since when I started my career as a Java developer. Your videos are perfectly fine because it directly goes hands-on. I just want to know If my project contains multiple services like auth-service, master-service, user-service, and so on. Then what should be my strategy to use CI/CD in Jenkins to deploy the application?
@Javatechie
@Javatechie 2 года назад
You need to implement different ci/cd for each service
@RahulSharma-ie6mu
@RahulSharma-ie6mu 2 года назад
@@Javatechie Ok. Thank you Sir for providing me the solution.
@rishiraj2548
@rishiraj2548 Год назад
🙏🙏👍
@michelchaghoury9629
@michelchaghoury9629 2 года назад
great tutwe need more exqmples of spring boot and devops can you nake a video similar to this one but first there is tests (unit and integration) is a test fails the entire process fails and if all tests are successful then we continue with our pipelines please and keep going
@Javatechie
@Javatechie 2 года назад
This will work .just add test case if it fail then entire process will terminated
@michelchaghoury9629
@michelchaghoury9629 2 года назад
@@Javatechie ahh i do not need to do something or give commands to jenkins that if test fails stop immediately and if all tests are successful continue? Jenkins is smart enough to understand what to do with test cases?
@abidinberkay1
@abidinberkay1 Год назад
the kubernetes plugin is dead for jenkins so the video is dead... but you can still watch, cuz he is good guy :P
@Javatechie
@Javatechie Год назад
I will check its alternative and update buddy thank you
@jovelynobias5422
@jovelynobias5422 14 часов назад
kubernetes continuous deploy plugin is now deprecated. do you have an updated tutorial for this?
@mutturajdeval4841
@mutturajdeval4841 2 года назад
Superb looking for helm chart bro
@hassanaslam1536
@hassanaslam1536 Год назад
This pipeline is only for 1 time, what if you do the change in code and run the pipeline second time, it will fail because kubernets will give error that no change in deployment, how can you cope with it?
@kkkkkk67816
@kkkkkk67816 2 года назад
MBA guy can try for devops as a fresher ?
@matinpathan5186
@matinpathan5186 Год назад
Hi Basant , its very important question for me and you have the answer: Q: I am learning Devops from 6 to 7 month almost done with the tools but am worried about how to make practices or hands on real projects how will be real situation in real time.. Q2: How devops deal with developer and operation and get the necessory informatiom and then start deployment of application Q3: How to start am comfused now. Please can you give me guideness how can go forward.
@iamcool456
@iamcool456 Год назад
Even i'm also having same doubts
@Saravanan-lj9so
@Saravanan-lj9so 2 года назад
Thank you .Great one. I can see old Jenkin file. Can you please update.
@Javatechie
@Javatechie 2 года назад
Ohh my bad i forgot to update that
@juliocesarcamargoamaro2307
@juliocesarcamargoamaro2307 Год назад
Thank you ! Unfortunately I'm facing a problem, after pushing the image to my docker hub repository , I getting this error in deploy stage. ERROR: ERROR: io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred. ...... Caused by: hudson.remoting.ProxyException: java.io.IOException: Invalid DER: object is not integer
@Javatechie
@Javatechie Год назад
Please follow the steps as it is i did
@gxv6828
@gxv6828 2 года назад
First
@lalitbhamare
@lalitbhamare Месяц назад
Getting this error -ERROR: ERROR: io.fabric8.kubernetes.client.KubernetesClientException: Operation: [get] for kind: [Deployment] with name: I think some problem with Kubernetes plugin due to latest Jenkins version.
@mrjacksparrow8942
@mrjacksparrow8942 2 месяца назад
Is there anyother way integrating kubernetes with jenkins. rather using kubernetes deploy plugin. because the plugin effecting jenkins performance and making some security concerns.
@Javatechie
@Javatechie 2 месяца назад
Yes we can do that now in latest Jenkins version this plug-in itself not available so you just need to add kubernetes plug-in and rest approach all most same . I will share one reference
@emanfeah9960
@emanfeah9960 Год назад
hello i could'nt find this plugin
@lingrajbiradar4416
@lingrajbiradar4416 Год назад
how we can add ansible to this project?
@manjunathraju9557
@manjunathraju9557 3 месяца назад
Hello Techie, can you share the CI/CD jenkins k8 latest deployment video? becoz you explained in video jenkins has issue with k8 plugin, so it will be very hepful if you share me latest dployment video.
@Javatechie
@Javatechie 3 месяца назад
I haven't tried it but will check and update you shortly
@guruprasathsarvothaman1284
@guruprasathsarvothaman1284 Год назад
Good Video. Looks like Kubernetes CD plugin has been deprecated 3 days ago. Is there any alternative which can be used to deploy applications into Kubernetes Cluster?
@Javatechie
@Javatechie Год назад
You can downgrade and reuse it .
@guruprasathsarvothaman1284
@guruprasathsarvothaman1284 Год назад
@@Javatechie Thanks. I have not installed it already. Is there any place where I can download the old version of this plugin.
@kalandiparida6774
@kalandiparida6774 2 года назад
Sir, please make a video on "Moon Mark" (ଚନ୍ଦ୍ର ଛାପ)😊
@Javatechie
@Javatechie 2 года назад
Ha ha +2 memory 😂😂
@shivamsinghal7280
@shivamsinghal7280 2 года назад
Hello sir, can you please share a link to where can i download the downgrade version of KUBERNETES TO DEPLOY plugin.
@Javatechie
@Javatechie 2 года назад
I added that plugin in GitHub.please check in video description
@kanishkar3148
@kanishkar3148 Месяц назад
Why you are using kubernetes in minukube , in dockerdesktop itself we can enable the kubernetes , we can use that , is more simple and easy !! Or is there any other reasons to use in minukube rather than docker desktop !?
@Javatechie
@Javatechie Месяц назад
No not any other reason . When I created this video that time docker desktop don't support k8s . But you can use docker desktop one that's pretty cool 😎
@kaushalyalaknathtissera5130
If this plugin stops working in jenkins, what can be the alternative? , I think the plugin won't be supporting Jenkins near future.
@Javatechie
@Javatechie Год назад
Not aware about the solution but the workaround can be downgrading the plug-in version. I have share the link in video description
@saikrishna4661
@saikrishna4661 Месяц назад
Sir, I have a small question, what if I want to deploy the whole thing in AWS? Do we deploy the whole kubernetes cluster we created through CI/CD into EC2? If yes, how do we do that?
@Javatechie
@Javatechie Месяц назад
This deployment videos I will publish after completing Helm tutorial
@saikrishna4661
@saikrishna4661 Месяц назад
@@Javatechie thanks sir
@gunturrecipes951
@gunturrecipes951 Год назад
Hello your video is quite helpful, but i am facing one issue . when trying to push to docker hub it is not accepting credentials it is throwing plain creds is not accepted. Please clarify if it has anything to do with latest docker version
@Javatechie
@Javatechie Год назад
No check in managed Jenkins the way i did please follow as it is 😊
@abdulali-ft3ct
@abdulali-ft3ct Год назад
U need to add credentials docer login -u name -p password
@sivabalarasup7556
@sivabalarasup7556 11 месяцев назад
@@abdulali-ft3ct Thank you. But in this way, we are not securing our credentials, right?
@harirocking1530
@harirocking1530 10 месяцев назад
i got a question from interviewer, if a problem arises after deploying the yaml file, how will u resolve it like pods got deployed but they landed in a problem in crashloop back adapter, i told i will check in git terminal. he said how can u do that in a local system ??.is there any other way to check through jenkins whether my pods are deployed and if not troubleshoot it ???
@Javatechie
@Javatechie 10 месяцев назад
Simple in Jenkins check the console output then validate which stage it failed and there must be error mention in console just check and fix it .
@harirocking1530
@harirocking1530 10 месяцев назад
for example: i have found the error code. but i want to debug by running the commands like kubectl describe pod Pod_name and kubectl logs pod pod_name. Were should i have to run these commands on the jenknis server or should i have to create new server and run them on it@@Javatechie
@Javatechie
@Javatechie 10 месяцев назад
Kubectl you should run in your minikube directly
@harirocking1530
@harirocking1530 10 месяцев назад
i m using aws eks cluster@@Javatechie
@JacobClaytor
@JacobClaytor Год назад
How are you all getting this to work when kubernetes-cd is no longer being distributed due to security issues? I can't even install the plugin.
@bengaluruhudga6985
@bengaluruhudga6985 Год назад
Use kubeconfig file in your Jenkins server.
@saigopi9553
@saigopi9553 Год назад
@@bengaluruhudga6985 could you plese explain a bit more i cant understand
@ShoaibSiddiqui-e9z
@ShoaibSiddiqui-e9z 10 дней назад
Instead of interacting with kubernets we can use kubectl plugin as we know kubernets plugin is dead for Jenkins
@IgalSchneider
@IgalSchneider Год назад
Hi. Kubernetes 1.23. Kube config expires within 18 hours. What is the workaround for this?
@Javatechie
@Javatechie Год назад
What steps you are doing. I didn't get this exception
@IgalSchneider
@IgalSchneider Год назад
@@Javatechie any step. The Kubernetes plug-in should use kube config in your example. But since 1.23, Kubernetes kubeconfig is only valid for 18 hours
@IgalSchneider
@IgalSchneider Год назад
ok, figured it. just use kops export kubecfg --admin=87600h
@maheshkishanrao9036
@maheshkishanrao9036 2 года назад
deploying on kubernates but its showing imagepullbackoff how to resolve sir .
@Javatechie
@Javatechie 2 года назад
Your docker and kuhernetes not in sync make sure to run eval cmd
@maheshkishanrao9036
@maheshkishanrao9036 2 года назад
I am jenkins using on azure platform and getting the imagepullbackoff, please resolve my issue that I can understand
@maheshmule1871
@maheshmule1871 2 года назад
Login docker with commands in jenkinsfile not working and showing username or password is incorrect
@Javatechie
@Javatechie 2 года назад
Did you add dockerhub credential correctly in manage Jenkins
@maheshmule1871
@maheshmule1871 2 года назад
@@Javatechie yes
@Javatechie
@Javatechie 2 года назад
Please retry that step it should work . If still not working please share exact error message
@floyddsilva3790
@floyddsilva3790 2 года назад
@@maheshmule1871 Hey If its your personal project try replacing your actual password with the variable in the jenkins configuration. Eg docker login - u username -p password.
@pt_trainer9244
@pt_trainer9244 Год назад
Generate a token in docker hub and use that as the password credential in jenkins, worked for me
@prezlamen
@prezlamen 8 месяцев назад
Font is small,hard to see
@Javatechie
@Javatechie 8 месяцев назад
Are you checking in mobile if yes please watch it in full size
@biharlearning9294
@biharlearning9294 Год назад
Could you please share code in github
@Javatechie
@Javatechie Год назад
It's already there in video description
@michaelarnold2024
@michaelarnold2024 Год назад
The Kubernetes plugin doesn't exist anymore.
@Javatechie
@Javatechie Год назад
I have shared in the video description please download the lower version of the plugin and manually import it . I have explained the steps in video
@prashantpowar9269
@prashantpowar9269 Год назад
Videos are the best but the video quality is the worst
@Javatechie
@Javatechie Год назад
Video quality depends on your internet. Please change the quality settings in bottom . 1080 HD available
@prashantpowar9269
@prashantpowar9269 Год назад
@@Javatechie quality is unavailable please check from your side
@Javatechie
@Javatechie Год назад
Buddy it's available please check or else drop your email i will share you
@medAmineRg
@medAmineRg 6 месяцев назад
im getting this error -> hudson.remoting.ProxyException: java.lang.IllegalStateException: No matching configuration files found for deployment.yaml
@Javatechie
@Javatechie 6 месяцев назад
Till what stage your build executed ?
@medAmineRg
@medAmineRg 6 месяцев назад
last staged (Deploy to Kubernetes)@@Javatechie
@rayeezmahe
@rayeezmahe 2 года назад
I am getting this error while deploying to K8S. Do you know why? ERROR: ERROR: io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred. Caused by: hudson.remoting.ProxyException: java.nio.file.NoSuchFileException: /Users/m_153620/.minikube/ca.crt But I have this file in that path..
@Javatechie
@Javatechie 2 года назад
Before that are you able to push the image to hub ? If yes then please check something wrong in configId
@rayeezmahe
@rayeezmahe 2 года назад
@@Javatechie yes everything till this stage works
@Javatechie
@Javatechie 2 года назад
Okay can you regenerate kubeconfig stuff and try once
@kkkkkk67816
@kkkkkk67816 2 года назад
MBA guy can try for devops as a fresher ?
@Javatechie
@Javatechie 2 года назад
Offcourse why not
Далее
Штаны легионера
00:44
Просмотров 151 тыс.
CI/CD Workflow with Docker and Kubernetes
5:36
Просмотров 40 тыс.
How to design a Deployment Pipeline (GitOps)
11:01
Просмотров 30 тыс.