1
0
Fork 0

updated volume claims

This commit is contained in:
sido 2018-09-10 17:37:50 +02:00
parent 14b27fc043
commit d9053b656c
3 changed files with 26 additions and 1 deletions

View File

@ -49,6 +49,10 @@ spec:
value: {{ .javaOpts }}
ports:
- containerPort: 8080
volumeMounts:
- name: molgenis-nfs
mountPath: "/home/molgenis"
restartPolicy: "Never"
livenessProbe:
httpGet:
path: /
@ -63,6 +67,10 @@ spec:
periodSeconds: 5
resources:
{{ toYaml .resources | indent 12 }}
volumes:
- name: molgenis-nfs
persistentVolumeClaim:
claimName: molgenis-nfs-claim
{{- end }}
- name: elasticsearch

View File

@ -0,0 +1,15 @@
{{- if .Values.molgenis.persistence.enabled -}}
apiVersion: extensions/v1beta1
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: molgenis-nfs-claim
annotations:
volume.beta.kubernetes.io/storage-class: "nfs-provisioner"
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 1Gi
{{- end }}

View File

@ -66,7 +66,9 @@ elasticsearch:
cpu: 100m
memory: 1Gi
nodeSelector: {}
nodeSelector: {
deployPod: "true"
}
tolerations: []