-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
backupPVC readOnly configuration doesn't work for SELinux #8249
Comments
@sseago @shubham-pampattiwar If snapshot full clone is not happening, it means backupPVC readOnly configuration is still working at least for ceph. Then we can consider to remove the readOnly flag from volumeSource. cc @reasonerjt |
@Lyndon-Li another option is to make this configurable -- something like this:
This would allow anyone using selinux without Restricted pods to use the |
@Lyndon-Li here's the proposed configurable fix: #8255 This has a few advantages over just doing the "always remove readonly" one:
|
@sseago Performance improvements to overall backup time of the affected namespaces, not to data transfer. SELinux rebaleling is a non-transparent action in Kubernetes during mount before the container runs. The application is not typically aware of SELinux relbaling in progress. Most only notice when the Kubernetes scheduler starts throwing up Events about deadlines exceeded. Kubernetes is in the process of converting to the far more efficient volume relabeling in 1.31-1.32 timeframe and went to beta at 1.27. |
|
See discussions in #8243, for data mover backup, if backupPVC readOnly is configured (design #7982, implementation #8109), VGDP always fails because of permission denied error in SELinux env.
The text was updated successfully, but these errors were encountered: