1
0
This commit is contained in:
Fleur Kelpin 2018-06-27 13:18:54 +02:00
commit d909c1bc07
3 changed files with 12 additions and 4 deletions

View File

@ -19,6 +19,10 @@ spec:
app: {{ .Values.nexus.name }} app: {{ .Values.nexus.name }}
creationTimestamp: null creationTimestamp: null
spec: spec:
volumes:
- name: molgenis-nexus-data
persistentVolumeClaim:
claimName: molgenis-nexus-data
restartPolicy: {{ .Values.nexus.restartPolicy }} restartPolicy: {{ .Values.nexus.restartPolicy }}
containers: containers:
- name: {{ .Values.nexus.name }} - name: {{ .Values.nexus.name }}
@ -27,3 +31,7 @@ spec:
ports: ports:
- containerPort: {{ .Values.nexus.port.ui }} - containerPort: {{ .Values.nexus.port.ui }}
- containerPort: {{ .Values.nexus.port.docker }} - containerPort: {{ .Values.nexus.port.docker }}
volumeMounts:
- name: molgenis-nexus-data
mountPath: "/nexus-data"

View File

@ -7,10 +7,10 @@ metadata:
spec: spec:
storageClassName: nfs-class storageClassName: nfs-class
capacity: capacity:
storage: 5Gi storage: 50Gi
accessModes: accessModes:
- ReadWriteMany - ReadWriteMany
persistentVolumeReclaimPolicy: Retain persistentVolumeReclaimPolicy: Retain
nfs: nfs:
server: 192.168.64.10 server: 192.168.64.12
path: /home/gcc/molgenis-nexus-data path: /gcc/molgenis/nexus-data

View File

@ -8,4 +8,4 @@ spec:
- ReadWriteMany - ReadWriteMany
resources: resources:
requests: requests:
storage: 5Gi storage: 50Gi