/kind feature
What happened:
seLinuxMount is a property of CSIDriver added in Kubernetes 1.25. It declares the driver's ability to mount its volumes separately with different SELinux labels. The reason this matters is because workloads storing many small files on PVs will suffer from very slow startup otherwise.
What you expected to happen:
The CSIDriver to support passing the -o context= option to mount and declare seLinuxMount: true. This would prevent needless relabeling.
How to reproduce it:
Create a PVC with a huge amount of files. When restarting the Pod the container will be in ContainerCreating for quite some time, depending on underlying storage IO
Anything else we need to know?:
For relevant context see:
Environment:
- openstack-cloud-controller-manager(or other related binary) version:
- OpenStack version:
- Others:
/kind feature
What happened:
seLinuxMount is a property of CSIDriver added in Kubernetes 1.25. It declares the driver's ability to mount its volumes separately with different SELinux labels. The reason this matters is because workloads storing many small files on PVs will suffer from very slow startup otherwise.
What you expected to happen:
The CSIDriver to support passing the -o context= option to mount and declare seLinuxMount: true. This would prevent needless relabeling.
How to reproduce it:
Create a PVC with a huge amount of files. When restarting the Pod the container will be in ContainerCreating for quite some time, depending on underlying storage IO
Anything else we need to know?:
For relevant context see:
Environment: