- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 51 for attachable (0.8 sec)
-
pkg/controller/volume/attachdetach/populator/desired_state_of_world_populator.go
volumeAttachable := volutil.IsAttachableVolume(volumeToAttach.VolumeSpec, dswp.volumePluginMgr) if !volumeAttachable { logger.Info("Volume changes from attachable to non-attachable", "volumeName", volumeToAttach.VolumeName) for _, scheduledPod := range volumeToAttach.ScheduledPods { podUID := volutil.GetUniquePodName(scheduledPod)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 00:37:30 UTC 2023 - 7.7K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconstruct_common.go
// Searching by spec checks whether the volume is actually attachable // (i.e. has a PV) whereas searching by plugin name can only tell whether // the plugin supports attachable volumes. deviceMountablePlugin, err := rc.volumePluginMgr.FindDeviceMountablePluginBySpec(volumeSpec) if err != nil { return nil, err } // The unique volume name used depends on whether the volume is attachable/device-mountable
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 07:34:33 UTC 2024 - 14.1K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy
def newRepo = new SimpleClassMetaDataRepository<TestDomainObject>() newRepo.load(file) then: newRepo.find('class') == value } } class TestDomainObject implements Attachable<TestDomainObject>, Serializable { def value TestDomainObject(String value) { this.value = value } @Override boolean equals(Object o) { return o.value == value
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 3.8K bytes - Viewed (0) -
pkg/scheduler/metrics/resources/resources_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 13 07:42:19 UTC 2023 - 21.6K bytes - Viewed (0) -
pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go
attachableVolumePlugin, err := dswp.volumePluginMgr.FindAttachablePluginBySpec(volumeToMount.VolumeSpec) // only this means the plugin is truly non-attachable if err == nil && attachableVolumePlugin == nil { // It is not possible right now for a CSI plugin to be both attachable and non-deviceMountable // So the uniqueVolumeName should remain the same after the attachability change
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_test.go
volumeExists) } // Change the CSI volume plugin attachability fakeVolumePlugin.NonAttachable = true dswp.findAndRemoveDeletedPods(logger) // The volume should not exist after it becomes non-attachable volumeExists = dswp.desiredStateOfWorld.VolumeExists(expectedVolumeName, k8stypes.NodeName(pod.Spec.NodeName)) if volumeExists { t.Fatalf( "VolumeExists(%q) failed. Expected: <false> Actual: <%v>",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 10:42:15 UTC 2024 - 7.3K bytes - Viewed (0) -
pkg/kubelet/volumemanager/cache/actual_state_of_world.go
// which volumes should be reported as "in use" in the node's VolumesInUse // status field. Globally mounted here refers to the shared plugin mount // point for the attachable volume from which the pod specific mount points // are created (via bind mount). GetGloballyMountedVolumes() []AttachedVolume // GetUnmountedVolumes generates and returns a list of attached volumes that
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/plugins.go
// DevicePath - location of actual device on the node. In case of CSI // this just could be volumeID DevicePath string // DeviceMountPath location where device is mounted on the node. If volume type // is attachable - this would be global mount path otherwise // it would be location where volume was mounted for the pod DeviceMountPath string // DeviceStagingPath stores location where the volume is staged DeviceStagePath string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 16:13:15 UTC 2024 - 38.2K bytes - Viewed (0) -
pkg/volume/util/volumepathhandler/volume_path_handler_linux.go
func (v VolumePathHandler) GetLoopDevice(path string) (string, error) { _, err := os.Stat(path) if os.IsNotExist(err) { return "", errors.New(ErrDeviceNotFound) } if err != nil { return "", fmt.Errorf("not attachable: %v", err) } return getLoopDeviceFromSysfs(path) } func makeLoopDevice(path string) (string, error) { args := []string{"-f", path} cmd := exec.Command(losetupPath, args...)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 14:49:03 UTC 2023 - 7.6K bytes - Viewed (0) -
pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go
} // change the volume plugin from attachable to non-attachable fakeVolumePlugin.NonAttachable = true // The volume should still exist verifyVolumeExistsInVolumesToMount( t, v1.UniqueVolumeName(generatedVolumeName), false /* expectReportedInUse */, fakesDSW) dswp.findAndRemoveDeletedPods() // After the volume plugin changes to nonattachable, the corresponding volume attachable field should change.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 51.4K bytes - Viewed (0)