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

Поделиться
HTML-код
  • Опубликовано: 29 янв 2025

Комментарии • 230

  • @merlingrace6850
    @merlingrace6850 5 месяцев назад +1

    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  5 месяцев назад +1

      Great to hear. Thank you

  • @jamesbrown6960
    @jamesbrown6960 2 года назад +1

    came here from a reddit post, well worth the click! thanks for clarity.

    • @Thetips4you
      @Thetips4you  2 года назад

      Really happy to hear this. Thanks

  • @sreelekhakv9596
    @sreelekhakv9596 Год назад +1

    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.

  • @sakhawatali1482
    @sakhawatali1482 Год назад

    great man first time my kubernetes project from RUclips is executed completely
    thanks for your video

  • @srinivasababus3835
    @srinivasababus3835 2 года назад +1

    I have seen couple of videos , but you are the BEST.

    • @Thetips4you
      @Thetips4you  2 года назад +1

      That is sounds good to hear. Thank you.

  • @Silentwalker_2025
    @Silentwalker_2025 Год назад +3

    Thanks for this amazing video, it's what I was looking for❤

  • @krushnabhanage5780
    @krushnabhanage5780 2 года назад +1

    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 2 года назад

      kubernetes-cd plugin is being removed now ...wt r u using ?

    • @vaibhav.v6403
      @vaibhav.v6403 Год назад

      @@ramankhanna9526 he using 5 months ago

  • @rangolis30
    @rangolis30 Год назад +3

    Kubernetes Continuous Deploy plugin has been suspended , what plugin can I use instead of this?

  • @cigarettesafter9435
    @cigarettesafter9435 2 года назад +1

    Perfect tutorial, make sure to upload more of these !

  • @pravinkumar8491
    @pravinkumar8491 2 года назад +3

    Thank you for taking your time for explaining this concept.

  • @TuanLe-vx9xh
    @TuanLe-vx9xh Год назад +1

    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.

  • @mukeshdhiman81
    @mukeshdhiman81 2 года назад +1

    super explanation.. I was searching it only and it made it.

  • @MrKatdar
    @MrKatdar 2 года назад +8

    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?

  • @HariKrishna-tl5dp
    @HariKrishna-tl5dp 2 года назад +1

    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.

  • @hckermanrober03
    @hckermanrober03 2 года назад +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 года назад +1

      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.

  • @seanfang398
    @seanfang398 Год назад +2

    This is an amazing tutorial ! This is gonna be a great help, thank you so much 👍😄

  • @impulsegym3366
    @impulsegym3366 Год назад +1

    much needed,great job

  • @defencemaster3868
    @defencemaster3868 Год назад +1

    brother the kubernetes Deploy plugin has been depricated, now what to do? thanks

  • @bhabanisahoo7447
    @bhabanisahoo7447 Месяц назад

    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.

  • @MaheshKumar-hb9cb
    @MaheshKumar-hb9cb 2 года назад +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?

  • @thawtran4538
    @thawtran4538 3 года назад +1

    Really good videos. Really good sharing. I'm very interested in your channel.

    • @Thetips4you
      @Thetips4you  3 года назад +1

      Thank you very much!. Really appreciate your support.

  • @rritsoftwaresolutions9566
    @rritsoftwaresolutions9566 2 года назад

    nice bro , keep it up all the best , make a more videos end to end , thankq

  • @NMADHUBABU-p4b
    @NMADHUBABU-p4b Год назад +1

    Thamk you so much for your video ---Helpfully

  • @rustamshaikh8412
    @rustamshaikh8412 2 года назад +1

    Can we run this command in command prompt to create Jenkins master node?

  • @balubalaji3271
    @balubalaji3271 Год назад

    is there any option to sepcify the namespace in Kubernetesdeploy section?

    • @Thetips4you
      @Thetips4you  Год назад

      Use the Kubernetes manifest files for it.

  • @mayurkadam7173
    @mayurkadam7173 3 года назад +4

    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 2 года назад

      its an admin kubeconfig file

  • @sadiqueshamim1770
    @sadiqueshamim1770 2 года назад +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.

  • @karthikeshk6433
    @karthikeshk6433 2 года назад +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 года назад +2

      @Thetios4you sir can you update asap

    • @JacobClaytor
      @JacobClaytor 2 года назад

      @@anandnune I second this. I am lost without Continuous Deploy

    • @ramankhanna9526
      @ramankhanna9526 2 года назад

      @@Thetips4you when r u givin a soln for this !!!

  • @anudeepreddysolleti3800
    @anudeepreddysolleti3800 2 года назад +1

    are the jenkins and kubernetes hosted on the same server?

    • @Thetips4you
      @Thetips4you  2 года назад

      Not necessarily. It depends upon you.

  • @i-c-e-s
    @i-c-e-s 2 года назад +1

    amazing! very good tutorial!

  • @ThanhNguyenVan-ss7yy
    @ThanhNguyenVan-ss7yy 3 года назад

    Do you think we can run the kubernetes cli on the kubernetes slave pod on jenkins?

    • @Thetips4you
      @Thetips4you  3 года назад +1

      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?

  • @sivarasana3641
    @sivarasana3641 2 года назад +1

    Great session

  • @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.

  • @ramankhanna9526
    @ramankhanna9526 2 года назад

    wt to do about kubernetes plugin not workin ,unable to add config creds to jenkins.....can some1 help on this

  • @saiyudhmannan1402
    @saiyudhmannan1402 2 года назад +1

    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

  • @mohitraj1995
    @mohitraj1995 3 года назад +1

    which terminal u use?

    • @Thetips4you
      @Thetips4you  3 года назад

      Through putty ssh to centos.

  • @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.

  • @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.

  • @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.

  • @SamehMoamen
    @SamehMoamen 3 года назад +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  3 года назад +1

      Thank you for your feedback. The video's are in order if you check the playlist.

    • @golandec8703
      @golandec8703 2 года назад

      @@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.

  • @MANPREETKAUR-ee4wx
    @MANPREETKAUR-ee4wx 3 года назад +1

    Super duper good and east to understand thank you so much Sir

    • @Thetips4you
      @Thetips4you  3 года назад +1

      Nice to hear. Thank you for your feedback.

    • @MANPREETKAUR-ee4wx
      @MANPREETKAUR-ee4wx 3 года назад +1

      @@Thetips4you its really very good I shared with my friends also and they all like it

    • @Thetips4you
      @Thetips4you  3 года назад +1

      Thanks a lot.

  • @lawrencemandong7711
    @lawrencemandong7711 8 месяцев назад +1

    Thank so much.❤‍🔥❤‍🔥❤‍🔥

  • @milsonmun
    @milsonmun 3 года назад +2

    I think you missed the Github to Jenkins triggering part? using git commit/push

    • @Thetips4you
      @Thetips4you  3 года назад +1

      I have a separate video on github triggers to Jenkins.

  • @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 года назад +1

      @@Thetips4you which plug-in should I install?

    • @MrKatdar
      @MrKatdar 2 года назад +1

      @@spongeybobu other one 😀

  • @ajjum6121
    @ajjum6121 2 года назад

    In realtime we will not use public dockerhub repo ri8??so how to specify a container in manifest file?

    • @Thetips4you
      @Thetips4you  2 года назад

      You use your private repository accordingly.

    • @ajjum6121
      @ajjum6121 2 года назад

      @@Thetips4you but how to pass credentials then?

    • @Thetips4you
      @Thetips4you  2 года назад

      @@ajjum6121 Save it to the credentials & use it as variable

  • @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?

  • @gkv2306
    @gkv2306 3 года назад +1

    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  3 года назад

      Sure. Thank you for your feedback.

  • @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.

  • @Rajnish089
    @Rajnish089 Год назад +1

    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

  • @saeedrahat984
    @saeedrahat984 2 месяца назад

    could you please mention how code will push from jenkins server to kubernetes master node.

    • @Thetips4you
      @Thetips4you  2 месяца назад

      What kind of code?

    • @saeedrahat984
      @saeedrahat984 2 месяца назад

      @@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.

  • @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

  • @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?

  • @Spidyyt2006
    @Spidyyt2006 8 месяцев назад

    Pls
    Tell me is it working still ?

  • @thtnawbezuwork6080
    @thtnawbezuwork6080 Год назад +1

    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  Год назад +1

      Is this from a specific deployment log?

  • @arunkumarpg8555
    @arunkumarpg8555 3 года назад +1

    thanks man. nice info

  • @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?

  • @lyminhnghia616
    @lyminhnghia616 3 года назад +1

    Thank you for this video.

    • @Thetips4you
      @Thetips4you  3 года назад

      My pleasure!. Thanks to you as well.

  • @ahmedgamal3043
    @ahmedgamal3043 3 года назад +1

    great explanation but why using 2 variables
    dockerimagename = ""
    dockerImage = ""
    i did not get it

    • @Thetips4you
      @Thetips4you  3 года назад +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.

  • @eamonsalimi5660
    @eamonsalimi5660 3 года назад

    Great Course, thank you.

    • @Thetips4you
      @Thetips4you  2 года назад

      Glad you like it!. Appreciate your support.

  • @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.

  • @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?

  • @PushpendraSingh-re5ow
    @PushpendraSingh-re5ow 9 месяцев назад +1

    excellent

  • @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

  • @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

  • @rahul2
    @rahul2 Год назад +1

    thanks fr 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.

  • @rohanrustagi7857
    @rohanrustagi7857 2 года назад

    thank you so much sir for this awesome content . sir if u dont mind can you also integrate ingress loadbalancer controller ?

  • @prasadgaming7574
    @prasadgaming7574 Год назад

    Thank you so much 😊

  • @chase6444
    @chase6444 2 года назад

    kubernetes cd is suspended, is there a way not using the plugin?

    • @Thetips4you
      @Thetips4you  2 года назад

      Yes. I will update video accordingly.

  • @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.

  • @avatar2337
    @avatar2337 3 года назад

    Really good tutorial, I will do lab

  • @Spidyyt2006
    @Spidyyt2006 8 месяцев назад

    Is it still working ?
    Please anyone reply

  • @nguyenhung2359
    @nguyenhung2359 2 года назад +1

    many thanks

  • @kamal-kc1bn
    @kamal-kc1bn 2 года назад +1

    Very helpfull

  • @IgalSchneider
    @IgalSchneider 2 года назад

    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  2 года назад +1

      You can use some job to keep updating the new config or change the expiry settings for longer period.

    • @IgalSchneider
      @IgalSchneider 2 года назад

      @@Thetips4you can you please expand on both options?

    • @IgalSchneider
      @IgalSchneider 2 года назад

      @@Thetips4you actually you can do it way simpler by using kops export kubecfg --admin=87600h

  • @pjj7466
    @pjj7466 2 года назад +1

    Marvellous

  • @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.

  • @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

  • @rushrush7277
    @rushrush7277 2 года назад +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 года назад +1

      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

  • @ddlingo
    @ddlingo 3 года назад

    Good tutorial

  • @imtiyazali8536
    @imtiyazali8536 3 года назад +1

    simply great

  • @kingtut6619
    @kingtut6619 3 года назад +1

    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  3 года назад

      Check branch you are using for the pipeline.

    • @kingtut6619
      @kingtut6619 3 года назад

      @@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.

  • @VANTYCSolutions
    @VANTYCSolutions 2 года назад +5

    Nice video unfortunately the Kubernetes Continuous Deploy plugin has been suspended due unresolved security issues.

    • @rangolis30
      @rangolis30 Год назад

      what plugin can be used instead of this?

  • @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

  • @shubhamshastri7409
    @shubhamshastri7409 2 года назад +1

    thanks buddy

  • @jayagrawal8450
    @jayagrawal8450 3 года назад

    Hey it's showing docker not found

  • @ashutoshbehera5510
    @ashutoshbehera5510 3 года назад +1

    thank you

  • @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

  • @edwigedizo96
    @edwigedizo96 Месяц назад +1

    🙏

  • @rampanwar1316
    @rampanwar1316 3 года назад

    Cool

  • @emanfeah9960
    @emanfeah9960 Год назад

    413 Request Entity Too Large -- to deploy a plugin

  • @mjtech353
    @mjtech353 2 года назад

    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  2 года назад

      Yes you are right. The plugin seems to be obsolete.

  • @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

  • @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 2 года назад

    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  2 года назад

      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)