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

Fix slow startup by doing chmod once #158

Merged
merged 1 commit into from
Jun 27, 2022
Merged

Conversation

ysoldak
Copy link
Contributor

@ysoldak ysoldak commented Jun 22, 2022

Use fsGroupChangePolicy: "OnRootMismatch" (stable in k8s 1.23) to eliminate unnecessary chmod that can be slow for large volumes.

See #14

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

Use fsGroupChangePolicy: "OnRootMismatch" (stable in k8s 1.23) to eliminate unnecessary chmod that can be slow for large volumes.
See runatlantis#14
See https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#configure-volume-permission-and-ownership-change-policy-for-pods
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants