Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 220 for volumeID (0.13 sec)

  1. pkg/kubelet/volumemanager/volume_manager.go

    	"k8s.io/kubernetes/pkg/kubelet/volumemanager/reconciler"
    	"k8s.io/kubernetes/pkg/volume"
    	"k8s.io/kubernetes/pkg/volume/csimigration"
    	"k8s.io/kubernetes/pkg/volume/util"
    	"k8s.io/kubernetes/pkg/volume/util/hostutil"
    	"k8s.io/kubernetes/pkg/volume/util/operationexecutor"
    	"k8s.io/kubernetes/pkg/volume/util/types"
    	"k8s.io/kubernetes/pkg/volume/util/volumepathhandler"
    )
    
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/cache/actual_state_of_world.go

    	"k8s.io/kubernetes/pkg/volume"
    	"k8s.io/kubernetes/pkg/volume/util"
    	"k8s.io/kubernetes/pkg/volume/util/operationexecutor"
    	volumetypes "k8s.io/kubernetes/pkg/volume/util/types"
    )
    
    // ActualStateOfWorld defines a set of thread-safe operations for the kubelet
    // volume manager's actual state of the world cache.
    // This cache contains volumes->pods i.e. a set of all volumes attached to this
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/volume/util/util_test.go

    			mountRefs: []string{
    				"/home/somewhere/var/lib/kubelet/plugins/kubernetes.io/some-plugin/mounts/volume-XXXX",
    				"/var/lib/kubelet/plugins/kubernetes.io/some-plugin/mounts/volume-XXXX",
    				"/mnt/kubelet/plugins/kubernetes.io/some-plugin/mounts/volume-XXXX",
    				"/mnt/plugins/kubernetes.io/some-plugin/mounts/volume-XXXX",
    			},
    			expected: false,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/volumebinding/binder.go

    	return pvc.Spec.VolumeName != "" && metav1.HasAnnotation(pvc.ObjectMeta, volume.AnnBindCompleted)
    }
    
    // arePodVolumesBound returns true if all volumes are fully bound
    func (b *volumeBinder) arePodVolumesBound(logger klog.Logger, pod *v1.Pod) bool {
    	for _, vol := range pod.Spec.Volumes {
    		if isBound, _, _ := b.isVolumeBound(logger, pod, &vol); !isBound {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top