MENU

Fun & Interesting

How to Use Kubernetes Pods As Jenkins Agents

CloudBeesTV 62,408 lượt xem 3 years ago
Video Not Working? Fix It Now

Need help with your Jenkins questions?
Visit https://community.jenkins.io/c/using-jenkins/support/8

Timecodes ⏱:

00:00 Introduction
00:10 Overview
01:00 Starting point
01:43 Creating a Kubernetes cluster using kind
04:28 Disable controller executors
05:14 Install Kubernetes plugin
06:04 Configure Kubernetes plugin
15:00 Create a test job
18:17 Add a second container
20:19 Sharing a workspace between containers
22:46 Why would you want to get rid of static agents?

#jenkinstutorial #jenkinspipeline #kubernetes

Information referenced in this video:

Gist with all the commands:
https://gist.github.com/darinpope/67c297b3ccc04c17991b22e1422df45a

Jenkins LTS 2.289.1
https://www.jenkins.io/changelog-stable/#v2.289.1

Kubernetes plugin:
https://plugins.jenkins.io/kubernetes/

Kind documentation:
https://kind.sigs.k8s.io/

CloudBees on Twitter:
https://twitter.com/CloudBees

Darin on Twitter:
https://twitter.com/DarinPope

Comment