From f47945cfdbbb4cb9efc59faf684d991d0854019e Mon Sep 17 00:00:00 2001 From: Jim Nicholson Date: Mon, 1 Nov 2021 23:30:08 -0700 Subject: [PATCH] Switch to longhorn volume --- jenkins-volume.yaml | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/jenkins-volume.yaml b/jenkins-volume.yaml index c91c143..37fc6a6 100644 --- a/jenkins-volume.yaml +++ b/jenkins-volume.yaml @@ -1,22 +1,3 @@ -apiVersion: v1 -kind: PersistentVolume -metadata: - name: jenkins-pv - namespace: jenkins -spec: - accessModes: - - ReadWriteOnce - capacity: - storage: 20Gi - persistentVolumeReclaimPolicy: Retain - mountOptions: - - nolock - nfs: - server: 10.0.97.2 - path: /volume1/storage/jenkins - claimRef: - namespace: jenkins - name: jenkins-pvc --- apiVersion: v1 kind: PersistentVolumeClaim @@ -26,6 +7,7 @@ metadata: spec: accessModes: - ReadWriteOnce + storageClassName: longhorn resources: requests: - storage: 20Gi + storage: 10Gi