updated volume claims
This commit is contained in:
parent
14b27fc043
commit
d9053b656c
@ -49,6 +49,10 @@ spec:
|
|||||||
value: {{ .javaOpts }}
|
value: {{ .javaOpts }}
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
|
volumeMounts:
|
||||||
|
- name: molgenis-nfs
|
||||||
|
mountPath: "/home/molgenis"
|
||||||
|
restartPolicy: "Never"
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
@ -63,6 +67,10 @@ spec:
|
|||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
resources:
|
resources:
|
||||||
{{ toYaml .resources | indent 12 }}
|
{{ toYaml .resources | indent 12 }}
|
||||||
|
volumes:
|
||||||
|
- name: molgenis-nfs
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: molgenis-nfs-claim
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
- name: elasticsearch
|
- 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
|
cpu: 100m
|
||||||
memory: 1Gi
|
memory: 1Gi
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {
|
||||||
|
deployPod: "true"
|
||||||
|
}
|
||||||
|
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user