Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 51 for attachable (0.14 sec)

  1. pkg/apis/core/v1/helper/helpers.go

    func IsOvercommitAllowed(name v1.ResourceName) bool {
    	return IsNativeResource(name) &&
    		!IsHugePageResourceName(name)
    }
    
    // IsAttachableVolumeResourceName returns true when the resource name is prefixed in attachable volume
    func IsAttachableVolumeResourceName(name v1.ResourceName) bool {
    	return strings.HasPrefix(string(name), v1.ResourceAttachableVolumesPrefix)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/reconciler/reconciler_common.go

    				}
    			} else {
    				// Volume is attached to node, detach it
    				// Kubelet not responsible for detaching or this volume has a non-attachable volume plugin.
    				if rc.controllerAttachDetachEnabled || !attachedVolume.PluginIsAttachable {
    					rc.actualStateOfWorld.MarkVolumeAsDetached(attachedVolume.VolumeName, attachedVolume.NodeName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  3. pkg/controller/volume/attachdetach/cache/actual_state_of_world.go

    	// the volume is not confirmed to be attached to the node yet.
    	// A unique volume name is generated from the volumeSpec and returned on
    	// success.
    	// If volumeSpec is not an attachable volume plugin, an error is returned.
    	// If no volume with the name volumeName exists in the store, the volume is
    	// added.
    	// If no node with the name nodeName exists in list of attached nodes for
    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/volume/volume.go

    type CustomBlockVolumeUnmapper interface {
    	BlockVolumeUnmapper
    	// TearDownDevice removes traces of the SetUpDevice procedure.
    	// If the plugin is non-attachable, this method detaches the volume
    	// from a node.
    	TearDownDevice(mapPath string, devicePath string) error
    
    	// UnmapPodDevice removes traces of the MapPodDevice procedure.
    	UnmapPodDevice() error
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. pkg/volume/util/operationexecutor/operation_generator.go

    	}, nil
    }
    
    // GenerateMapVolumeFunc marks volume as mounted based on following steps.
    // If plugin is attachable, call WaitForAttach() and then mark the device
    // as mounted. On next step, SetUpDevice is called without dependent of
    // plugin type, but this method mainly is targeted for none attachable plugin.
    // After setup is done, create symbolic links on both global map path and pod
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  6. pkg/controller/volume/attachdetach/cache/desired_state_of_world.go

    	// A unique volumeName is generated from the volumeSpec and returned on
    	// success.
    	// If the pod already exists under the specified volume, this is a no-op.
    	// If volumeSpec is not an attachable volume plugin, an error is returned.
    	// If no volume with the name volumeName exists in the list of volumes that
    	// should be attached to the specified node, the volume is implicitly added.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. pkg/volume/csi/csi_test.go

    					t.Fatal("csiTest.VolumeAll detacher.Detach failed:", err)
    				}
    				t.Log("csiTest.VolumeAll detacher.Detach succeeded for volume", volName)
    
    			} else {
    				t.Log("csiTest.VolumeAll attachable plugin not found for plugin.Detach call, skipping")
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 15:55:13 UTC 2022
    - 21.1K bytes
    - Viewed (0)
  8. pkg/volume/local/local_test.go

    		t.Errorf("Deletable plugin found, expected none")
    	}
    
    	attachPlug, err := plugMgr.FindAttachablePluginByName(localVolumePluginName)
    	if err == nil && attachPlug != nil {
    		t.Errorf("Attachable plugin found, expected none")
    	}
    
    	createPlug, err := plugMgr.FindCreatablePluginBySpec(spec)
    	if err == nil && createPlug != nil {
    		t.Errorf("Creatable plugin found, expected none")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 10:53:39 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go

    			test:             "don't skip Filter when the pod has inline migratable volumes",
    			wantStatus:       framework.NewStatus(framework.Unschedulable, ErrReasonMaxVolumeCountExceeded),
    		},
    	}
    
    	// running attachable predicate tests with feature gate and limit present on nodes
    	for _, test := range tests {
    		t.Run(test.test, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  10. pkg/volume/testing/testing.go

    	ProvisionDelaySeconds  int
    	SupportsRemount        bool
    	SupportsSELinux        bool
    	DisableNodeExpansion   bool
    	CanSupportFn           func(*volume.Spec) bool
    
    	// default to false which means it is attachable by default
    	NonAttachable bool
    
    	// Add callbacks as needed
    	WaitForAttachHook func(spec *volume.Spec, devicePath string, pod *v1.Pod, spectimeout time.Duration) (string, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top