CICD Pipeline To Deploy To Kubernetes Cluster Using Jenkins | Jenkins Kubernetes Integration

  Рет қаралды 159,333

Thetips4you

Thetips4you

Күн бұрын

Пікірлер: 228
@jamesbrown6960
@jamesbrown6960 2 жыл бұрын
came here from a reddit post, well worth the click! thanks for clarity.
@Thetips4you
@Thetips4you 2 жыл бұрын
Really happy to hear this. Thanks
@merlingrace6850
@merlingrace6850 4 ай бұрын
Thank you so much for this tutorial!! I get confused like how to deploy an App to kubernetes without any kuberenetes controller like ArgoCD etc. Finally I found that. Thanks a lot🙌
@Thetips4you
@Thetips4you 4 ай бұрын
Great to hear. Thank you
@srinivasababus3835
@srinivasababus3835 2 жыл бұрын
I have seen couple of videos , but you are the BEST.
@Thetips4you
@Thetips4you 2 жыл бұрын
That is sounds good to hear. Thank you.
@hckermanrober03
@hckermanrober03 2 жыл бұрын
I want to learn DevOps...many people learning web development...but i want something that is new ...... but i saw web development easily understandable.....but when i see DevOps youtube videos...i cant understand what they telling...everything is very complicated.....as a Noob if i have this type of problem by understand.. and no one guide ...then i say i can't be devops engineer.....and now my focus on web devs ...because understanding is most important...thanks
@Thetips4you
@Thetips4you 2 жыл бұрын
I am not sure why you don't understand DevOps, I would suggest you to start with basics. I understand if no one is there to guide, it will be challenging, you can reach out to me in fb or Instagram if you have any queries. It is also possible that you follow web development and DevOps together.
@sakhawatali1482
@sakhawatali1482 Жыл бұрын
great man first time my kubernetes project from KZbin is executed completely thanks for your video
@Thetips4you
@Thetips4you Жыл бұрын
You are welcome. Happy to hear.
@pravinkumar8491
@pravinkumar8491 2 жыл бұрын
Thank you for taking your time for explaining this concept.
@Thetips4you
@Thetips4you 2 жыл бұрын
You are welcome.
@sreelekhakv9596
@sreelekhakv9596 Жыл бұрын
First time I'm seeing your videos..very helpful and the you are explaining is very understandable. Thank you for your efforts.
@Thetips4you
@Thetips4you Жыл бұрын
You are welcome. Happy to hear that it is useful for you.
@TuanLe-vx9xh
@TuanLe-vx9xh Жыл бұрын
I'm so very thanks for sir. It's very helpful for me and very short and concise.
@Thetips4you
@Thetips4you Жыл бұрын
You are welcome and thank you for your feedback.
@cigarettesafter9435
@cigarettesafter9435 2 жыл бұрын
Perfect tutorial, make sure to upload more of these !
@Thetips4you
@Thetips4you 2 жыл бұрын
Thank you bro.
@Silentwalker_2025
@Silentwalker_2025 Жыл бұрын
Thanks for this amazing video, it's what I was looking for❤
@Thetips4you
@Thetips4you Жыл бұрын
Thank you
@mukeshdhiman81
@mukeshdhiman81 2 жыл бұрын
super explanation.. I was searching it only and it made it.
@Thetips4you
@Thetips4you 2 жыл бұрын
Thank you
@krushnabhanage5780
@krushnabhanage5780 2 жыл бұрын
Thanks man, was facing issue with the plugin, your link saved lot of time.... Keep Up!!!
@Thetips4you
@Thetips4you 2 жыл бұрын
Sounds great. Happy to help.
@ramankhanna9526
@ramankhanna9526 Жыл бұрын
kubernetes-cd plugin is being removed now ...wt r u using ?
@vaibhav.v6403
@vaibhav.v6403 Жыл бұрын
@@ramankhanna9526 he using 5 months ago
@MrKatdar
@MrKatdar Жыл бұрын
This video is so helpful to understand the how whole CI-CD workflow works. Thank you. The kubernetes plug-in you use is suspended for its security exploits. Is there any other plugin that we can safely use for kubernetes deployments?
@praveenrajpoot
@praveenrajpoot Жыл бұрын
you can use new now its stable
@HariKrishna-tl5dp
@HariKrishna-tl5dp 2 жыл бұрын
Great tutorial i am watching in the recent tutorials...very good clear explanation Thank you so much for this video
@Thetips4you
@Thetips4you 2 жыл бұрын
Thank you so much. Happy to hear your feedback. Keep supporting.
@thawtran4538
@thawtran4538 3 жыл бұрын
Really good videos. Really good sharing. I'm very interested in your channel.
@Thetips4you
@Thetips4you 3 жыл бұрын
Thank you very much!. Really appreciate your support.
@sadiqueshamim1770
@sadiqueshamim1770 2 жыл бұрын
Awesome, this content was not available even on paid platforms. I have two questions. #1. That kubernetes definition file, suppose I have configs, secrets, PV, PVC, in what order those objects will be written. #2. Please add more tools to this vedio like Nagios, Jfrog, Sonarqube. #AllTheBest #VeryGoodVideo
@Thetips4you
@Thetips4you 2 жыл бұрын
Thanks, I will look in to this.
@rangolis30
@rangolis30 11 ай бұрын
Kubernetes Continuous Deploy plugin has been suspended , what plugin can I use instead of this?
@NMADHUBABU-p4b
@NMADHUBABU-p4b Жыл бұрын
Thamk you so much for your video ---Helpfully
@Thetips4you
@Thetips4you Жыл бұрын
You are welcome.
@rritsoftwaresolutions9566
@rritsoftwaresolutions9566 Жыл бұрын
nice bro , keep it up all the best , make a more videos end to end , thankq
@Thetips4you
@Thetips4you Жыл бұрын
Sure Thanks
@impulsegym3366
@impulsegym3366 Жыл бұрын
much needed,great job
@Thetips4you
@Thetips4you Жыл бұрын
Thank you
@MANPREETKAUR-ee4wx
@MANPREETKAUR-ee4wx 2 жыл бұрын
Super duper good and east to understand thank you so much Sir
@Thetips4you
@Thetips4you 2 жыл бұрын
Nice to hear. Thank you for your feedback.
@MANPREETKAUR-ee4wx
@MANPREETKAUR-ee4wx 2 жыл бұрын
@@Thetips4you its really very good I shared with my friends also and they all like it
@Thetips4you
@Thetips4you 2 жыл бұрын
Thanks a lot.
@seanfang398
@seanfang398 Жыл бұрын
This is an amazing tutorial ! This is gonna be a great help, thank you so much 👍😄
@Thetips4you
@Thetips4you Жыл бұрын
You are welcome my friend.
@i-c-e-s
@i-c-e-s Жыл бұрын
amazing! very good tutorial!
@Thetips4you
@Thetips4you Жыл бұрын
Thank you
@MaheshKumar-hb9cb
@MaheshKumar-hb9cb 2 жыл бұрын
Hai, firstly thanks for this amazing tutorial. I really appreciate your efforts for sharing your knowledge with us. I have a small request, can you please upload more DevOps Projects?
@Thetips4you
@Thetips4you 2 жыл бұрын
Sure. Thank you
@SamehMoamen
@SamehMoamen 2 жыл бұрын
Very Helpful and appreciate your effort really . The most painful issue to me with videos here the INDEXING . Please could you set pre-fix Numbers ( Sorting with numbers) to let me study Playlists in right way ? Thanks again for your lectures here
@Thetips4you
@Thetips4you 2 жыл бұрын
Thank you for your feedback. The video's are in order if you check the playlist.
@golandec8703
@golandec8703 Жыл бұрын
@@Thetips4you Very Good Tutorial. I have ERROR. ERROR: ERROR: io.fabric8.kubernetes.client.KubernetesClientException: Operation: [get] for kind: [Pod] with name: [my-web] in namespace: [default] failed. hudson.remoting.ProxyException: io.fabric8.kubernetes.client.KubernetesClientException: Operation: [get] for kind: [Pod] with name: [my-web] in namespace: [default] failed.
@sivarasana3641
@sivarasana3641 2 жыл бұрын
Great session
@Thetips4you
@Thetips4you 2 жыл бұрын
Thank you
@mayurkadam7173
@mayurkadam7173 2 жыл бұрын
Very Good Tutorial. I understood the kube-config file part to authenticate the deployment user against the Cluster. However, without Role Based Access Control(RBAC), how was the deployment done without "Authorization" ?
@hashilbh5654
@hashilbh5654 Жыл бұрын
its an admin kubeconfig file
@defencemaster3868
@defencemaster3868 Жыл бұрын
brother the kubernetes Deploy plugin has been depricated, now what to do? thanks
@MUKESHKUMAR-yn9pp
@MUKESHKUMAR-yn9pp Жыл бұрын
Did solve this issue
@karthikeshk6433
@karthikeshk6433 2 жыл бұрын
Hello, Thank you for the great tutorial. Kubernetes Continuous Deploy plugin was suspended. is there any alternative to it?
@Thetips4you
@Thetips4you 2 жыл бұрын
Yes. I will check and update the video.
@karthikeshk6433
@karthikeshk6433 2 жыл бұрын
@@Thetips4you sure thank you
@anandnune
@anandnune 2 жыл бұрын
@Thetios4you sir can you update asap
@JacobClaytor
@JacobClaytor 2 жыл бұрын
@@anandnune I second this. I am lost without Continuous Deploy
@ramankhanna9526
@ramankhanna9526 Жыл бұрын
@@Thetips4you when r u givin a soln for this !!!
@gkv2306
@gkv2306 2 жыл бұрын
nice brother great explanation ,on top of this setup could we able install Istio ,if possible for this continuation of this video install istio if possible make video ,thanking you for ur time and knowledge sharing
@Thetips4you
@Thetips4you 2 жыл бұрын
Sure. Thank you for your feedback.
@bhabanisahoo7447
@bhabanisahoo7447 9 күн бұрын
Actually you are using load balancer service but in service section there is no external ips are there .then how to access this. Also i did according to this video . everything deployed successfully but unable to access using the ec2 instance public ip with the service port number. and by using the command kubectl get svc -O wide, there is showing no external ips are there for master as well as worker node. Would you please assist me in this.
@milsonmun
@milsonmun 3 жыл бұрын
I think you missed the Github to Jenkins triggering part? using git commit/push
@Thetips4you
@Thetips4you 3 жыл бұрын
I have a separate video on github triggers to Jenkins.
@VANTYCSolutions
@VANTYCSolutions Жыл бұрын
Nice video unfortunately the Kubernetes Continuous Deploy plugin has been suspended due unresolved security issues.
@rangolis30
@rangolis30 11 ай бұрын
what plugin can be used instead of this?
@saiyudhmannan1402
@saiyudhmannan1402 2 жыл бұрын
Hi. first i would like to thank you for this awesome tutorial. May I know from 9:12 you are running docker run command. But I did not see you create a jenkins image with docker build. I saw the other videos as well it was not build. nmay I know how you build the jenkins docker image?
@Thetips4you
@Thetips4you 2 жыл бұрын
You are welcome. You don't need to build Jenkins image. You can use standard existing image of Jenkins in docker hub.
@saiyudhmannan1402
@saiyudhmannan1402 2 жыл бұрын
@@Thetips4you thank you. also running docker logs -f [my container id] but no logs are showing , can you please help me
@eamonsalimi5660
@eamonsalimi5660 2 жыл бұрын
Great Course, thank you.
@Thetips4you
@Thetips4you 2 жыл бұрын
Glad you like it!. Appreciate your support.
@Rajnish089
@Rajnish089 Жыл бұрын
Can you please create a video like docker and Jenkins for k8 with spring boot microservices
@Thetips4you
@Thetips4you Жыл бұрын
Sure. Will consider it.
@Rajnish089
@Rajnish089 Жыл бұрын
​@@Thetips4you one more request if you can give an overview of what is cloud native devops. A short video what it is would help
@lyminhnghia616
@lyminhnghia616 3 жыл бұрын
Thank you for this video.
@Thetips4you
@Thetips4you 3 жыл бұрын
My pleasure!. Thanks to you as well.
@arunkumarpg8555
@arunkumarpg8555 2 жыл бұрын
thanks man. nice info
@Thetips4you
@Thetips4you 2 жыл бұрын
You are welcome.
@balubalaji3271
@balubalaji3271 Жыл бұрын
Great video and useful information. I have a question here. When I have multiple namespace like DEV, QA, Staging, how can I define the namespace here? This pipeline deploys on default namespace.
@Thetips4you
@Thetips4you Жыл бұрын
Yes, create a manifest file with kind kind: Namespace, content needed for creating namespace as you need and call that.
@lawrencemandong7711
@lawrencemandong7711 6 ай бұрын
Thank so much.❤‍🔥❤‍🔥❤‍🔥
@Thetips4you
@Thetips4you 6 ай бұрын
You are welcome
@avatar2337
@avatar2337 3 жыл бұрын
Really good tutorial, I will do lab
@Thetips4you
@Thetips4you 3 жыл бұрын
Thank you
@rahul2
@rahul2 Жыл бұрын
thanks fr the video
@Thetips4you
@Thetips4you Жыл бұрын
You are welcome
@rustamshaikh8412
@rustamshaikh8412 2 жыл бұрын
Can we run this command in command prompt to create Jenkins master node?
@Thetips4you
@Thetips4you 2 жыл бұрын
No.
@PushpendraSingh-re5ow
@PushpendraSingh-re5ow 7 ай бұрын
excellent
@Thetips4you
@Thetips4you 7 ай бұрын
Thank you🙏
@manoharreddy317
@manoharreddy317 2 жыл бұрын
Thanks for the video, i have one small question where do we find the web ip which we used to return the output on web page
@Thetips4you
@Thetips4you 2 жыл бұрын
It is based on the kubernetes cluster on which you have published the service.
@ahmedgamal3043
@ahmedgamal3043 3 жыл бұрын
great explanation but why using 2 variables dockerimagename = "" dockerImage = "" i did not get it
@Thetips4you
@Thetips4you 3 жыл бұрын
Dockerimagename is used with reference to your docker hub id and repository name. Dockerimage variable is used to stored the build image, so that we can push it to docker hub using the tag like latest, test etc.
@ramankhanna9526
@ramankhanna9526 Жыл бұрын
wt to do about kubernetes plugin not workin ,unable to add config creds to jenkins.....can some1 help on this
@kamal-kc1bn
@kamal-kc1bn 2 жыл бұрын
Very helpfull
@Thetips4you
@Thetips4you 2 жыл бұрын
Thank you
@nguyenhung2359
@nguyenhung2359 2 жыл бұрын
many thanks
@Thetips4you
@Thetips4you 2 жыл бұрын
You are welcome.
@amcadam26
@amcadam26 2 жыл бұрын
I'm new to Jenkins, but have the task of deploying to multiple Terraform workspaces (each on for a different customer), then multiple K8s Namespaces (again, one per customer), with a central set of resources that cover all customers, like a central AD server, VPC, etc.... What features of Jenkins pipelines should I be using for this? Can setup variables to describe the differences between customer setups, then set a pipeline to deploy against each? Would folder help me, could I have a folder per customer with nested variables?
@Thetips4you
@Thetips4you 2 жыл бұрын
Yes you can use variables, you can also setup in git all the configurations based on different branch or different folders as per use case.
@anudeepreddysolleti3800
@anudeepreddysolleti3800 2 жыл бұрын
are the jenkins and kubernetes hosted on the same server?
@Thetips4you
@Thetips4you 2 жыл бұрын
Not necessarily. It depends upon you.
@saeedrahat984
@saeedrahat984 19 күн бұрын
could you please mention how code will push from jenkins server to kubernetes master node.
@Thetips4you
@Thetips4you 19 күн бұрын
What kind of code?
@saeedrahat984
@saeedrahat984 19 күн бұрын
@@Thetips4you actually i want to say when i run pipeline from jenkins server deployment file didnt push to kubernetes master node, kubernetes master node is separate server, So how they will know each other. I have tried several steps. It didnt work. Thanks.
@prasadgaming7574
@prasadgaming7574 Жыл бұрын
Thank you so much 😊
@Thetips4you
@Thetips4you Жыл бұрын
You are welcome.
@rohanrustagi7857
@rohanrustagi7857 Жыл бұрын
thank you so much sir for this awesome content . sir if u dont mind can you also integrate ingress loadbalancer controller ?
@Thetips4you
@Thetips4you Жыл бұрын
Will consider it. Thanks
@nhuongtrieuhoang6611
@nhuongtrieuhoang6611 2 жыл бұрын
Thank for this video. I have this problem, atfer build , Pod on Kubernetes running, i had update code on github ( change infor myname) =》 commit, jenkins job run finish, but Pod on Kubernetes not change. How to resolve it ?
@Thetips4you
@Thetips4you 2 жыл бұрын
You are welcome. In this manifest file, it will not do the update on existing pods. You need to edit the configuration to add rolling update or similar strategy.
@balubalaji3271
@balubalaji3271 Жыл бұрын
is there any option to sepcify the namespace in Kubernetesdeploy section?
@Thetips4you
@Thetips4you Жыл бұрын
Use the Kubernetes manifest files for it.
@ledangtuanbk
@ledangtuanbk 2 жыл бұрын
Thank you for your video, I have an issue with GCP K8S. The token (~/.kube/config) is expired in 30 minutes. How can we handle it?
@Thetips4you
@Thetips4you 2 жыл бұрын
Usually it should not. Are you using docker or anything different setup?
@ddlingo
@ddlingo 3 жыл бұрын
Good tutorial
@Thetips4you
@Thetips4you 3 жыл бұрын
Thank you
@TheNishi42
@TheNishi42 2 жыл бұрын
can you make more videos on jenkins ci/cd pipeline on kubernets with helm ?
@Thetips4you
@Thetips4you 2 жыл бұрын
Sure
@demotest8804
@demotest8804 2 жыл бұрын
@@Thetips4you DID YOU DONE JENKINS PIPELINE USING HELM
@krishnaprasadkolathappilly7220
@krishnaprasadkolathappilly7220 Жыл бұрын
can i use github container registry instead of docker hub?
@Thetips4you
@Thetips4you Жыл бұрын
Yes. You will have to adapt the code based on it and the authentication.
@ThanhNguyenVan-ss7yy
@ThanhNguyenVan-ss7yy 3 жыл бұрын
Do you think we can run the kubernetes cli on the kubernetes slave pod on jenkins?
@Thetips4you
@Thetips4you 3 жыл бұрын
Why do you want to run on slave pod ? Are you asking about running on kubernetes cluster?
@ThanhNguyenVan-ss7yy
@ThanhNguyenVan-ss7yy 3 жыл бұрын
@@Thetips4you At my case, I have an AKS cluster and using Kubernetes plugin to run job on the slave. When I run the kubectl apply ... then it said the kubectl command is not available ( i dong use pipeline for app deployment) Not sure if we have any way to run the kubernetes cli on the build slave?
@rcmanyu6498
@rcmanyu6498 Жыл бұрын
evertything is good pls show me the properly my qus is where did you get ip address before login jenkins
@Thetips4you
@Thetips4you Жыл бұрын
It's the ip address of the machine on which you are running Jenkins. Use ip addr command.
@ajjum6121
@ajjum6121 Жыл бұрын
In realtime we will not use public dockerhub repo ri8??so how to specify a container in manifest file?
@Thetips4you
@Thetips4you Жыл бұрын
You use your private repository accordingly.
@ajjum6121
@ajjum6121 Жыл бұрын
@@Thetips4you but how to pass credentials then?
@Thetips4you
@Thetips4you Жыл бұрын
@@ajjum6121 Save it to the credentials & use it as variable
@SpyingCraft
@SpyingCraft 2 жыл бұрын
Can you please share the command @TheTips for docker run powershell
@Thetips4you
@Thetips4you 2 жыл бұрын
I did not understand the query clearly. Can you clarify it on what do you mean by command for docker run PowerShell?
@mohitraj1995
@mohitraj1995 2 жыл бұрын
which terminal u use?
@Thetips4you
@Thetips4you 2 жыл бұрын
Through putty ssh to centos.
@pjj7466
@pjj7466 2 жыл бұрын
Marvellous
@Thetips4you
@Thetips4you 2 жыл бұрын
Thank you
@sadokbouzrati2517
@sadokbouzrati2517 2 жыл бұрын
heelo really i am stuck i am following you to make my first devops project but when i created my jenkins instance couldnt connect to it via browser any idea please ?
@Thetips4you
@Thetips4you 2 жыл бұрын
What is the error you are getting?
@thtnawbezuwork6080
@thtnawbezuwork6080 Жыл бұрын
thanks sir i am facing this error at deploying stage and I need your help Starting Kubernetes deployment ERROR: ERROR: io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred. hudson.remoting.ProxyException: io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred.
@Thetips4you
@Thetips4you Жыл бұрын
Is this from a specific deployment log?
@spongeybobu
@spongeybobu 2 жыл бұрын
The Kubernetes continuous deploy plugin is no longer available. Is there a replacement for it?
@Thetips4you
@Thetips4you 2 жыл бұрын
Yes there are other kubernetes & SSH plugins.
@spongeybobu
@spongeybobu 2 жыл бұрын
@@Thetips4you which plug-in should I install?
@MrKatdar
@MrKatdar Жыл бұрын
@@spongeybobu other one 😀
@imtiyazali8536
@imtiyazali8536 2 жыл бұрын
simply great
@Thetips4you
@Thetips4you 2 жыл бұрын
Thank you
@sadiqueshamim1770
@sadiqueshamim1770 2 жыл бұрын
What if I want to customize , by using different docker and kubernetes commands like dockerImage.push(), kubernetesDeploy(). Where to find these commands.
@Thetips4you
@Thetips4you 2 жыл бұрын
Are you referring to docker commands in pipeline?
@shubhamshastri7409
@shubhamshastri7409 Жыл бұрын
thanks buddy
@Thetips4you
@Thetips4you Жыл бұрын
You are welcome
@ashutoshbehera5510
@ashutoshbehera5510 2 жыл бұрын
thank you
@Thetips4you
@Thetips4you 2 жыл бұрын
You are welcome.
@enzuccio91
@enzuccio91 3 жыл бұрын
Hi, I have this error in Kubernetes step deploy: Caused by: hudson.remoting.ProxyException: javax.net.ssl.SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors Do I need to configure something in the kubernetes master node?
@Thetips4you
@Thetips4you 3 жыл бұрын
Did you configured the kubeconfig details in the Jenkins? Are you using minikube Or kubernetes master, nodes set up?
@enzuccio91
@enzuccio91 3 жыл бұрын
@@Thetips4you yes, I did copy-paste the content of config file in the /root/.kube/. I am using kubernetes master-nodes
@Thetips4you
@Thetips4you 3 жыл бұрын
Is there any network issue? The error is more about proxy or ssh is not working between the system's.
@jw-yo5lp
@jw-yo5lp 3 жыл бұрын
Remeber, the latest version of the required plugin for the deployment to work has some issues, mainly with the Jackson API plugin included, so instead of installing that you want to install a different version. I had the same problem and i'm just about to change the newest plugin for the one used in the video
@syeduzairshah7282
@syeduzairshah7282 2 жыл бұрын
sir I am following this tutorial but i need to deploy my app on another vm which is having kubernetes. I am getting error at the deployment stage ERROR: ERROR: io.fabric8.kubernetes.client.KubernetesClientException: Operation: [get] for kind: [Deployment] with name: [activity-deployment] in namespace: [default] failed.
@Thetips4you
@Thetips4you 2 жыл бұрын
That is completely fine to deploy to a different vm. However the connection should be there to the VM and the kubeconfig is set correctly.
@IgalSchneider
@IgalSchneider Жыл бұрын
Hi there!. Great tutorial, however it need to be updated. Kubernetes 1.23 here. kubecfg expires after 18 hours. What is the solution for it?
@Thetips4you
@Thetips4you Жыл бұрын
You can use some job to keep updating the new config or change the expiry settings for longer period.
@IgalSchneider
@IgalSchneider Жыл бұрын
@@Thetips4you can you please expand on both options?
@IgalSchneider
@IgalSchneider Жыл бұрын
@@Thetips4you actually you can do it way simpler by using kops export kubecfg --admin=87600h
@Spidyyt2006
@Spidyyt2006 7 ай бұрын
Pls Tell me is it working still ?
@ruchiramadushan3852
@ruchiramadushan3852 3 жыл бұрын
docker not found error in windows 10. How to run Jenkins in windows where Docker Commands work ?
@Thetips4you
@Thetips4you 3 жыл бұрын
You need to install docker for desktop for Windows.
@ruchiramadushan3852
@ruchiramadushan3852 3 жыл бұрын
@@Thetips4you I have already done. Able to solve the issue by installing Docker on Jenkins container.
@kingtut6619
@kingtut6619 2 жыл бұрын
Why am I getting this on Jenkins >> ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job. Finished: FAILURE
@Thetips4you
@Thetips4you 2 жыл бұрын
Check branch you are using for the pipeline.
@kingtut6619
@kingtut6619 2 жыл бұрын
@@Thetips4you Yes it was a branch issue, however in the pipeline you must stress the repo URL and define the branch. You did not do that, but somehow it worked for you.
@abcdleonix2345
@abcdleonix2345 2 жыл бұрын
Where do we get the all the scripts for the project can’t find them any body help
@Thetips4you
@Thetips4you 2 жыл бұрын
Check the github. Link is in the video description.
@abcdleonix2345
@abcdleonix2345 2 жыл бұрын
@@Thetips4you I’m Sorry didn’t see any link
@azurecloudapps7833
@azurecloudapps7833 3 жыл бұрын
where you are assing application ip in kubernetes cluster,after deployment you will showing a application in browser through ip , how to assign it
@Thetips4you
@Thetips4you 3 жыл бұрын
Ip address is your kubernetes ip address and port which is mapped as part of your service yaml file.
@chase6444
@chase6444 2 жыл бұрын
kubernetes cd is suspended, is there a way not using the plugin?
@Thetips4you
@Thetips4you 2 жыл бұрын
Yes. I will update video accordingly.
@NippunOhri
@NippunOhri Жыл бұрын
I cannot see any content in config file at /root/.kube
@Thetips4you
@Thetips4you Жыл бұрын
What do you see there?
@NippunOhri
@NippunOhri Жыл бұрын
@@Thetips4you I am able to see the details now. However my pipeline is failing with below error + script { Script started, output log file is '{'. jenkins@ip-172-31-8-173:~/workspace/Kubernetes Deploy$ exit Script done. + dockerImage = docker.build dockerimagename /var/lib/jenkins/workspace/Kubernetes Deploy@tmp/durable-86a54d77/script.sh: 2: dockerImage: not found
@Spidyyt2006
@Spidyyt2006 7 ай бұрын
Is it still working ? Please anyone reply
@minyang3988
@minyang3988 2 жыл бұрын
hi sir. thank for your tutorial video! i followed all the steps in the tutorial and tried to deploy my app to minikube. however i got error at the deployment stage. ERROR: ERROR: io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred. hudson.remoting.ProxyException: io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred. can you please tell me how to solve it? i have done some research but it doesnt work. thank u very much! ( i use the k8s cd plugin that you provided and added the k8s credentials
@Thetips4you
@Thetips4you 2 жыл бұрын
Are you running the Kubernetes in corporate environment behind proxy?
@minyang3988
@minyang3988 2 жыл бұрын
@@Thetips4you nah.i dont think i am using proxy and i just followed your video steps. the full output looks like this
@minyang3988
@minyang3988 2 жыл бұрын
@@Thetips4you Starting Kubernetes deployment ERROR: ERROR: io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred. hudson.remoting.ProxyException: io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred. at io.fabric8.kubernetes.client.KubernetesClientException.launderThrowable(KubernetesClientException.java:62) at io.fabric8.kubernetes.client.KubernetesClientException.launderThrowable(KubernetesClientException.java:53) at io.fabric8.kubernetes.client.utils.HttpClientUtils.createHttpClient(HttpClientUtils.java:182) at io.fabric8.kubernetes.client.BaseClient.(BaseClient.java:55) at io.fabric8.kubernetes.client.DefaultKubernetesClient.(DefaultKubernetesClient.java:91) at com.microsoft.jenkins.kubernetes.KubernetesClientWrapper.(KubernetesClientWrapper.java:78) at com.microsoft.jenkins.kubernetes.KubernetesDeployContext$ClientWrapperFactoryImpl.buildClient(KubernetesDeployContext.java:466) at com.microsoft.jenkins.kubernetes.command.DeploymentCommand$DeploymentTask.doCall(DeploymentCommand.java:141) at com.microsoft.jenkins.kubernetes.command.DeploymentCommand$DeploymentTask.call(DeploymentCommand.java:122) at com.microsoft.jenkins.kubernetes.command.DeploymentCommand$DeploymentTask.call(DeploymentCommand.java:105) at hudson.FilePath.act(FilePath.java:1288) at com.microsoft.jenkins.kubernetes.command.DeploymentCommand.execute(DeploymentCommand.java:67) at com.microsoft.jenkins.kubernetes.command.DeploymentCommand.execute(DeploymentCommand.java:46) at com.microsoft.jenkins.azurecommons.command.CommandService.runCommand(CommandService.java:88) at com.microsoft.jenkins.azurecommons.command.CommandService.execute(CommandService.java:96) at com.microsoft.jenkins.azurecommons.command.CommandService.executeCommands(CommandService.java:75) at com.microsoft.jenkins.azurecommons.command.BaseCommandContext.executeCommands(BaseCommandContext.java:77) at com.microsoft.jenkins.kubernetes.KubernetesDeploy.perform(KubernetesDeploy.java:42) at com.microsoft.jenkins.azurecommons.command.SimpleBuildStepExecution.run(SimpleBuildStepExecution.java:54) at com.microsoft.jenkins.azurecommons.command.SimpleBuildStepExecution.run(SimpleBuildStepExecution.java:35) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: hudson.remoting.ProxyException: java.nio.file.NoSuchFileException: /Users/yangmin/.minikube/ca.crt at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116) at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:219) at java.base/java.nio.file.Files.newByteChannel(Files.java:371) at java.base/java.nio.file.Files.newByteChannel(Files.java:422) at java.base/java.nio.file.Files.readAllBytes(Files.java:3206) at io.fabric8.kubernetes.client.internal.CertUtils.getInputStreamFromDataOrFile(CertUtils.java:65) at io.fabric8.kubernetes.client.internal.CertUtils.createTrustStore(CertUtils.java:71) at io.fabric8.kubernetes.client.internal.SSLUtils.trustManagers(SSLUtils.java:115) at io.fabric8.kubernetes.client.internal.SSLUtils.trustManagers(SSLUtils.java:94) at io.fabric8.kubernetes.client.utils.HttpClientUtils.createHttpClient(HttpClientUtils.java:76) ... 23 more [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: Kubernetes deployment ended with HasError
@pleasantcolours1031
@pleasantcolours1031 Жыл бұрын
same issue buddy.... Any suggestion is very much appreciated
@jayagrawal8450
@jayagrawal8450 3 жыл бұрын
Hey it's showing docker not found
@jayagrawal8450
@jayagrawal8450 3 жыл бұрын
plugin is there
@Thetips4you
@Thetips4you 3 жыл бұрын
When you are getting docker not found?
@mjtech353
@mjtech353 Жыл бұрын
Kubernetes Continuous Deploy Plugin Version1.0.0 A Jenkins plugin to deploy configurations to Kubernetes cluster. Warning: The currently installed plugin version may not be safe to use. Please review the following security notices: Missing permission checks allow enumerating credentials IDs RCE vulnerability CSRF vulnerability and missing permission checks allow capturing credentials Arbitrary file read vulnerability This plugin is deprecated. In general, this means that it is either obsolete, no longer being developed, or may no longer work
@Thetips4you
@Thetips4you Жыл бұрын
Yes you are right. The plugin seems to be obsolete.
@emanfeah9960
@emanfeah9960 Жыл бұрын
413 Request Entity Too Large -- to deploy a plugin
@Thetips4you
@Thetips4you Жыл бұрын
When you are getting the error?
@rampanwar1316
@rampanwar1316 3 жыл бұрын
Cool
@Thetips4you
@Thetips4you 3 жыл бұрын
Thank you
@edwigedizo96
@edwigedizo96 2 күн бұрын
🙏
@The1Syndicate
@The1Syndicate 2 жыл бұрын
seems like it is depreciated and no longer working, same applies to kubernetes cli. what a shame.
@Thetips4you
@Thetips4you 2 жыл бұрын
Is it. I will check for alternative.
@The1Syndicate
@The1Syndicate 2 жыл бұрын
@@Thetips4you you can firstly check to see if I’m wrong but yes with latest Kubernetes 1.24 each plugin gives error
@JohnHaugeland
@JohnHaugeland 3 жыл бұрын
it's 2021. it's long past time to let self hosted ci go. jenkins hasn't been a good idea for more than a decade
@Thetips4you
@Thetips4you 3 жыл бұрын
Jenkins have it's own draw back and benefits. Still it is one of the highly utilized ci tool.
@JohnHaugeland
@JohnHaugeland 3 жыл бұрын
Not really
@rushrush7277
@rushrush7277 2 жыл бұрын
am getting this error in the build image stage please any idea ? + docker build -t xxx/nodeapp . error: unknown command "build", see 'snap help'.
@rushrush7277
@rushrush7277 2 жыл бұрын
To solve this please follow the steps in the link to install jenkins container and the docker inside the jenkins container faun.pub/how-to-install-docker-in-jenkins-container-4c49ba40b373
@AqilZeeshan-j8h
@AqilZeeshan-j8h Жыл бұрын
@Thetips4you Getting the following error in jenkins while running build + docker build -t thetips4you/nodeapp . ERROR: open /certs/client/ca.pem: no such file or directory Not sure what is the issue. Please let me know if you have any idea.
@Thetips4you
@Thetips4you Жыл бұрын
Check your docker file. I think it is looking for a certfile which you could have mentioned.
@AqilZeeshan-j8h
@AqilZeeshan-j8h Жыл бұрын
@@Thetips4you is docker already installed on jenkins container image that you are using to run jenkins ? asking since you didn't install docker on jenkins and your docker commands just run without any issue - not the case with me.
@golandec8703
@golandec8703 Жыл бұрын
Very Good Tutorial. I have ERROR. ERROR: ERROR: io.fabric8.kubernetes.client.KubernetesClientException: Operation: [get] for kind: [Pod] with name: [my-web] in namespace: [default] failed. hudson.remoting.ProxyException: io.fabric8.kubernetes.client.KubernetesClientException: Operation: [get] for kind: [Pod] with name: [my-web] in namespace: [default] failed.
@Thetips4you
@Thetips4you Жыл бұрын
Looks like the pods are getting failed. You need to analyse more to find the root cause. Check the logs and describe options.
@venkatasiva26689
@venkatasiva26689 2 жыл бұрын
The below Error is Shown : Running on VMWare Ubuntu 22.04. Gone through articles but dint get the Proper solution. Please help me if you can ERROR: @Build Stage, docker: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by docker)
@Thetips4you
@Thetips4you 2 жыл бұрын
At what stage are you getting this error.?
@venkatasiva26689
@venkatasiva26689 2 жыл бұрын
@@Thetips4you docker build stage
@venkatasiva26689
@venkatasiva26689 2 жыл бұрын
Here is the error and pipeline ends, + docker build -t sivaxxxx/k8xxd:4 . docker: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by docker)
Complete Jenkins Pipeline Tutorial | Jenkinsfile explained
35:06
TechWorld with Nana
Рет қаралды 801 М.
How to design a Deployment Pipeline (GitOps)
11:01
DevOps Journey
Рет қаралды 50 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 13 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 14 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 37 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 103 МЛН
Jenkins Kubernetes Integration - Mithun Technologies - 9980923226
2:00:12
Mithun Technologies DevOps
Рет қаралды 188 М.
DevSecOps Pipeline Project: Deploy Netflix Clone on Kubernetes
1:34:31
Learn Jenkins! Complete Jenkins Course - Zero to Hero
1:08:28
DevOps Journey
Рет қаралды 874 М.
JENKINS END TO END CICD Implementation with Detailed Notes | BEST CICD PROJECT
1:27:11
Пишем реальный CI/CD пайплайн | GITLAB CI/CD на практике
19:10
Kubernetes CI/CD Pipeline Using Jenkins | DevOps Tutorial/Project - 2023
2:49:55
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 332 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 13 МЛН