kubernetes/pkg/kubelet/volumemanager/cache
Jan Safranek c4163a9cb8 Add label with access mode to SELinux metrics
In the KEP 1710 we promised to have all SELinux metrics with access mode
label, so cluster admin is able to distinguish when RWOP volumes are
failing to mount (-> SELinuxMountReadWriteOncePod feature gate must be
disabled) or volumes with any other access modes are failing (->
SELinuxMount feature gate must be disabled).

Adding the label to kubelet is quite straightforward, there were some
changes needed in the e2e test. Now grabMetrics() collects values of all
SELinux related metrics with all labels. It only skips unrelated volume
plugins. And waitForMetricIncrease gets metric with all labels on input, so
it can check that say RWOP metric increased and RWX one did not.
2024-03-04 13:16:56 +01:00
..
actual_state_of_world_test.go Graduate ReadWriteOncePod to GA 2023-10-20 10:40:39 -07:00
actual_state_of_world.go Use a separate function for checking if device was reconstructed 2023-12-14 11:37:47 -05:00
desired_state_of_wold_selinux_metrics.go Add label with access mode to SELinux metrics 2024-03-04 13:16:56 +01:00
desired_state_of_world_test.go Fix SELinux unit tests 2023-10-25 10:43:29 +02:00
desired_state_of_world.go Add label with access mode to SELinux metrics 2024-03-04 13:16:56 +01:00