- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for ReadWriteOncePod (0.41 sec)
-
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/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_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/volume/util/operationexecutor/operation_generator.go
len(volumeToMount.VolumeSpec.PersistentVolume.Spec.AccessModes) == 1 && v1helper.ContainsAccessMode(volumeToMount.VolumeSpec.PersistentVolume.Spec.AccessModes, v1.ReadWriteOncePod) { err = goerrors.New("volume uses the ReadWriteOncePod access mode and is already in use by another pod") eventErr, detailedErr := volumeToMount.GenerateError("MountVolume.SetUp failed", err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 101.4K bytes - Viewed (0) -
pkg/kubelet/volumemanager/cache/desired_state_of_world.go
// - either the context+label is unknown (assigned randomly by the container runtime) // - or the volume plugin responsible for this volume does not support mounting with -o context // - or the volume is not ReadWriteOncePod // - or the OS does not support SELinux // In all cases, the SELinux context does not matter when mounting the volume. effectiveSELinuxMountFileLabel string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 27.1K bytes - Viewed (0) -
common-protos/k8s.io/api/storage/v1/generated.proto
// devices or as independent shared volumes. // Kubernetes will call NodeStage / NodePublish with "-o context=xyz" mount // option when mounting a ReadWriteOncePod volume used in Pod that has // explicitly set SELinux context. In the future, it may be expanded to other // volume AccessModes. In any case, Kubernetes will ensure that the volume is
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 24.7K bytes - Viewed (0) -
common-protos/k8s.io/api/storage/v1beta1/generated.proto
// devices or as independent shared volumes. // Kubernetes will call NodeStage / NodePublish with "-o context=xyz" mount // option when mounting a ReadWriteOncePod volume used in Pod that has // explicitly set SELinux context. In the future, it may be expanded to other // volume AccessModes. In any case, Kubernetes will ensure that the volume is
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 24.9K bytes - Viewed (0) -
staging/src/k8s.io/api/storage/v1/generated.proto
// devices or as independent shared volumes. // Kubernetes will call NodeStage / NodePublish with "-o context=xyz" mount // option when mounting a ReadWriteOncePod volume used in Pod that has // explicitly set SELinux context. In the future, it may be expanded to other // volume AccessModes. In any case, Kubernetes will ensure that the volume is
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 24.8K bytes - Viewed (0)