necipakca opened a new issue, #523:
URL: https://github.com/apache/solr-operator/issues/523
When I tried to start solrcloud on our k8s system with Huawei CSI pvc. Pod
can not start due to file system permissions problem. It can not write files to
the data volume.
I can solve the issue with initContainer ;
initContainers:
- name: busybox
image: busybox:1.28.0-glibc
command:
- "/bin/sh"
- "-c"
- "mkdir -p /var/solr/data && chown -R 8983:8983 /var/solr/data
&& chmod -R 770 /var/solr/"
volumeMounts:
- mountPath: /var/solr/data
name: data
securityContext:
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
--
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]