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

  Рет қаралды 155,676

Java Techie

Java Techie

Күн бұрын

Пікірлер: 148
@shreyanskothari8452
@shreyanskothari8452 9 ай бұрын
A perfect incremental tutorial, I suggest folks to try along with the video.
@adimardev1550
@adimardev1550 2 жыл бұрын
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 6 ай бұрын
Hi adi, how ya going with it? did u still learning? which path are you follow to convert yourself into a devops?
@emredemiralay2675
@emredemiralay2675 Жыл бұрын
The most beautiful content about ci/cd i have ever seen , thanks
@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.
@AnanthM-h5r
@AnanthM-h5r 10 ай бұрын
Sir, This is "Simple, Crispy, Crystal clear, Superb and Awesome".
@GowdaVaishu
@GowdaVaishu 4 ай бұрын
I found perfect video , No one had like this explanations
@yadavyogesh
@yadavyogesh Жыл бұрын
amazing video... explained in very simple manner.
@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 2 жыл бұрын
@@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 2 жыл бұрын
@@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.
@GangaRam-ou1zn
@GangaRam-ou1zn 2 жыл бұрын
Hi it was really nice videos Iam following your insightfull videos ...really thank you
@Fortune_Mix
@Fortune_Mix 4 ай бұрын
kubernetes continuous deploy plugin is not available what is the replacement for this?
@rangarajugottumukkala9380
@rangarajugottumukkala9380 2 жыл бұрын
Thank you, sir. I learned so many concepts from your tutorials and helping me in my job and for interviews
@tonycavanagh1929
@tonycavanagh1929 2 жыл бұрын
How did you get past "kubernetes continuous deploy" plugin being disabled ?.
@JacobClaytor
@JacobClaytor 2 жыл бұрын
@@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
@sukhanthn5352
@sukhanthn5352 Жыл бұрын
kubernetes continuous deploy plugin is not available is there any alternative plugin for that.
@itsnarahari
@itsnarahari 2 жыл бұрын
kubectl logs -f will give you the runtime logs
@Javatechie
@Javatechie 2 жыл бұрын
Thanks buddy 😊
@severtone263
@severtone263 10 ай бұрын
Excellent explanation. Thank you
@AshisRaj
@AshisRaj 7 ай бұрын
excellent explanation
@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?
@sadraavestan5344
@sadraavestan5344 2 ай бұрын
Hi, I was wondering if you found an alternative and if it worked for you? When I use other Kubernetes plugins, in the "Jenkins Credentials Provider: Jenkins" section under the "Kind" I do not see "Kubernetes configuration (kubeconfig)" option.
@Javatechie
@Javatechie 2 ай бұрын
I will share the updated video about it . Already i explained it in my devops4developers course
@trendinggadgets07
@trendinggadgets07 2 жыл бұрын
Thanks u sir g, please post more videos on devOps ☺🙏
@JustOnYoutube2023
@JustOnYoutube2023 6 ай бұрын
could u please add versioning through jfrog, AKS or GKS , like real world setups, instead of minkube
@aahnaram6330
@aahnaram6330 2 жыл бұрын
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 2 жыл бұрын
Thanks buddy 😊 keep learning
@ashvinp-i5h
@ashvinp-i5h Жыл бұрын
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?
@ashvinp-i5h
@ashvinp-i5h Жыл бұрын
@@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 kzbin.info/www/bejne/hnzGeKxvpLWJjsk
@jovelynobias5422
@jovelynobias5422 4 ай бұрын
kubernetes continuous deploy plugin is now deprecated. do you have an updated tutorial for this?
@FaiazZaman
@FaiazZaman 2 жыл бұрын
Very nice 👌
@philipe1468
@philipe1468 10 ай бұрын
I have a question, can I use this architecture to have an API or performance testing process?
@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
@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
@amnaarshad3812
@amnaarshad3812 6 ай бұрын
worderfull video
@juliocesarcamargoamaro2307
@juliocesarcamargoamaro2307 2 жыл бұрын
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 2 жыл бұрын
Please follow the steps as it is i did
@mobinshah1
@mobinshah1 2 жыл бұрын
Wow this is awesome. Thanks
@girishanker3796
@girishanker3796 8 ай бұрын
great video🔥
@saikrishna4661
@saikrishna4661 6 ай бұрын
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 6 ай бұрын
This deployment videos I will publish after completing Helm tutorial
@saikrishna4661
@saikrishna4661 6 ай бұрын
@@Javatechie thanks sir
@sreesri8492
@sreesri8492 2 жыл бұрын
Thanks bro for posting
@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
@mrjacksparrow8942
@mrjacksparrow8942 6 ай бұрын
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 6 ай бұрын
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
@vishnurajaradhakrishnan
@vishnurajaradhakrishnan Жыл бұрын
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.
@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?
@java-aws-techie
@java-aws-techie 2 жыл бұрын
Thanks for posting. Very insightful
@kalandiparida6774
@kalandiparida6774 2 жыл бұрын
Sir, please make a video on "Moon Mark" (ଚନ୍ଦ୍ର ଛାପ)😊
@Javatechie
@Javatechie 2 жыл бұрын
Ha ha +2 memory 😂😂
@harirocking1530
@harirocking1530 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
Kubectl you should run in your minikube directly
@harirocking1530
@harirocking1530 Жыл бұрын
i m using aws eks cluster@@Javatechie
@draganpajic4376
@draganpajic4376 Жыл бұрын
Excellent!!!
@kaushalyalaknathtissera5130
@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
@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.
@2RAJ21
@2RAJ21 2 ай бұрын
Thank you.
@mutturajdeval4841
@mutturajdeval4841 2 жыл бұрын
Superb looking for helm chart bro
@manjunathraju9557
@manjunathraju9557 8 ай бұрын
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 8 ай бұрын
I haven't tried it but will check and update you shortly
@guruprasathsarvothaman1284
@guruprasathsarvothaman1284 2 жыл бұрын
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 2 жыл бұрын
You can downgrade and reuse it .
@guruprasathsarvothaman1284
@guruprasathsarvothaman1284 2 жыл бұрын
@@Javatechie Thanks. I have not installed it already. Is there any place where I can download the old version of this plugin.
@emanfeah9960
@emanfeah9960 Жыл бұрын
hello i could'nt find this plugin
@lingrajbiradar4416
@lingrajbiradar4416 Жыл бұрын
how we can add ansible to this project?
@cuteangel1726
@cuteangel1726 2 жыл бұрын
thanks for this video
@vinaykumarva8538
@vinaykumarva8538 3 ай бұрын
Kubernetes dashboard?
@matinpathan5186
@matinpathan5186 2 жыл бұрын
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 2 жыл бұрын
Even i'm also having same doubts
@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?
@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
@gunturrecipes951
@gunturrecipes951 2 жыл бұрын
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 2 жыл бұрын
No check in managed Jenkins the way i did please follow as it is 😊
@abdulali-ft3ct
@abdulali-ft3ct 2 жыл бұрын
U need to add credentials docer login -u name -p password
@sivabalarasup7556
@sivabalarasup7556 Жыл бұрын
@@abdulali-ft3ct Thank you. But in this way, we are not securing our credentials, right?
@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
@AhmedKhaled-he9mf
@AhmedKhaled-he9mf 2 жыл бұрын
Thanks very very much
@archaps1856
@archaps1856 2 жыл бұрын
Can you do a video on Jenkins+ Openshift for Spring Boot
@lalitbhamare
@lalitbhamare 6 ай бұрын
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.
@abhishekgowlikar
@abhishekgowlikar 2 жыл бұрын
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.
@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
@kanishkar3148
@kanishkar3148 6 ай бұрын
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 6 ай бұрын
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 😎
@sachu86
@sachu86 Жыл бұрын
Thanks Basant
@kkkkkk67816
@kkkkkk67816 2 жыл бұрын
MBA guy can try for devops as a fresher ?
@Javatechie
@Javatechie 2 жыл бұрын
Offcourse why not
@JacobClaytor
@JacobClaytor 2 жыл бұрын
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 2 жыл бұрын
Use kubeconfig file in your Jenkins server.
@saigopi9553
@saigopi9553 Жыл бұрын
@@bengaluruhudga6985 could you plese explain a bit more i cant 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 2 жыл бұрын
Generate a token in docker hub and use that as the password credential in jenkins, worked for me
@Priyanka_y8
@Priyanka_y8 4 ай бұрын
but sir i got error
@prezlamen
@prezlamen Жыл бұрын
Font is small,hard to see
@Javatechie
@Javatechie Жыл бұрын
Are you checking in mobile if yes please watch it in full size
@biharlearning9294
@biharlearning9294 2 жыл бұрын
Could you please share code in github
@Javatechie
@Javatechie 2 жыл бұрын
It's already there in video description
@rishiraj2548
@rishiraj2548 2 жыл бұрын
Thanks
@ShoaibSiddiqui-e9z
@ShoaibSiddiqui-e9z 4 ай бұрын
Instead of interacting with kubernets we can use kubectl plugin as we know kubernets plugin is dead for Jenkins
@rishiraj2548
@rishiraj2548 2 жыл бұрын
🙏🙏👍
@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
@gxv6828
@gxv6828 2 жыл бұрын
First
@prashantpowar9269
@prashantpowar9269 2 жыл бұрын
Videos are the best but the video quality is the worst
@Javatechie
@Javatechie 2 жыл бұрын
Video quality depends on your internet. Please change the quality settings in bottom . 1080 HD available
@prashantpowar9269
@prashantpowar9269 2 жыл бұрын
@@Javatechie quality is unavailable please check from your side
@Javatechie
@Javatechie 2 жыл бұрын
Buddy it's available please check or else drop your email i will share you
@medAmineRg
@medAmineRg 11 ай бұрын
im getting this error -> hudson.remoting.ProxyException: java.lang.IllegalStateException: No matching configuration files found for deployment.yaml
@Javatechie
@Javatechie 11 ай бұрын
Till what stage your build executed ?
@medAmineRg
@medAmineRg 11 ай бұрын
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 ?
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 49 МЛН
Lamborghini vs Smoke 😱
00:38
Topper Guild
Рет қаралды 69 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,5 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 49 МЛН
Kubernetes Explained in 6 Minutes | k8s Architecture
6:28
ByteByteGo
Рет қаралды 1 МЛН
GitHub Actions Tutorial - Basic Concepts and CI/CD Pipeline with Docker
32:31
TechWorld with Nana
Рет қаралды 1,6 МЛН
CI/CD Workflow with Docker and Kubernetes
5:36
School of Devops
Рет қаралды 42 М.
JENKINS END TO END CICD Implementation with Detailed Notes | BEST CICD PROJECT
1:27:11
The IDEAL & Practical CI / CD Pipeline - Concepts Overview
22:36
Be A Better Dev
Рет қаралды 493 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 49 МЛН