- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 544 for volumeID (0.94 sec)
-
pkg/controller/volume/attachdetach/cache/actual_state_of_world.go
// These volumes should include attached volumes, not-yet-attached volumes, // and may also include non-attachable volumes. // When present in the volumeNames parameter, the volume // is mounted by the given node, indicating it may not be safe to detach. // Otherwise, the volume is not mounted by the given node. SetVolumesMountedByNode(logger klog.Logger, volumeNames []v1.UniqueVolumeName, nodeName types.NodeName)
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/cache/desired_state_of_world.go
// It is used to prevent reporting the error from being reported more than once for a given volume. multiAttachErrorReported bool // volumeName contains the unique identifier for this volume. volumeName v1.UniqueVolumeName // spec is the volume spec containing the specification for this volume. // Used to generate the volume plugin object, and passed to attach/detach
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/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go
"k8s.io/kubernetes/pkg/kubelet/volumemanager/cache" "k8s.io/kubernetes/pkg/volume" "k8s.io/kubernetes/pkg/volume/csimigration" volumetesting "k8s.io/kubernetes/pkg/volume/testing" "k8s.io/kubernetes/pkg/volume/util" "k8s.io/kubernetes/pkg/volume/util/operationexecutor" "k8s.io/kubernetes/pkg/volume/util/types" ) const ( Removed string = "removed" Terminating string = "terminating"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 51.4K bytes - Viewed (0) -
pkg/kubelet/server/stats/volume_stat_calculator_test.go
return "", ErrorWatchTimeout } } // Fake volume/metrics provider var _ volume.Volume = &fakeVolume{} type fakeVolume struct{} func (v *fakeVolume) GetPath() string { return "" } func (v *fakeVolume) GetMetrics() (*volume.Metrics, error) { return expectedMetrics(), nil } func expectedMetrics() *volume.Metrics { vMetrics := &volume.Metrics{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 9.6K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconciler_test.go
} // Some steps are executes out of order in callbacks, follow the numbers. // 1. Add a volume to DSW and wait until it's mounted volumeSpec := &volume.Spec{Volume: &pod.Spec.Volumes[0]} // copy before reconciler runs to avoid data race. volumeSpecCopy := &volume.Spec{Volume: &pod.Spec.Volumes[0]} podName := util.GetUniquePodName(pod) generatedVolumeName, err := dsw.AddPodToVolume(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 07:34:33 UTC 2024 - 75.4K bytes - Viewed (0) -
pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go
}, Spec: v1.PodSpec{ Volumes: []v1.Volume{ { Name: "volume-name-2", VolumeSource: v1.VolumeSource{ GCEPersistentDisk: &v1.GCEPersistentDiskVolumeSource{ PDName: "fake-device1", }, }, }, }, }, } volumeSpec1 := &volume.Spec{Volume: &pod1.Spec.Volumes[0]} volumeSpec2 := &volume.Spec{Volume: &pod2.Spec.Volumes[0]}
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/controller/volume/attachdetach/reconciler/reconciler.go
continue } // Before triggering volume detach, mark volume as detached and update the node status // If it fails to update node status, skip detach volume // If volume detach operation fails, the volume needs to be added back to report as attached so that node status // has the correct volume attachment information.
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/kubelet/volumemanager/reconciler/reconciler.go
// resizing. rc.mountOrAttachVolumes() // Unmount volumes only when DSW and ASW are fully populated to prevent unmounting a volume // that is still needed, but it did not reach DSW yet. if readyToUnmount { // Ensure devices that should be detached/unmounted are detached/unmounted. rc.unmountDetachDevices() // Clean up any orphan volumes that failed reconstruction. rc.cleanOrphanVolumes() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:23:12 UTC 2024 - 2.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumezone/volume_zone.go
logger := klog.FromContext(ctx) podPVTopologies := make([]pvTopology, 0) for i := range pod.Spec.Volumes { volume := pod.Spec.Volumes[i] if volume.PersistentVolumeClaim == nil { continue } pvcName := volume.PersistentVolumeClaim.ClaimName if pvcName == "" { return nil, framework.NewStatus(framework.UnschedulableAndUnresolvable, "PersistentVolumeClaim had no name")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 16 14:13:06 UTC 2024 - 10.9K bytes - Viewed (0) -
pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go
"k8s.io/kubernetes/pkg/volume" "k8s.io/kubernetes/pkg/volume/csimigration" "k8s.io/kubernetes/pkg/volume/util" volumetypes "k8s.io/kubernetes/pkg/volume/util/types" ) // DesiredStateOfWorldPopulator periodically loops through the list of active // pods and ensures that each one exists in the desired state of the world cache // if it has volumes. It also verifies that the pods in the desired state of the
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 09:02:45 UTC 2024 - 23.8K bytes - Viewed (0)