Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for csiNodeAnn (0.18 sec)

  1. pkg/scheduler/framework/plugins/nodevolumelimits/utils.go

    	// The plugin name should be listed in the CSINode object annotation.
    	// This indicates that the plugin has been migrated to a CSI driver in the node.
    	csiNodeAnn := csiNode.GetAnnotations()
    	if csiNodeAnn == nil {
    		return false
    	}
    
    	var mpaSet sets.Set[string]
    	mpa := csiNodeAnn[v1.MigratedPluginsAnnotationKey]
    	if len(mpa) == 0 {
    		mpaSet = sets.New[string]()
    	} else {
    		tok := strings.Split(mpa, ",")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/volumebinding/binder.go

    func isPluginMigratedToCSIOnNode(pluginName string, csiNode *storagev1.CSINode) bool {
    	if csiNode == nil {
    		return false
    	}
    
    	csiNodeAnn := csiNode.GetAnnotations()
    	if csiNodeAnn == nil {
    		return false
    	}
    
    	var mpaSet sets.Set[string]
    	mpa := csiNodeAnn[v1.MigratedPluginsAnnotationKey]
    	if len(mpa) == 0 {
    		mpaSet = sets.New[string]()
    	} else {
    		tok := strings.Split(mpa, ",")
    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