- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for ReadWriteOncePod (0.24 sec)
-
pkg/scheduler/framework/plugins/volumerestrictions/volume_restrictions.go
ErrReasonReadWriteOncePodConflict = "node has pod using PersistentVolumeClaim with the same name and ReadWriteOncePod access mode" ) // preFilterState computed at PreFilter and used at Filter. type preFilterState struct { // Names of the pod's volumes using the ReadWriteOncePod access mode. readWriteOncePodPVCs sets.Set[string]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 20 17:40:39 UTC 2023 - 12.5K bytes - Viewed (1) -
pkg/kubelet/volumemanager/cache/desired_state_of_world_test.go
PersistentVolume: &v1.PersistentVolume{ ObjectMeta: metav1.ObjectMeta{ Name: "basicPV", }, Spec: v1.PersistentVolumeSpec{ AccessModes: []v1.PersistentVolumeAccessMode{v1.ReadWriteOncePod}, }, }, } podName := util.GetUniquePodName(pod) seLinuxContainerContexts := []*v1.SELinuxOptions{&seLinux} // Act generatedVolumeName, err := dsw.AddPodToVolume(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 34K bytes - Viewed (0) -
pkg/apis/core/helper/helpers_test.go
} if !ContainsAccessMode(modes, core.ReadWriteMany) { t.Errorf("Expected mode %s, but got %+v", core.ReadWriteMany, modes) } if !ContainsAccessMode(modes, core.ReadWriteOncePod) { t.Errorf("Expected mode %s, but got %+v", core.ReadWriteOncePod, modes) } } func TestRemoveDuplicateAccessModes(t *testing.T) { modes := []core.PersistentVolumeAccessMode{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 28 07:31:28 UTC 2023 - 9.2K bytes - Viewed (0) -
pkg/apis/core/v1/helper/helpers.go
if ContainsAccessMode(modes, v1.ReadOnlyMany) { modesStr = append(modesStr, "ROX") } if ContainsAccessMode(modes, v1.ReadWriteMany) { modesStr = append(modesStr, "RWX") } if ContainsAccessMode(modes, v1.ReadWriteOncePod) { modesStr = append(modesStr, "RWOP") } return strings.Join(modesStr, ",") } // GetAccessModesFromString returns an array of AccessModes from a string created by GetAccessModesAsString
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 23:03:54 UTC 2024 - 11.4K bytes - Viewed (0) -
pkg/volume/csi/csi_client.go
return csipbv1.VolumeCapability_AccessMode_MULTI_NODE_MULTI_WRITER // This mapping exists to enable CSI drivers that lack the // SINGLE_NODE_MULTI_WRITER capability to work with the // ReadWriteOncePod access mode. case api.ReadWriteOncePod: return csipbv1.VolumeCapability_AccessMode_SINGLE_NODE_WRITER } return csipbv1.VolumeCapability_AccessMode_UNKNOWN }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 20 10:15:36 UTC 2022 - 22.1K bytes - Viewed (0) -
pkg/volume/csi/csi_client_test.go
expectedMappedAccessMode: csipbv1.VolumeCapability_AccessMode_MULTI_NODE_MULTI_WRITER, }, { name: "with ReadWriteOncePod and incapable driver", singleNodeMultiWriterSet: false, accessMode: api.ReadWriteOncePod, expectedMappedAccessMode: csipbv1.VolumeCapability_AccessMode_SINGLE_NODE_WRITER, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 33.9K bytes - Viewed (0) -
pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go
newContainerSELinuxOpts: fullOpts, pluginSupportsSELinux: true, expectedContext: "system_u:object_r:container_file_t:s0:c1,c2", }, { name: "RWOP with plugin with SELinux with partial context in pod", accessModes: []v1.PersistentVolumeAccessMode{v1.ReadWriteOncePod}, newContainerSELinuxOpts: partialOpts,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 51.4K bytes - Viewed (0) -
pkg/apis/core/v1/helper/helpers_test.go
} if !ContainsAccessMode(modes, v1.ReadWriteMany) { t.Errorf("Expected mode %s, but got %+v", v1.ReadWriteMany, modes) } if !ContainsAccessMode(modes, v1.ReadWriteOncePod) { t.Errorf("Expected mode %s, but got %+v", v1.ReadWriteOncePod, modes) } } func TestRemoveDuplicateAccessModes(t *testing.T) { modes := []v1.PersistentVolumeAccessMode{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 23:03:54 UTC 2024 - 16.9K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumerestrictions/volume_restrictions_test.go
AccessModes: []v1.PersistentVolumeAccessMode{v1.ReadWriteOncePod}, }, } readWriteOncePodPVC2 := &v1.PersistentVolumeClaim{ ObjectMeta: metav1.ObjectMeta{ Namespace: "default", Name: "claim-with-rwop-2", }, Spec: v1.PersistentVolumeClaimSpec{ AccessModes: []v1.PersistentVolumeAccessMode{v1.ReadWriteOncePod}, }, } readWriteManyPVC := &v1.PersistentVolumeClaim{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 20 17:40:39 UTC 2023 - 17.3K bytes - Viewed (0) -
pkg/apis/core/helper/helpers.go
modesStr = append(modesStr, "ROX") } if ContainsAccessMode(modes, core.ReadWriteMany) { modesStr = append(modesStr, "RWX") } if ContainsAccessMode(modes, core.ReadWriteOncePod) { modesStr = append(modesStr, "RWOP") } return strings.Join(modesStr, ",") } // GetAccessModesFromString returns an array of AccessModes from a string created by GetAccessModesAsString
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 28 07:31:28 UTC 2023 - 16.1K bytes - Viewed (0)