updated volume claims
This commit is contained in:
parent
14b27fc043
commit
d9053b656c
@ -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
|
||||
|
15
molgenis/templates/persistence/molgenisPersistenceClaim.yaml
Normal file
15
molgenis/templates/persistence/molgenisPersistenceClaim.yaml
Normal 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 }}
|
@ -66,7 +66,9 @@ elasticsearch:
|
||||
cpu: 100m
|
||||
memory: 1Gi
|
||||
|
||||
nodeSelector: {}
|
||||
nodeSelector: {
|
||||
deployPod: "true"
|
||||
}
|
||||
|
||||
tolerations: []
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user