Тёмный

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

Janakiram MSV
Подписаться 18 тыс.
Просмотров 49 тыс.
50% 1

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.

Наука

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

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 56   
@alexanderkleinhans7429
@alexanderkleinhans7429 5 лет назад
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.
@NandhuKishorReddy
@NandhuKishorReddy 3 года назад
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
@srikanthkesireddy4365
@srikanthkesireddy4365 5 лет назад
without kubernetes global tool configuration ,how did you get that kubectl executed...
@vaibhavpund
@vaibhavpund 5 лет назад
The video was awesome ...Explained in detail!
@antisony2008
@antisony2008 5 лет назад
where that ./kube directory in the jenkins machine came from?
@ramalingamvarkala1571
@ramalingamvarkala1571 5 лет назад
Amazing video. It helped me a lot .Thank you,Thank you very much.
@princevarghesev1510
@princevarghesev1510 6 лет назад
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 ?
@MannuJadhav
@MannuJadhav 7 лет назад
Thank you very much for all your efforts!
@anaslatif
@anaslatif 5 лет назад
at 08:22, just noted that you said ghanta :D
@jorgerangel6715
@jorgerangel6715 5 лет назад
Great explanation! Thanks for the video.
@prabhathkota107
@prabhathkota107 5 лет назад
Cleared lot of my doubts, thank you
@prakharmehrotra9489
@prakharmehrotra9489 6 лет назад
You are the best !! Very Nice Explanation..
@yasirm
@yasirm 5 лет назад
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?
@FunkyAhamed
@FunkyAhamed 5 лет назад
Same problem for me to as well
@Cooldsachin
@Cooldsachin 4 года назад
what basic settings you have done to connect to kubernetes cluster from jenkins server
@MrDevZero
@MrDevZero 5 лет назад
Thank you. Great Presentation
@derk6831
@derk6831 4 года назад
My builds failed saying that the kubectl not found...? what is the problem...?
@shivapondichery
@shivapondichery 6 лет назад
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.
@satyaharish5551
@satyaharish5551 6 лет назад
Very good explanation
@brianshanahan3878
@brianshanahan3878 5 лет назад
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.
@Fingiorstyle
@Fingiorstyle 5 лет назад
Dude, what AMAZING video, thank you so much for doing this. You just made my night. +1sub
@MsMkhan1
@MsMkhan1 5 лет назад
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
@abhaysingh1452
@abhaysingh1452 5 лет назад
i think, In CI/CD, each build will create new container? if yes, what will happen already running container?
@akhilmaddu1695
@akhilmaddu1695 4 года назад
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.
@imosolar
@imosolar 7 лет назад
Please can you provide us the link to the documentation for this?
@anantht2701
@anantht2701 5 лет назад
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 5 лет назад
install kubernetes cli plugin for jenkins and kubectl in your VM to connect with kubernetes cluster.
@FunkyAhamed
@FunkyAhamed 5 лет назад
@@ashishsajwan9715 That's not working though :(
@trentoncain81
@trentoncain81 6 лет назад
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 6 лет назад
Keep kubectl,jenkins and docker on the same machine. It works!
@rohanjain1536
@rohanjain1536 5 лет назад
Is this only possible if docker file is at hub.docker.com?
@tauseefkhan-cl4rp
@tauseefkhan-cl4rp 7 лет назад
Hi, I am facing issue in Jenkins installation on Google cloud platform, can please give some link how you have up Jenkins server
@AbhideepChakravarty
@AbhideepChakravarty 6 лет назад
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 5 лет назад
Possibly run build on seperate Jenkin's agents each connected to separate clusters?
@lizathapa
@lizathapa 6 лет назад
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
@manikanthkommoju3176
@manikanthkommoju3176 5 лет назад
i have the solution for it
@trentoncain81
@trentoncain81 6 лет назад
Also, the jenkins user is not able to execute kubernetes commands... It states not resource found
@mbomboaimaim798
@mbomboaimaim798 6 лет назад
Hi Trenton, Add Jenkins as a User. I encountered the same problem for weeks.
@Dhaval1983
@Dhaval1983 6 лет назад
Could you please elaborate.. I am also unable to run the kubectl commands. What group do we add jenkins as a user to?
@dhirendrayadav7443
@dhirendrayadav7443 6 лет назад
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 6 лет назад
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
@mbomboaimaim798
@mbomboaimaim798 6 лет назад
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 5 лет назад
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)
@gatlewar
@gatlewar 6 лет назад
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 6 лет назад
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 6 лет назад
so i install jenkins on cluster-1(the kubernetes machine) for example?
@shahebazsayed7526
@shahebazsayed7526 6 лет назад
i think better approach will be placing jenkins separately and docker kubernetes in cluster . what say ?
@pepecanas7023
@pepecanas7023 4 года назад
seems to be a great video, but not very useful when looking for janoris jenkins vs redskins
@kambaalayashwanth123
@kambaalayashwanth123 5 лет назад
please try on gitlab cicd
@myfenris
@myfenris 6 лет назад
can you share your presentation slide ?
@che5ari
@che5ari 5 лет назад
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.
@angiealejo22
@angiealejo22 5 лет назад
How to integrate jenkins on kubernetes with Google Cloud Source Repository?
@akhilmaddu1695
@akhilmaddu1695 4 года назад
I am also looking for the same. Please Let me know if you figure out how to do it.
@angiealejo22
@angiealejo22 4 года назад
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 5 лет назад
I need demo.sh file
@vladyslavbabak5338
@vladyslavbabak5338 6 лет назад
Slides www.slideshare.net/janakiramm/building-cicd-pipelines-with-jenkins-and-kubernetes
Далее
Continuous Deployment on Kubernetes with Spinnaker
1:14:01
Kubernetes Webinar Series - Everything About Ingress
48:13
Blue vs Green Emoji Eating Challenge
00:33
Просмотров 3,3 млн
НЮША УСПОКОИЛА КОТЯТ#cat
00:43
Просмотров 671 тыс.
How to design a modern CI/CD Pipeline
9:59
Просмотров 137 тыс.
Introduction to Microservices, Docker, and Kubernetes
55:08
bulletproof❌ Nokia✅
0:17
Просмотров 41 млн