Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 51 for attachable (0.25 sec)

  1. pkg/volume/csi/csi_attacher.go

    		skip, err := c.plugin.skipAttach(driverName)
    		if err != nil {
    			klog.Error(log("Failed to check CSIDriver for %s: %s", driverName, err))
    		} else {
    			if skip {
    				// This volume is not attachable, pretend it's attached
    				attached[spec] = true
    				continue
    			}
    		}
    
    		attachID := getAttachmentName(volumeHandle, driverName, string(nodeName))
    		var attach *storage.VolumeAttachment
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 03 07:38:14 UTC 2023
    - 25.9K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_client_test.go

    }
    
    type VolumeStatsOptions struct {
    	VolumeSpec *volume.Spec
    
    	// this just could be volumeID
    	VolumeID 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
    }
    
    func TestVolumeHealthEnable(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_node_status.go

    // the API server, returning a boolean indicating whether the attempt was
    // successful.  If a node with the same name already exists, it reconciles the
    // value of the annotation for controller-managed attach-detach of attachable
    // persistent volumes for the node.
    func (kl *Kubelet) tryRegisterWithAPIServer(node *v1.Node) bool {
    	_, err := kl.kubeClient.CoreV1().Nodes().Create(context.TODO(), node, metav1.CreateOptions{})
    	if err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  4. pkg/volume/util/util.go

    		}
    		return false
    	}
    
    	// we don't know if it's supported or not and let the attacher fail later in cases it's not supported
    	return true
    }
    
    // IsAttachableVolume checks if the given volumeSpec is an attachable volume or not
    func IsAttachableVolume(volumeSpec *volume.Spec, volumePluginMgr *volume.VolumePluginMgr) bool {
    	attachableVolumePlugin, _ := volumePluginMgr.FindAttachablePluginBySpec(volumeSpec)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  5. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    		oex,
    		mount.NewFakeMounter(nil),
    		hostutil.NewFakeHostUtil(nil),
    		volumePluginMgr,
    		kubeletPodsDir)
    	reconciler := rc.(*reconciler)
    
    	// The pod has two volumes, fake-device1 is attachable, fake-device2 is not.
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "pod1",
    			UID:  "pod1uid",
    		},
    		Spec: v1.PodSpec{
    			Volumes: []v1.Volume{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.13.md

    * Reduces GCE PD Node Attach Limits by 1 since the node boot disk is considered an attachable disk ([#80923](https://github.com/kubernetes/kubernetes/pull/80923), [@davidz627](https://github.com/davidz627))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 273.1K bytes
    - Viewed (0)
  7. pkg/apis/core/types.go

    	// Set of ids/uuids to uniquely identify the node.
    	// +optional
    	NodeInfo NodeSystemInfo
    	// List of container images on this node
    	// +optional
    	Images []ContainerImage
    	// List of attachable volumes in use (mounted) by the node.
    	// +optional
    	VolumesInUse []UniqueVolumeName
    	// List of volumes that are attached to the node.
    	// +optional
    	VolumesAttached []AttachedVolume
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/core/v1/types.go

    	// List of container images on this node
    	// +optional
    	// +listType=atomic
    	Images []ContainerImage `json:"images,omitempty" protobuf:"bytes,8,rep,name=images"`
    	// List of attachable volumes in use (mounted) by the node.
    	// +optional
    	// +listType=atomic
    	VolumesInUse []UniqueVolumeName `json:"volumesInUse,omitempty" protobuf:"bytes,9,rep,name=volumesInUse"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  9. pkg/apis/core/validation/validation_test.go

    				Limits: core.ResourceList{
    					core.ResourceName("attachable-volumes-aws-ebs"): *resource.NewQuantity(10, resource.DecimalSI),
    				},
    			},
    			ImagePullPolicy:          "IfNotPresent",
    			TerminationMessagePolicy: "File",
    		}},
    		field.ErrorList{
    			{Type: field.ErrorTypeInvalid, Field: "containers[0].resources.limits[attachable-volumes-aws-ebs]"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.22.md

    - Support correct sorting for cpu, memory, storage, ephemeral-storage, hugepages, and attachable-volumes. ([#100435](https://github.com/kubernetes/kubernetes/pull/100435), [@lauchokyip](https://github.com/lauchokyip))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 13 12:43:45 UTC 2022
    - 454.1K bytes
    - Viewed (0)
Back to top