Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minio pod cannot start in large installation #76

Closed
dharapvj opened this issue Dec 20, 2021 · 0 comments · Fixed by #81
Closed

minio pod cannot start in large installation #76

dharapvj opened this issue Dec 20, 2021 · 0 comments · Fixed by #81

Comments

@dharapvj
Copy link
Contributor

If we have a large data in minio - e.g. greater than 300Gb, minio pod fails to come up due to PVC failing to get mounted.

We see below warning in kubelet logs for that node where pod is assigned:

W1220 05:32:58.485516    8703 volume_linux.go:52] Setting volume ownership for /var/lib/kubelet/pods/408ef833-2757-4807-a213-596706ddb0c5/volumes/kubernetes.io~vsphere-volume/pvc-573193ec-093a-4cd0-9f15-eed87faa3079 and fsGroup set. If the volume has a lot of files then setting volume ownership could be slow, see https://github.com/kubernetes/kubernetes/issues/69699

Going through suggested issue in the log message and linked documentation - it is suggested that we should set below setting for minio container.

      securityContext:
        fsGroupChangePolicy: "OnRootMismatch"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant