Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 394 for volumeID (0.42 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/controller/volume/persistentvolume/testing/testing.go

    			if reflect.DeepEqual(storedVolume, volume) {
    				logger.V(4).Info("Nothing updated volume", "volumeName", volume.Name)
    				return true, volume, nil
    			}
    			// Don't modify the existing object
    			volume = volume.DeepCopy()
    			volume.ResourceVersion = strconv.Itoa(storedVer + 1)
    		} else {
    			return true, nil, fmt.Errorf("cannot update volume %s: volume not found", volume.Name)
    		}
    
    		// Store the updated object to appropriate places.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. pkg/kubelet/kubelet_volumes_test.go

    		t.Fatalf("expected volume unmount to wait for no volumes: %v", actual)
    	}
    
    	// Verify volumes unmounted
    	podVolumes = kubelet.volumeManager.GetMountedVolumesForPod(
    		util.GetUniquePodName(pod))
    
    	assert.Len(t, podVolumes, 0,
    		"Expected volumes to be unmounted and detached. But some volumes are still mounted: %#v", podVolumes)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 17 16:53:28 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  6. pkg/controller/volume/persistentvolume/framework_test.go

    // Meant to be used to compose volumes specified inline in a test.
    func volumesWithAnnotation(name, value string, volumes []*v1.PersistentVolume) []*v1.PersistentVolume {
    	for _, volume := range volumes {
    		volumeWithAnnotation(name, value, volume)
    	}
    	return volumes
    }
    
    // claimWithAccessMode saves given access into given claims.
    // Meant to be used to compose claims specified inline in a test.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 09:54:00 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. plugin/pkg/auth/authorizer/node/graph_test.go

    				DeprecatedServiceAccount: "sa1",
    				Volumes: []corev1.Volume{
    					{Name: "volume1", VolumeSource: corev1.VolumeSource{ConfigMap: &corev1.ConfigMapVolumeSource{LocalObjectReference: corev1.LocalObjectReference{Name: "cm1"}}}},
    					{Name: "volume2", VolumeSource: corev1.VolumeSource{ConfigMap: &corev1.ConfigMapVolumeSource{LocalObjectReference: corev1.LocalObjectReference{Name: "cm2"}}}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:14:19 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  10. pkg/controller/volume/attachdetach/util/util_test.go

    	tf "k8s.io/kubernetes/pkg/scheduler/testing/framework"
    	"k8s.io/kubernetes/pkg/volume/csimigration"
    	"k8s.io/kubernetes/pkg/volume/fc"
    
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	"k8s.io/client-go/kubernetes/fake"
    	utiltesting "k8s.io/client-go/util/testing"
    	"k8s.io/kubernetes/pkg/volume"
    	volumetest "k8s.io/kubernetes/pkg/volume/testing"
    )
    
    const (
    	testHostName      = "test-hostname"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 12 05:42:38 UTC 2023
    - 10.4K bytes
    - Viewed (0)
Back to top