Move Jenkins and ntfy to deprecated
This commit is contained in:
36
deprecated/jenkins/jenkins-deployment.yaml
Normal file
36
deprecated/jenkins/jenkins-deployment.yaml
Normal file
@@ -0,0 +1,36 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
namespace: jenkins
|
||||
name: jenkins
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: jenkins
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: jenkins
|
||||
spec:
|
||||
restartPolicy: Always
|
||||
terminationGracePeriodSeconds: 10
|
||||
containers:
|
||||
- name: jenkins
|
||||
image: jenkins/jenkins:latest-jdk21
|
||||
resources:
|
||||
requests:
|
||||
cpu: 500m
|
||||
memory: 1Gi
|
||||
limits:
|
||||
cpu: 2000m
|
||||
memory: 4Gi
|
||||
volumeMounts:
|
||||
- name: jenkins-volume
|
||||
mountPath: /var/jenkins_home
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
volumes:
|
||||
- name: jenkins-volume
|
||||
persistentVolumeClaim:
|
||||
claimName: jenkins-pvc
|
||||
Reference in New Issue
Block a user