Re: [I] Ability to mount EFS volume on solr pods [solr-operator]

2025-01-09 Thread via GitHub


HoustonPutman closed issue #742: Ability to mount EFS volume on solr pods
URL: https://github.com/apache/solr-operator/issues/742


-- 
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]



Re: [I] Ability to mount EFS volume on solr pods [solr-operator]

2025-01-09 Thread via GitHub


Joshuaariolu commented on issue #742:
URL: https://github.com/apache/solr-operator/issues/742#issuecomment-2580168024

   Thanks @HoustonPutman works perfectly


-- 
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]



Re: [I] Ability to mount EFS volume on solr pods [solr-operator]

2025-01-08 Thread via GitHub


HoustonPutman commented on issue #742:
URL: https://github.com/apache/solr-operator/issues/742#issuecomment-2578943065

   Please past as json, or else it's very hard to read.
   
   Can you delete the cloud and recreate from scratch, just using:
   
   ```json
 dataStorage:
   persistent:
 reclaimPolicy: Delete
 pvcTemplate:
   spec:
 storageClassName: "Test-storageclass"
   ```
   
   Also you shouldn't need additional volume mounts or volumes, so try removing 
both of those.


-- 
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]



Re: [I] Ability to mount EFS volume on solr pods [solr-operator]

2025-01-08 Thread via GitHub


Joshuaariolu commented on issue #742:
URL: https://github.com/apache/solr-operator/issues/742#issuecomment-2578610388

   Thanks again for your response
   dataStorage:
 type: "persistent"
 capacity: "20Gi"
 persistent:
   reclaimPolicy: "Delete"
   pvc:
 name: data
 labels: {}
 annotations: {}
 storageClassName: "Test-storageclass"
 
when I change the spec in the values.yaml to the above, without any 
custom volume definition I get the following error:
create Pod solr-solrcloud-2 in StatefulSet solr-solrcloud failed error: 
Pod "solr-solrcloud-2" is invalid: [spec.containers[0].volumeMounts[0].name: 
Not found: "data", spec.initContainers[0].volumeMounts[1].name: Not found: 
"data"]
   
   when I add the custom volume below it creates a pvc for each of the pods in 
the stateful set but creates multiple mount points. 
   Mounts:
 /data from data (rw)
 /var/solr/data from data (rw)
 
   volumes: 
- name: data
  defaultContainerMount:
name: data
mountPath: "/data"
  source:
persistentVolumeClaim:
  claimName: test-pvc
   
 My confusion is on how exactly is the values.yaml supposed to be 
structured in order to mount a persistent volume to the pods correctly? it 
seems like there is a predefined mount and volume present.
   Also I noticed that the volume I mounted in solr also creates a mount on the 
zookeeper pods.
   
   
   


-- 
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]



Re: [I] Ability to mount EFS volume on solr pods [solr-operator]

2025-01-08 Thread via GitHub


HoustonPutman commented on issue #742:
URL: https://github.com/apache/solr-operator/issues/742#issuecomment-2578348100

   Can you share your exact SolrCloud spec?


-- 
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]



Re: [I] Ability to mount EFS volume on solr pods [solr-operator]

2025-01-07 Thread via GitHub


Joshuaariolu commented on issue #742:
URL: https://github.com/apache/solr-operator/issues/742#issuecomment-2575515822

   When I try it using the way you recommended I get the below error
   
   create Pod solr-solrcloud-2 in StatefulSet solr-solrcloud failed error: Pod 
"solr-solrcloud-2" is invalid: [spec.containers[0].volumeMounts[0].name: Not 
found: "data", spec.initContainers[0].volumeMounts[1].name: Not found: "data"]
   
   Do have to define a volume mount as well?


-- 
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]



Re: [I] Ability to mount EFS volume on solr pods [solr-operator]

2025-01-06 Thread via GitHub


HoustonPutman commented on issue #742:
URL: https://github.com/apache/solr-operator/issues/742#issuecomment-2573590985

   So if you want to use efs volumes for the persistent volumes that store 
Solr's data, then you should configure it under dataOptions, not add an 
additional volume. See here for more information: 
https://apache.github.io/solr-operator/docs/solr-cloud/solr-cloud-crd.html#data-storage.
 But basically, you will want to set the storage class there.


-- 
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]