Zero to Kubernetes CI/CD in 5 minutes with Jenkins and Helm

  Рет қаралды 26,996

Lachlan Evenson

Lachlan Evenson

Күн бұрын

Пікірлер: 32
@billhooper1959
@billhooper1959 5 жыл бұрын
Candidly...I'm not very well versed to Jenkins/K8 and how this is done for CI/CD...this was absolutely crystal clear.
7 жыл бұрын
Awesome video! I'm building a jenkins pipeline shared library for our Google Cloud + Kubernetes + Docker + Cloudflare stack and your Jenkinsfile pipelines were a nice inspiration! Thanks!
@kingsadmin
@kingsadmin 6 жыл бұрын
Lachlan, I like the way you presented as simple as it is, excellent job! :)
@visionmountain3070
@visionmountain3070 5 жыл бұрын
I have issue about that Error: render error in "jenkins/templates/deprecation.yaml": template: jenkins/templates/deprecation.yaml:13:14: executing "jenkins/templates/deprecation.yaml" at : error calling fail: `Master.ImageTag` does no longer exist. It has been renamed to `master.imageTag
@omarimai7428
@omarimai7428 3 жыл бұрын
Thanks to you, now I have a better perspective !
@jamescarr99
@jamescarr99 7 жыл бұрын
Lachlan: really good presentation. Thanks for sharing this.
@sridharan1982
@sridharan1982 4 жыл бұрын
what is the reasoning to publish container during PR and merge into master? shouldn't it be just done as part of latter
@katuciaatootong7779
@katuciaatootong7779 2 жыл бұрын
Lachlan Evenson thanks you for the video. Quick question do you have two pipeline dev and production. I am a student just don’t understand the flow at that level please explain me or someone here who go the concept. Thanks you to help
@lifuqian3863
@lifuqian3863 6 жыл бұрын
thanks for this video! It's a good example for using jenkens in Kubernetes.
@gltr4129
@gltr4129 7 жыл бұрын
Thanks for the video! But can you also post a video on how to use ingress, kube-lego and get HTTPs to work? Those things seemed very necessary to follow your example, but you went over them in like 10 seconds.
@LachlanEvenson
@LachlanEvenson 7 жыл бұрын
Absolutely. I cover those things in the following video -- kzbin.info/www/bejne/fICVaZysr7yNeNU
@tapas511
@tapas511 4 жыл бұрын
Awesome CICD example in K8S.
@dmontube
@dmontube 7 жыл бұрын
Thanks for your guide. Can you please make it even more complete by starting from very beginning (kubernetes install). Which cloud you use? I've tried to deploy latest kubernetes 1.6.0 on baremetal via kubeadm. Jenkins/nginx-ingress works deployment completed successfully, I can log in to jenkins, but pipeline stuck in waiting for kube-pods workers. AFAIU this is issue with communicating between kubernetes-plugin and kubernetes-server itself. Probably this is due to new RBAC model. Please share you config so I can understand what goes wrong in my scenario.
@LachlanEvenson
@LachlanEvenson 7 жыл бұрын
You should be able to create a service account then reference it in the kubernetes plugin Something like ```shell kubectl -n create sa jenkins kubectl create clusterrolebinding jenkins --clusterrole cluster-admin --serviceaccount=:jenkins ```
@LachlanEvenson
@LachlanEvenson 7 жыл бұрын
twitter.com/LachlanEvenson/status/855182723064844289
@rahulnallari
@rahulnallari 6 жыл бұрын
Awesome job!! I was able to launch the pod on top of kubernetes cluster but unable to login with the password extracted using below command printf $(kubectl get secret --namespace jenkins-blue lazy-tortoise-jenkins -o jsonpath="{.data.jenkins-admin-password}" | base64 --decode);echo Any help on this is appreciated. Do I need to run kube lego and nginx as well?
@synnibarr
@synnibarr 7 жыл бұрын
I tried running through the steps just now and encountered an error complaining about incompatible version of Jenkins Plugins. So, I updated to kubernetes:0.12, credentials-binding:1.13, git:3.5.1, blueocean:1.1.6; however, it then fails because each Groovy signature needs approval. I had to add the following Signatures to: /scriptApproval/ method groovy.json.JsonSlurperClassic parseText java.lang.String method java.util.Collection toArray new groovy.json.JsonSlurperClassic staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods leftShift java.util.Map java.util.Map staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods split java.lang.String staticMethod org.kohsuke.groovy.sandbox.impl.Checker checkedCall java.lang.Object boolean boolean java.lang.String java.lang.Object[] staticMethod org.kohsuke.groovy.sandbox.impl.Checker checkedGetProperty java.lang.Object boolean boolean java.lang.Object
@LachlanEvenson
@LachlanEvenson 7 жыл бұрын
Are you following these steps? github.com/lachie83/croc-hunter/blob/master/DEMO.md
@synnibarr
@synnibarr 7 жыл бұрын
Yes, I have. And when I get to the Blue Ocean steps, the Github org does not load for me. Looking at the Jenkins admin page, there are multiple "issues" it wants to resolve: GitHub Pipeline for Blue Ocean v1.1.6 Pipeline implementation for Blue Ocean v1.1.6 failed to load. Fix this plugin first. GitHub plugin v1.28.0 Jenkins Git plugin v3.3.1 is older than required. To fix, install v3.4.0 or later. GitHub Pull Request Builder v1.39.0 GitHub plugin v1.28.0 failed to load. Fix this plugin first. Events API for Blue Ocean v1.1.6 Pipeline implementation for Blue Ocean v1.1.6 failed to load. Fix this plugin first. Blue Ocean Pipeline Editor v0.2.0 Pipeline implementation for Blue Ocean v1.1.6 failed to load. Fix this plugin first. GitHub Branch Source Plugin v2.2.3 GitHub plugin v1.28.0 failed to load. Fix this plugin first. Blue Ocean v1.1.4 Events API for Blue Ocean v1.1.6 failed to load. Fix this plugin first. Pipeline implementation for Blue Ocean v1.1.6 GitHub Branch Source Plugin v2.2.3 failed to load. Fix this plugin first.
@LachlanEvenson
@LachlanEvenson 7 жыл бұрын
Doh! Let's get this fixed!
@synnibarr
@synnibarr 7 жыл бұрын
Here's my repo with the updates so far: github.com/lastcoolnameleft/croc-hunter I'm getting closer, but still failing to deploy to K8S: RUNNING: croc-hunter-croc-hunter-web-test FAILED: croc-hunter-croc-hunter-web-test, run `kubectl logs croc-hunter-croc-hunter-web-test --namespace croc-hunter` for more info ➜ croc-hunter git:(master) kubectl logs croc-hunter-croc-hunter-web-test --namespace croc-hunter Error from server (NotFound): pods "croc-hunter-croc-hunter-web-test" not found
@paulaan7035
@paulaan7035 3 жыл бұрын
thanks a ton bro!
@clone-2322
@clone-2322 7 жыл бұрын
Are you running this on AWS or GCP?
@LachlanEvenson
@LachlanEvenson 7 жыл бұрын
Erich Hartmann This cluster was running on Azure ACS
@snapup8575
@snapup8575 7 жыл бұрын
Awesome man! Thank you
@kalvindai4221
@kalvindai4221 7 жыл бұрын
thanks for the video. good job.
@codetaming
@codetaming 6 жыл бұрын
Great video, thanks
@LachlanEvenson
@LachlanEvenson 6 жыл бұрын
Thanks. I appreciate your feedback
@jagadeeshwaran3801
@jagadeeshwaran3801 6 жыл бұрын
Simple and Awesome
@katuciaatootong7779
@katuciaatootong7779 2 жыл бұрын
Lachlan verson
小丑家的感情危机!#小丑#天使#家庭
00:15
家庭搞笑日记
Рет қаралды 30 МЛН
1 сквиш тебе или 2 другому? 😌 #шортс #виола
00:36
Inside Out 2: ENVY & DISGUST STOLE JOY's DRINKS!!
00:32
AnythingAlexia
Рет қаралды 18 МЛН
How to design a modern CI/CD Pipeline
9:59
DevOps Journey
Рет қаралды 144 М.
Kubernetes in 5 mins
5:37
VMware Cloud Native Apps
Рет қаралды 2,2 МЛН
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 306 М.
Kubernetes CI/CD pipeline with Helm
9:50
Lachlan Evenson
Рет қаралды 13 М.
The IDEAL & Practical CI / CD Pipeline - Concepts Overview
22:36
Be A Better Dev
Рет қаралды 484 М.
[ Kube 25 Discussion 1 ] Configuring Jenkins to connect to Kubernetes cluster
19:27
How to design a Deployment Pipeline (GitOps)
11:01
DevOps Journey
Рет қаралды 40 М.
Getting started with Kubernetes Ingress
8:27
Lachlan Evenson
Рет қаралды 21 М.