- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 101 for volumeNames (0.2 sec)
-
pkg/kubelet/volumemanager/reconciler/reconstruct.go
klog.ErrorS(err, "Could not find device mount path for volume", "volumeName", gvl.volumeName) continue } err = rc.actualStateOfWorld.MarkDeviceAsUncertain(gvl.volumeName, gvl.devicePath, deviceMountPath, seLinuxMountContext) if err != nil { klog.ErrorS(err, "Could not mark device is uncertain to actual state of world", "volumeName", gvl.volumeName, "deviceMountPath", deviceMountPath) continue }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:23:12 UTC 2024 - 8.9K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/operation_executor_test.go
secretName := "secret-volume" volumeName := v1.UniqueVolumeName(secretName) // Act for i := range volumesToMount { podName := "pod-" + strconv.Itoa(i+1) pod := getTestPodWithSecret(podName, secretName) volumesToMount[i] = VolumeToMount{ Pod: pod, VolumeName: volumeName,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 26.9K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/operation_executor.go
// IsOperationPending returns true if an operation for the given volumeName // and one of podName or nodeName is pending, otherwise it returns false IsOperationPending(volumeName v1.UniqueVolumeName, podName volumetypes.UniquePodName, nodeName types.NodeName) bool // IsOperationSafeToRetry returns false if an operation for the given volumeName
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 42.6K bytes - Viewed (0) -
pkg/kubelet/volumemanager/cache/desired_state_of_world.go
reportedVolumesMap[reportedVolume] = true } for volumeName, volumeObj := range dsw.volumesToMount { _, volumeReported := reportedVolumesMap[volumeName] volumeObj.reportedInUse = volumeReported dsw.volumesToMount[volumeName] = volumeObj } } func (dsw *desiredStateOfWorld) DeletePodFromVolume( podName types.UniquePodName, volumeName v1.UniqueVolumeName) { dsw.Lock() defer dsw.Unlock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 27.1K bytes - Viewed (0) -
cmd/storage-rest_test.go
t.Fatalf("unexpected error %v", err) } testCases := []struct { volumeName string objectName string expectErr bool }{ {"foo", "myobject", false}, // file not found error. {"foo", "yourobject", true}, } for i, testCase := range testCases { _, err := storage.StatInfoFile(context.Background(), testCase.volumeName, testCase.objectName+"/"+xlStorageFormatFile, false) expectErr := (err != nil)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.4K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/pv_controller.go
return nil } } else /* pvc.Spec.VolumeName != nil */ { // [Unit test set 2] // User asked for a specific PV. logger.V(4).Info("Synchronizing unbound PersistentVolumeClaim, volume requested", "PVC", klog.KObj(claim), "volumeName", claim.Spec.VolumeName) obj, found, err := ctrl.volumes.store.GetByKey(claim.Spec.VolumeName) if err != nil { return err } if !found {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 89.2K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/operation_generator.go
if volumetypes.IsOperationFinishedError(mountError) && actualStateOfWorld.GetDeviceMountState(volumeToMount.VolumeName) == DeviceMountUncertain { if actualStateOfWorld.IsVolumeDeviceReconstructed(volumeToMount.VolumeName) { klog.V(2).InfoS("MountVolume.markDeviceErrorState leaving volume uncertain", "volumeName", volumeToMount.VolumeName) return } // Only devices which were uncertain can be marked as unmounted
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/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/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)