Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for DynamicResources (0.36 sec)

  1. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    }
    
    var _ framework.PreEnqueuePlugin = &dynamicResources{}
    var _ framework.PreFilterPlugin = &dynamicResources{}
    var _ framework.FilterPlugin = &dynamicResources{}
    var _ framework.PostFilterPlugin = &dynamicResources{}
    var _ framework.PreScorePlugin = &dynamicResources{}
    var _ framework.ReservePlugin = &dynamicResources{}
    var _ framework.EnqueueExtensions = &dynamicResources{}
    var _ framework.PreBindPlugin = &dynamicResources{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  2. pkg/kubelet/apis/podresources/server_v1_test.go

    								Memory:           memory,
    								DynamicResources: []*podresourcesapi.DynamicResource{},
    							},
    						},
    					},
    				},
    			},
    		},
    		{
    			desc:             "pod with dynamic resources",
    			pods:             pods,
    			devices:          []*podresourcesapi.ContainerDevices{},
    			cpus:             cpus,
    			memory:           memory,
    			dynamicResources: draDevs,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/registry.go

    		EnableSchedulingQueueHint:                    feature.DefaultFeatureGate.Enabled(features.SchedulerQueueingHints),
    	}
    
    	registry := runtime.Registry{
    		dynamicresources.Name:                runtime.FactoryAdapter(fts, dynamicresources.New),
    		imagelocality.Name:                   imagelocality.New,
    		tainttoleration.Name:                 runtime.FactoryAdapter(fts, tainttoleration.New),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/names/names.go

    */
    
    package names
    
    const (
    	PrioritySort                    = "PrioritySort"
    	DefaultBinder                   = "DefaultBinder"
    	DefaultPreemption               = "DefaultPreemption"
    	DynamicResources                = "DynamicResources"
    	ImageLocality                   = "ImageLocality"
    	InterPodAffinity                = "InterPodAffinity"
    	NodeAffinity                    = "NodeAffinity"
    	NodeName                        = "NodeName"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 14:11:33 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/podresources/server_v1.go

    		podsProvider:             providers.Pods,
    		devicesProvider:          providers.Devices,
    		cpusProvider:             providers.Cpus,
    		memoryProvider:           providers.Memory,
    		dynamicResourcesProvider: providers.DynamicResources,
    	}
    }
    
    // List returns information about the resources assigned to pods on the node
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 13:00:09 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/dynamicresources/structuredparameters.go

    limitations under the License.
    */
    
    package dynamicresources
    
    import (
    	"context"
    	"fmt"
    	"sync"
    
    	v1 "k8s.io/api/core/v1"
    	resourcev1alpha2 "k8s.io/api/resource/v1alpha2"
    	"k8s.io/apimachinery/pkg/labels"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/klog/v2"
    	namedresourcesmodel "k8s.io/kubernetes/pkg/scheduler/framework/plugins/dynamicresources/structured/namedresources"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 22 09:03:22 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. pkg/kubelet/apis/podresources/types.go

    }
    
    type PodResourcesProviders struct {
    	Pods             PodsProvider
    	Devices          DevicesProvider
    	Cpus             CPUsProvider
    	Memory           MemoryProvider
    	DynamicResources DynamicResourcesProvider
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 17:33:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. pkg/scheduler/apis/config/v1/default_plugins.go

    				extended := make([]v1.Plugin, 0, len(config.MultiPoint.Enabled)+1)
    				extended = append(extended, config.MultiPoint.Enabled[:i]...)
    				extended = append(extended, v1.Plugin{Name: names.DynamicResources})
    				extended = append(extended, config.MultiPoint.Enabled[i:]...)
    				config.MultiPoint.Enabled = extended
    				break
    			}
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/dynamicresources/structuredparameters_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package dynamicresources
    
    import (
    	"errors"
    	"sync"
    	"testing"
    
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    
    	v1 "k8s.io/api/core/v1"
    	resourceapi "k8s.io/api/resource/v1alpha2"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 09:27:01 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  10. pkg/scheduler/apis/config/v1/default_plugins_test.go

    						{Name: names.VolumeBinding},
    						{Name: names.VolumeZone},
    						{Name: names.PodTopologySpread, Weight: ptr.To[int32](2)},
    						{Name: names.InterPodAffinity, Weight: ptr.To[int32](2)},
    						{Name: names.DynamicResources},
    						{Name: names.DefaultPreemption},
    						{Name: names.NodeResourcesBalancedAllocation, Weight: ptr.To[int32](1)},
    						{Name: names.ImageLocality, Weight: ptr.To[int32](1)},
    						{Name: names.DefaultBinder},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:03:04 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top