- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for CheckAndMarkVolumeAsUncertainViaReconstruction (0.53 sec)
-
pkg/kubelet/volumemanager/reconciler/reconstruct.go
VolumeSpec: volume.volumeSpec, VolumeMountState: operationexecutor.VolumeMountUncertain, SELinuxMountContext: volume.seLinuxMountContext, } _, err = rc.actualStateOfWorld.CheckAndMarkVolumeAsUncertainViaReconstruction(markVolumeOpts) if err != nil { klog.ErrorS(err, "Could not add pod to volume information to actual state of world", "pod", klog.KObj(volume.pod)) 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.go
// volume expansion must not be retried for this volume MarkForInUseExpansionError(volumeName v1.UniqueVolumeName) // CheckAndMarkVolumeAsUncertainViaReconstruction only adds volume to actual state of the world // if volume was not already there. This avoid overwriting in any previously stored // state. It returns error if there was an error adding the volume to ASOW.
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/actual_state_of_world_test.go
OuterVolumeSpecName: volumeSpec1.Name(), VolumeSpec: volumeSpec1, VolumeMountState: operationexecutor.VolumeMountUncertain, } _, err = asw.CheckAndMarkVolumeAsUncertainViaReconstruction(markVolumeOpts1) if err != nil { t.Fatalf("AddPodToVolume failed. Expected: <no error> Actual: <%v>", err) } // make sure state is as we expect it to be
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 46.3K bytes - Viewed (0) -
pkg/kubelet/volumemanager/cache/actual_state_of_world.go
asw.RLock() defer asw.RUnlock() _, ok := asw.foundDuringReconstruction[volumeName] return ok } func (asw *actualStateOfWorld) CheckAndMarkVolumeAsUncertainViaReconstruction(opts operationexecutor.MarkVolumeOpts) (bool, error) { asw.Lock() defer asw.Unlock() volumeObj, volumeExists := asw.attachedVolumes[opts.VolumeName] if !volumeExists { return false, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 07:34:33 UTC 2024 - 45.8K bytes - Viewed (0)