- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 224 for volumeNames (0.3 sec)
-
pkg/volume/util/nestedpendingoperations/nestedpendingoperations_test.go
n = types.NodeName("operation-nodename") } volumeNames = append(volumeNames, v) podNames = append(podNames, p) nodeNames = append(nodeNames, n) } t.Run(fmt.Sprintf("Test %d", test.testID), func(t *testing.T) { if test.expectPass { testConcurrentOperationsPositive(t, volumeNames[0], podNames[0], nodeNames[0], volumeNames[1], podNames[1], nodeNames[1], ) } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 26 01:29:17 UTC 2022 - 36.1K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/cache/actual_state_of_world.go
asw.attachedVolumes[volumeName] = volumeObj if isAttached { asw.addVolumeToReportAsAttached(logger, volumeName, nodeName) } return volumeName, nil } func (asw *actualStateOfWorld) SetVolumesMountedByNode( logger klog.Logger, volumeNames []v1.UniqueVolumeName, nodeName types.NodeName) { asw.Lock() defer asw.Unlock() asw.inUseVolumes[nodeName] = sets.New(volumeNames...)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 07:35:17 UTC 2024 - 28.7K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/reconciler/reconciler.go
"volumeName", attachedVolume.VolumeName) } else { metrics.RecordForcedDetachMetric(metrics.ForceDetachReasonOutOfService) logger.Info("attacherDetacher.DetachVolume started: node has out-of-service taint, force detaching", "node", klog.KRef("", string(attachedVolume.NodeName)), "volumeName", attachedVolume.VolumeName) } } } if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 22 21:02:38 UTC 2024 - 21.1K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/attach_detach_controller_test.go
newPod1 := controllervolumetesting.NewPodWithVolume("newpod-1", "volumeName2", "mynode-1") attachDetachRecoveryTestCase(t, []*v1.Pod{newPod1}, []*v1.Pod{}) newPod1 = controllervolumetesting.NewPodWithVolume("newpod-1", "volumeName2", "mynode-1") attachDetachRecoveryTestCase(t, []*v1.Pod{}, []*v1.Pod{newPod1}) newPod1 = controllervolumetesting.NewPodWithVolume("newpod-1", "volumeName2", "mynode-1")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 11:00:37 UTC 2024 - 24.2K bytes - Viewed (0) -
pkg/kubelet/volumemanager/cache/actual_state_of_world.go
type volumeNotAttachedError struct { volumeName v1.UniqueVolumeName } func (err volumeNotAttachedError) Error() string { return fmt.Sprintf( "volumeName %q does not exist in the list of attached volumes", err.volumeName) } func newVolumeNotAttachedError(volumeName v1.UniqueVolumeName) error { return volumeNotAttachedError{ volumeName: volumeName, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 07:34:33 UTC 2024 - 45.8K bytes - Viewed (0) -
pkg/volume/util/nestedpendingoperations/nestedpendingoperations.go
// - volumeName exists, podName empty, nodeName empty // This key matches all other keys with the same volumeName. // - volumeName exists, podName exists, nodeName empty // This key matches with: // - the same volumeName and podName // - the same volumeName, but empty podName // - volumeName exists, podName empty, nodeName exists // This key matches with: // - the same volumeName and nodeName
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 26 01:29:17 UTC 2022 - 12.6K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/cache/desired_state_of_world.go
} volumeObj, volumeExists := nodeObj.volumesToAttach[volumeName] if !volumeExists { volumeObj = volumeToAttach{ multiAttachErrorReported: false, volumeName: volumeName, spec: volumeSpec, scheduledPods: make(map[types.UniquePodName]pod), } dsw.nodesManaged[nodeName].volumesToAttach[volumeName] = volumeObj }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 10:42:15 UTC 2024 - 13.5K 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)