Kubernetes Webinar Series - Building CI CD Pipelines with Jenkins and Kubernetes

Sdílet
Vložit
  • čas přidán 17. 08. 2017
  • Learn how to configure CI/CD pipelines with Jenkins and Kubernetes. We will show you to how to automate deployments from source code to production clusters.
  • Věda a technologie

Komentáře • 56

  • @alexanderkleinhans7429
    @alexanderkleinhans7429 Před 5 lety +1

    Bravo. No seriously, I could not figure out how CI/CD would work across load balancing and horizontal scaling on AWS, if each instance was suppose to be a Jenkins slave, etc. I guess the lesson here is to use Kubernetes (and maybe GCP) instead; it configures load balancing settings (well). Commit to github => Jenkins, push to docker hub, Kubernetes deploy to environments and scale, declarative yaml files. Done. Kubernetes even lets you roll back to previous container versions. I don't know how you would do this without containers unless you were to re-build every horizontal box for every release. Networking there also seems like a nightmare. Kubernetes is a godsend. Treating containers as build artifacts is a bit of a hack but I guess I can deal with it. I suck at devops. Awesome video. Thanks man.

  • @MannuJadhav
    @MannuJadhav Před 6 lety

    Thank you very much for all your efforts!

  • @jorgerangel6715
    @jorgerangel6715 Před 5 lety

    Great explanation! Thanks for the video.

  • @prakharmehrotra9489
    @prakharmehrotra9489 Před 6 lety

    You are the best !! Very Nice Explanation..

  • @prabhathkota107
    @prabhathkota107 Před 5 lety

    Cleared lot of my doubts, thank you

  • @ramalingamvarkala1571
    @ramalingamvarkala1571 Před 5 lety

    Amazing video. It helped me a lot .Thank you,Thank you very much.

  • @vaibhavpund
    @vaibhavpund Před 4 lety

    The video was awesome ...Explained in detail!

  • @MrDevZero
    @MrDevZero Před 5 lety

    Thank you. Great Presentation

  • @Fingiorstyle
    @Fingiorstyle Před 5 lety

    Dude, what AMAZING video, thank you so much for doing this. You just made my night. +1sub

  • @shivapondichery
    @shivapondichery Před 6 lety

    Thank u so much !! I i wish to create CICD pipieline with kubernetes always. It worked for me fluently in AWS. And i have a question, ru running jenkins and kubernetes in different nodes or same? i tried in the same only.

  • @antisony2008
    @antisony2008 Před 5 lety +2

    where that ./kube directory in the jenkins machine came from?

  • @satyaharish5551
    @satyaharish5551 Před 6 lety

    Very good explanation

  • @tauseefkhan-cl4rp
    @tauseefkhan-cl4rp Před 6 lety

    Hi,
    I am facing issue in Jenkins installation on Google cloud platform, can please give some link how you have up Jenkins server

  • @imosolar
    @imosolar Před 6 lety

    Please can you provide us the link to the documentation for this?

  • @nandhureddythippareddy9201

    Thank you .Nice video i have one doubt where your doing build hellowhale image? i mean in cluster or any one of the node
    Thanks in advance

  • @trentoncain81
    @trentoncain81 Před 6 lety

    Quick question. So I'm noticing that you currently have 4 instance provisioned on GCP. Likewise, I have sinned up 4 servers as well hosted on AWS. I have 3 nodes in my kubernetes cluster, and a Jenkins master. In the build step you have specified kubectl and docker commands to build, push, and scale the app with kubernestes. So regarding your architecture, Do you have docker slave, or do you you have both Jenkins, and the Kube master on the same node? Please advise. Thanks!

    • @shivapondichery
      @shivapondichery Před 6 lety

      Keep kubectl,jenkins and docker on the same machine. It works!

  • @brianshanahan3878
    @brianshanahan3878 Před 5 lety

    Where may I get a copy of your "demo.sh" file you refer to in this video? This would be extremely helpful sir! Thank you.

  • @Cooldsachin
    @Cooldsachin Před 4 lety

    what basic settings you have done to connect to kubernetes cluster from jenkins server

  • @lizathapa
    @lizathapa Před 5 lety

    I need to setup microservices pipeline with docker and build is maven type but bit confused of keeping the docker images in Nexus as I don't want to use dockerhub how can I set up the pipeline.Hope for early response

  • @srikanthkesireddy4365
    @srikanthkesireddy4365 Před 4 lety +1

    without kubernetes global tool configuration ,how did you get that kubectl executed...

  • @yasirm
    @yasirm Před 5 lety +1

    At around 32.27, did you install kubectl in Jenkins server? How does it know which one is the master K8n node? It is very confusing to me that how Jenkins server is going to know where is Kubernetes cluster?

  • @dhirendrayadav7443
    @dhirendrayadav7443 Před 6 lety

    ur jenkins is running in the cluster where we will deploy or in seperate instance..... cause m running in seperate instance try to make deployment in a cluster ???/ pllzz answer

    • @shahebazsayed7526
      @shahebazsayed7526 Před 6 lety

      adding few points jenkins can be running on separate instance or it can be deployed in one of the container.
      you just need to pull jenkins image!
      and talking about HA with kubernetes you can replicate your master server
      $ MULTIZONE=true KUBE_GCE_ZONE=europe-west1-b ENABLE_ETCD_QUORUM_READS=true ./cluster/kube-up.sh

  • @myfenris
    @myfenris Před 6 lety

    can you share your presentation slide ?

  • @anantht2701
    @anantht2701 Před 5 lety +1

    How did you connect jenkins running on a separate VM to Kubernetes cluster? kubectl commands do not work in the jenkins pipeline without this integration.

    • @ashishsajwan9715
      @ashishsajwan9715 Před 4 lety

      install kubernetes cli plugin for jenkins and kubectl in your VM to connect with kubernetes cluster.

    • @FunkyAhamed
      @FunkyAhamed Před 4 lety

      @@ashishsajwan9715 That's not working though :(

  • @anaslatif
    @anaslatif Před 5 lety +6

    at 08:22, just noted that you said ghanta :D

  • @rohanjain1536
    @rohanjain1536 Před 5 lety

    Is this only possible if docker file is at hub.docker.com?

  • @princevarghesev1510
    @princevarghesev1510 Před 6 lety

    Its awesome. You gave a good idea about all concepts. And Let me ask few queries -----
    1. You are saying that code is taken from github , then why you are using docker hub ? , Since every rollout you are only doing commit to github. So what is the docker hub role?
    2. Can I use commiting codes in repository without using docker hub ? , I don't want to take my client code in a public place.
    3. Can I use a private on-premise SVN repository with Jenkins?
    4. If I am using more than one nodes in kubernetes ( Means I am using 3 nodes plus cluster master VM. ), How I need to create the shell script for releasing into different nodes ? Where I can create my pod.yml , service.yml ?

  • @AbhideepChakravarty
    @AbhideepChakravarty Před 5 lety

    How come which K8S cluster to connect to? How a Jenkins job can connect to multiple cluster, in case of deploying multiple project? This demo is good for POC only. Its only one to one mapping from Jenkins to K8S.

    • @ajprasad6865
      @ajprasad6865 Před 5 lety

      Possibly run build on seperate Jenkin's agents each connected to separate clusters?

  • @derk6831
    @derk6831 Před 4 lety

    My builds failed saying that the kubectl not found...? what is the problem...?

  • @MsMkhan1
    @MsMkhan1 Před 4 lety

    Hi Janikiram, Thanks for putting to gether CICD pipeline ; however I'm running into issue after running docker run -d -p80:80 --name hellowhale hellowhale and getting following error
    "docker: Error response from daemon: Conflict. The container name "/hellowhale" is already in use by container "b5bf1cd5d6ad0d31dfd6af6fbcb8d50d61f786f9a90a0d43f3eb4a1c2251ddf1". You have to remove (or rename) that container to be able to reuse that name.
    See 'docker run --help'."
    I think it is because It require access to your docker repository, not sure please review and confirm that can help me.
    Thanks for your help

  • @trentoncain81
    @trentoncain81 Před 6 lety +1

    Also, the jenkins user is not able to execute kubernetes commands... It states not resource found

    • @mbomboaimaim798
      @mbomboaimaim798 Před 6 lety

      Hi Trenton, Add Jenkins as a User. I encountered the same problem for weeks.

    • @Dhaval1983
      @Dhaval1983 Před 6 lety

      Could you please elaborate.. I am also unable to run the kubectl commands. What group do we add jenkins as a user to?

  • @gatlewar
    @gatlewar Před 6 lety

    Goid one Janakiram, quick question I guess you have Jenkins running on the same machine where you have Kubernetes master as per your Jenkins configuration Please confirm. Appreciate your efforts thanks!

    • @shivapondichery
      @shivapondichery Před 6 lety

      Keep jenkins,docker and kubernetes in the same machine. Kubectl command to create cluster will auto create master n nodes. Whole process wat he explained really worked for me! i done this is AWS env.

    • @arjunsuvarna2339
      @arjunsuvarna2339 Před 6 lety

      so i install jenkins on cluster-1(the kubernetes machine) for example?

    • @shahebazsayed7526
      @shahebazsayed7526 Před 6 lety

      i think better approach will be placing jenkins separately and docker kubernetes in cluster .
      what say ?

  • @abhaysingh1452
    @abhaysingh1452 Před 5 lety

    i think, In CI/CD, each build will create new container? if yes, what will happen already running container?

    • @akhilmaddu1695
      @akhilmaddu1695 Před 4 lety

      If you run install Jenkins using helm then every build will use a separate container. After the build, k8 it will shut down the container.

  • @mbomboaimaim798
    @mbomboaimaim798 Před 6 lety

    I'm having issues with Jenkins Build. Throwing an Error. + docker build . -t janakiramm/hellowhale:7
    /tmp/jenkins8775513526231623955.sh: line 3: docker: command not found

    • @juanjoseredondo759
      @juanjoseredondo759 Před 5 lety

      You need to make sure you have the docker plugin installed in Jenkins (if I am not wrong you can install it through the Jenkins UI on Server Settings/Extensions)

  • @angiealejo22
    @angiealejo22 Před 5 lety

    How to integrate jenkins on kubernetes with Google Cloud Source Repository?

    • @akhilmaddu1695
      @akhilmaddu1695 Před 4 lety

      I am also looking for the same. Please Let me know if you figure out how to do it.

    • @angiealejo22
      @angiealejo22 Před 4 lety

      Akhil Maddu there is a google qwiklab to do so, I don’t have the resource right now, but maybe if you google it you’ll find it. I wish you luck! Also, if I can during the day I’ll paste the link here

  • @rohitrepudi7803
    @rohitrepudi7803 Před 5 lety +1

    I need demo.sh file

  • @kambaalayashwanth123
    @kambaalayashwanth123 Před 4 lety

    please try on gitlab cicd

  • @vladyslavbabak5338
    @vladyslavbabak5338 Před 6 lety +2

    Slides www.slideshare.net/janakiramm/building-cicd-pipelines-with-jenkins-and-kubernetes

  • @pepecanas7023
    @pepecanas7023 Před 4 lety

    seems to be a great video, but not very useful when looking for janoris jenkins vs redskins

  • @che5ari
    @che5ari Před 5 lety

    Very good explanation. Just as an improvement, you could have cut a quarter of the hour spent on explaining CI/CD, Jenkins etc., since most people watching this would likely know those basics already and want to know about integrating these tools in the context of k8s.