Jenkins on Amazon EKS - The easy way

  Рет қаралды 22,746

That DevOps Guy

That DevOps Guy

Күн бұрын

Subscribe to show your support! goo.gl/1Ty1Q2 .
Patreon 👉🏽 / marceldempers
Today we're going to look at what it takes to run Jenkins on Amazon Kubernetes Service.
This will allow us to build a CI/CD pipeline on Kubernetes which can build container images and deploy them to Kubernetes.
If you want to support the channel further, become a member 😎
marceldempers....
Checkout "That DevOps Community" too
marceldempers....
If you are exploring different open source CI/CD software, checkout my playlist:
• CI/CD Guides for DevOp...
If you are new to Kubernetes, check out my getting started playlist on Kubernetes below :)
Checkout the source code below and follow along :)
Kubernetes Guide for Beginners:
---------------------------------------------------
• Kubernetes development...
Kubernetes Monitoring Guide:
-----------------------------------------------
• Kubernetes Monitoring ...
Kubernetes Secret Management Guide:
--------------------------------------------------------------
• Kubernetes Secret Mana...
Like and Subscribe for more :)
Source Code
--------------------------------------------------------------
github.com/mar...
Follow me on socials!
marceldempers.dev
Twitter | / marceldempers
GitHub | github.com/mar...
Facebook | thatdevop...
LinkedIn | / marceldempers
Instagram | / thatdevopsguy
Music:
Track: Amine Maxwell - Night And The City | is licensed under a Creative Commons Attribution licence (creativecommon...)
Listen: / night-and-the-city
Track: Amine Maxwell - good morning | is licensed under a Creative Commons Attribution licence (creativecommon...)
Listen: / good-morning
Track: J3bii - Tryna Find My Piece | is licensed under a Creative Commons Attribution licence (creativecommon...)
Listen: / tryna-find-my-piece
Track: Johny Grimes - Levity | is licensed under a Creative Commons Attribution licence (creativecommon...)
Listen: / levity-1
Track: souKo - souKo - Parallel | is licensed under a Creative Commons Attribution licence (creativecommon...)
Listen: / parallel

Пікірлер: 44
@bwsdark
@bwsdark 4 жыл бұрын
Hey Master Pro Devops guy, thanks a lot for this explanation. First time I actually had to reduce video speed when seeing an IT video. Your information is concrete, detailed, and most importantly, to the point. Have a wonderful day!
@axelhuachacona6227
@axelhuachacona6227 4 жыл бұрын
Man, this is pure gold. Thank you so much for your work!
@qwertycomp9618
@qwertycomp9618 4 жыл бұрын
Great work! Working on moving Jenkins infra over to EKS so this was really helpful in seeing what setup for that entails :)
@luisontwo
@luisontwo 2 жыл бұрын
Really good and informative. To the point and sweet. I loved it. I; however, think that one must leverage HELM for deployments. The benefits are too great when it comes to release management to ignore so that's something I will continue to get done and working. On the other hand, my EKS Cluster uses both Windows and Linux worker nodes so I'll have to figure out how to get the two different worker nodes pods with the respective OS Images created for the desired worker os.
@muruganpari9761
@muruganpari9761 2 жыл бұрын
Appreciate your efforts! Great video 👍
@sureshgans
@sureshgans 4 жыл бұрын
Excellent explanation..!!! Straight to the point..looking for more videos like this..!!!
@RDarrylR
@RDarrylR 4 жыл бұрын
Another great video with all the details! Thanks for putting your videos up!
@trailblazer_nomad
@trailblazer_nomad 4 жыл бұрын
I agree with the comment below. This is pure gold :)
Жыл бұрын
And how do we proceed now, without Docker running on EC2?
@jonathanlim2207
@jonathanlim2207 Жыл бұрын
This is awesome! However, I am running k8s v1.24 where docker support is removed. How does this impact the docker builds?
@MarcelDempers
@MarcelDempers Жыл бұрын
You can use a sidecar on the jenkins agent pod, and run the docker:dind image to build as an alternative. This works quite well since it decouples you from the nodes container runtime
@legend_of_sitaram
@legend_of_sitaram 3 жыл бұрын
Awesome tutorial. I tried and everything worked fine . Only one problem , after creating new pipeline job with agent set to any , i can see many pods are getting created and end up in error. The error on jenkins says something like "jenkins label not found". Any idea on this ?
@crackthecodewithantman
@crackthecodewithantman 4 жыл бұрын
Really love your content mate! Keep it up! Cheers
@kayoutube690
@kayoutube690 2 жыл бұрын
Lot of missing, where did you get the kubernetes url? second how did you configure the jenkins credential? where did you get those values??
@celestesphere1390
@celestesphere1390 2 жыл бұрын
Thank you for the wonderful video. Just one thing, the background music starting at 6:00 is distracting/noisy. Would be helpful to just hear the explanation in a clear voice instead :)
@lindelaninema8850
@lindelaninema8850 4 жыл бұрын
Good job man, I’m planning to use kaniko image builder so that I won’t need docker daemon. I would like to have Jenkins UI behind an ingress/API-gateway so that my developers won’t have to do port forwarding. I will update how it goes. What I would like to see is to make EKS control plane’s API server private, so that it can only be accessible from “my-network”.
@bosmak
@bosmak 4 жыл бұрын
Not sure if I understood everything but you can configure EKS to be a internal endpoint and only answer from a single VPC where you can route as you'd like. For the Jenkins what I had used in the past is having a internal load balance for the Jenkins instance and had a internal domain on route53 that was available on site thru a STS vpn. About kaniko take a look at Makisu from Uber. I didn't try any of them but Makisu seems more "docker CLI" like and has some cool inside commands for layering control.
@lindelaninema8850
@lindelaninema8850 4 жыл бұрын
Gustavo Bosmak thanks, I’ll try it out. With regards to EKS control plane’s Endpoint, this is what I meant docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html
@TheMrVulchev
@TheMrVulchev 4 жыл бұрын
Great channel! Keep up the helpful content! Subbed
@freecomwifi5817
@freecomwifi5817 4 жыл бұрын
Just amazing. If I run more than one Jenkins jobs in the same time, will EKS provision more slaves for that? Also how to deploy Blue/Green through that declarative Jenkinsfile ?
4 жыл бұрын
Awesome man. Thank you for your time.
@jayantsinha8013
@jayantsinha8013 Жыл бұрын
i am unable to build jenkins agent with jdk 17 and higher version of docker. do you have latest image for the same?
@andreybistrinin3262
@andreybistrinin3262 2 жыл бұрын
Currently fighting with Jenkins we deployed via Helm, to run agent pods with kubectl and nodejs on it, the jenkins-slave image dont have curl neither wget so there is no way to just download it and install on statlrt
@manidevops8501
@manidevops8501 4 жыл бұрын
I'm having a problem while build the docker images, internet connectivity is available when i gave yum "RUN yum update" in the dockerfile...The slave node has the internet connectivity but in Dockerfile it shows Network Not Reachable....Can you please help me on this...
@ashishm.g4378
@ashishm.g4378 4 жыл бұрын
But since I set the user to 1001 and group to 1950, Im not able to perform andy "sudo" commands or SCP commands in my pipeline ( scp returns unknown user: 1001). Sorry Im pretty new to Devops, but how can we tackle this in Jenkins ?
@Leo-cd3rx
@Leo-cd3rx 4 жыл бұрын
how can I get user Id for docker ? I followed another vedio and didt configure ssh when launch an eks cluster, any workaround ?
@anilkumarpotula6296
@anilkumarpotula6296 4 жыл бұрын
Awesome. Thank you so much.
@cloudtrainingforethusiast
@cloudtrainingforethusiast 2 жыл бұрын
Awesome
@MadManisKakumani
@MadManisKakumani 3 жыл бұрын
Hello, I have an existing environment which is sitting in AWS EC2 and now I’m in the process migrating designing the solution to migrate into AWS EKS. Here is our existing legacy environment: [Jenkins Master with 1 Windows and 1 Linux agent ] - Installed on Aws ec2. Modernization Requirement: Jenkins will be deployed into AWS EKS with same Jenkins architecture. What’s the best way to deploy Windows and Linux agent pods in Aws eks cluster ? Can some one help me here ?
@VinceBaileydns-direct
@VinceBaileydns-direct 3 жыл бұрын
Great nice one.
@tomvernon1228
@tomvernon1228 4 жыл бұрын
Great video! Im getting "script.sh: docker: not found" in my agent, even though the docker executable is definitely there and accessible. Any ideas?
@MarcelDempers
@MarcelDempers 4 жыл бұрын
You might need to get a terminal into the agent while its running, and test out docker commands from there to ensure its working and to ensure the docker commands are running on the correct agent
@tomvernon1228
@tomvernon1228 4 жыл бұрын
@@MarcelDempers It generated two containers in my pod for some reason, which was causing the confusion. Started again and all looking good now. Keep up the good work :)
@freecomwifi5817
@freecomwifi5817 4 жыл бұрын
I followed your steps and success to deploy under the same namespace of Jenkins. Now, I need to deploy under a different namespace, so I created a namespace and then edit configmap by adding the namespace. but error message got out that cannot get resource "configmaps" in API group "" in the namespace "xxx". I tried also to do with script command "./kubectl apply -n xxx -f ./kubernetes/configmaps/configmap.yaml", but got the same output error. any advice?
@MarcelDempers
@MarcelDempers 4 жыл бұрын
That sounds like you missed something from a glance... perhaps either the jenkins agent is not running as the correct service account and does not have permission to "get" configmap from namespace "xxx" or you've missed the RBAC permissions on the service account.
@calin97100
@calin97100 4 жыл бұрын
I'm blocked at 10:33 :( I can't seem to make the port forwarding work for some reason, I keep getting Connection Refused errors when accessing 127.0.0.1:8080, and also the command hangs and doesn't do anything. Any tips on that?
@DetectiveOfLove
@DetectiveOfLove 4 жыл бұрын
same here, I am using Cloud9 as my IDE
@DetectiveOfLove
@DetectiveOfLove 4 жыл бұрын
I finally decided to use LoadBalancer instead of ClusterIP for the learning purpose
@ashik9001
@ashik9001 2 жыл бұрын
stuck here,, anybody has an idea? even i enable eks cluster endpoint access to public but still not able to see jenkins page?
Getting Started with EKS and Terraform
18:51
That DevOps Guy
Рет қаралды 41 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Simplify Kubernetes YAML with Kustomize
20:37
That DevOps Guy
Рет қаралды 78 М.
How to Integrate Jenkins With AWS
23:13
CloudBeesTV
Рет қаралды 47 М.
How to manage Kubernetes & containers with Portainer
35:26
That DevOps Guy
Рет қаралды 24 М.
Redis : The Basics for beginners
21:28
That DevOps Guy
Рет қаралды 31 М.
Understanding StatefulSets in Kubernetes
28:44
That DevOps Guy
Рет қаралды 50 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН