-
Notifications
You must be signed in to change notification settings - Fork 134
Closed
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels