- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 395 for volumeName (0.24 sec)
-
pkg/volume/testing/testing.go
spec.PersistentVolume.Spec.RBD != nil { volumeName = spec.PersistentVolume.Spec.RBD.RBDImage } else if spec.Volume != nil && spec.Volume.CSI != nil { volumeName = spec.Volume.CSI.Driver } if volumeName == "" { volumeName = spec.Name() } return volumeName, nil } func (plugin *FakeVolumePlugin) CanSupport(spec *volume.Spec) bool { if plugin.CanSupportFn != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 53.3K bytes - Viewed (0) -
pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go
// So the uniqueVolumeName should remain the same after the attachability change dswp.desiredStateOfWorld.MarkVolumeAttachability(volumeToMount.VolumeName, false) klog.InfoS("Volume changes from attachable to non-attachable", "volumeName", volumeToMount.VolumeName) continue } } // Exclude known pods that we expect to be running if !dswp.podStateProvider.ShouldPodRuntimeBeRemoved(pod.UID) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 09:02:45 UTC 2024 - 23.8K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/populator/desired_state_of_world_populator.go
if !volumeAttachable { logger.Info("Volume changes from attachable to non-attachable", "volumeName", volumeToAttach.VolumeName) for _, scheduledPod := range volumeToAttach.ScheduledPods { podUID := volutil.GetUniquePodName(scheduledPod) dswp.desiredStateOfWorld.DeletePod(podUID, volumeToAttach.VolumeName, volumeToAttach.NodeName) logger.V(4).Info("Removing podUID and volume on node from desired state of world"+
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 00:37:30 UTC 2023 - 7.7K bytes - Viewed (0) -
cmd/kubeadm/app/phases/controlplane/volumes_test.go
t.Run(hostMount.Name, func(t *testing.T) { volumeName := hostMount.Name if _, ok := mounts.volumes["component"][volumeName]; !ok { t.Errorf("Expected to find volume %q", volumeName) } vol := mounts.volumes["component"][volumeName] if vol.Name != volumeName { t.Errorf("Expected volume name %q", volumeName) } if vol.HostPath.Path != hostMount.HostPath {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 09:33:18 UTC 2024 - 18.1K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/pv_controller_base.go
// clean any possible unfinished provision start timestamp from cache // Unit test [5-8] [5-9] ctrl.operationTimestamps.Delete(claimKey) volumeName := claim.Spec.VolumeName if volumeName == "" { logger.V(5).Info("deleteClaim: volume not bound", "PVC", klog.KObj(claim)) return } // sync the volume when its claim is deleted. Explicitly sync'ing the
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 29.5K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/util/util.go
} if pvc.Status.Phase != v1.ClaimBound || pvc.Spec.VolumeName == "" { return nil, fmt.Errorf( "PVC %s/%s has non-bound phase (%q) or empty pvc.Spec.VolumeName (%q)", namespace, name, pvc.Status.Phase, pvc.Spec.VolumeName) } return pvc, nil } // getPVSpecFromCache fetches the PV object with the given name from the shared
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 10:42:15 UTC 2024 - 12K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconstruct_test.go
podName := util.GetUniquePodName(pod) volumeName, err := rcInstance.desiredStateOfWorld.AddPodToVolume( podName, pod, volumeSpec, volumeSpec.Name(), "" /* volumeGidValue */, nil /* SELinuxContext */) if err != nil { t.Fatalf("Error adding volume %s to dsow: %v", volumeSpec.Name(), err) } rcInstance.actualStateOfWorld.MarkVolumeAsAttached(logger, volumeName, volumeSpec, nodeName, "") } // Act
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.8K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/statusupdater/node_status_updater_test.go
} volumeName1 := corev1.UniqueVolumeName("volume-name-1") volumeName2 := corev1.UniqueVolumeName("volume-name-2") volumeSpec1 := controllervolumetesting.GetTestVolumeSpec(string(volumeName1), volumeName1) volumeSpec2 := controllervolumetesting.GetTestVolumeSpec(string(volumeName2), volumeName2) nodeName1 := types.NodeName("testnode-1")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 00:37:30 UTC 2023 - 8.4K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconciler_common.go
} } else { // Volume is not attached to node, kubelet attach is enabled, volume implements an attacher, // so attach it volumeToAttach := operationexecutor.VolumeToAttach{ VolumeName: volumeToMount.VolumeName, VolumeSpec: volumeToMount.VolumeSpec, NodeName: rc.nodeName, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:23:12 UTC 2024 - 14.8K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/operation_generator_test.go
AccessModes: []v1.PersistentVolumeAccessMode{v1.ReadWriteOnce}, Resources: v1.VolumeResourceRequirements{Requests: v1.ResourceList{v1.ResourceStorage: resource.MustParse(specSize)}}, VolumeName: volumeName, }, Status: v1.PersistentVolumeClaimStatus{ Phase: v1.ClaimBound, }, } if len(statusSize) > 0 { pvc.Status.Capacity = v1.ResourceList{v1.ResourceStorage: resource.MustParse(statusSize)}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 16.2K bytes - Viewed (0)