Joshuaariolu opened a new issue, #742:
URL: https://github.com/apache/solr-operator/issues/742
I'm quite new to helm and solr deployments and I am currently trying to
mount a EFS volume on the solr pods using helm.
I have created a separate pvc (test-pvc) with a storage class that's
connected to EFS
when I try to mount a volume on solr I define the pvc on the values.yaml
file as
pvc:
name: "test-pvc"
labels: {}
annotations: {}
storageClassName: "test-storageclass"
If I run the helm release with just those changes it gives me the error
below
"solr" is invalid:
[spec.customSolrKubeOptions.podOptions.volumes[0].defaultContainerMount.mountPath:
Required value,
spec.customSolrKubeOptions.podOptions.volumes[0].defaultContainerMount.name:
Required value, spec.customSolrKubeOptions.podOptions.volumes[0].name: Required
value]
So I add the podoptions.volume value as
- name: data
source:
persistentVolumeClaim:
claimName: test-pvc
defaultContainerMount:
name: data
mountPath: "/data"
This seems to mount correctly to/data directory but it creates multiple
errors as the number of replicas on solr keeps increasing and it also creates
multiple mount points on the container the first being /data and the
/var/solr/data/
And when I try to set default container mount to /var/solr/data it gives me
and error saying it must be unique.
Please what is the correct way to mount efs volume on solr using helm?
Thanks in advance
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]