SigNoz / charts

Helm Charts for SigNoz
MIT License
63 stars 67 forks source link

chore(clickhouse): set OnRootMismatch file system change policy #415

Closed prashant-shahi closed 3 months ago

prashant-shahi commented 3 months ago

This helps to shorten the time to change ownership and permission of a volume. When you have lots of files in the volume, it could fail to mount with timed out waiting for the condition error. This change should help resolve it.

OnRootMismatch: Only change permissions and ownership if the permission and the ownership of root directory does not match with expected permissions of the volume. This could help shorten the time it takes to change ownership and permission of a volume.

Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#configure-volume-permission-and-ownership-change-policy-for-pods