mirror of
https://github.com/mii443/k8s-argocd.git
synced 2025-08-22 15:05:27 +00:00
add jenkins
This commit is contained in:
25
k8s/setup/jenkins/jenkins.yaml
Normal file
25
k8s/setup/jenkins/jenkins.yaml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: jenkins
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: jenkins
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: jenkins
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: jenkins
|
||||||
|
image: jenkins/jenkins:lts-jdk11
|
||||||
|
ports:
|
||||||
|
- containerPort: 8080
|
||||||
|
volumeMounts:
|
||||||
|
- name: jenkins-home
|
||||||
|
mountPath: /var/jenkins_home
|
||||||
|
volumes:
|
||||||
|
- name: jenkins-home
|
||||||
|
emptyDir: { }
|
Reference in New Issue
Block a user