Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for topologies (0.22 sec)

  1. pkg/apis/storage/validation/validation.go

    func validateAllowedTopologies(topologies []api.TopologySelectorTerm, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    
    	if len(topologies) == 0 {
    		return allErrs
    	}
    
    	rawTopologies := make([]map[string]sets.Set[string], len(topologies))
    	for i, term := range topologies {
    		idxPath := fldPath.Index(i)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 00:47:13 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/podtopologyspread/scoring.go

    	TopologyPairToPodCounts map[topologyPair]*int64
    	// TopologyNormalizingWeight is the weight we give to the counts per topology.
    	// This allows the pod counts of smaller topologies to not be watered down by
    	// bigger ones.
    	TopologyNormalizingWeight []float64
    }
    
    // Clone implements the mandatory Clone interface. We don't really copy the data since
    // there is no need for that.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/podtopologyspread/filtering.go

    	if !ok {
    		return nil, fmt.Errorf("%+v convert to podtopologyspread.preFilterState error", c)
    	}
    	return s, nil
    }
    
    // calPreFilterState computes preFilterState describing how pods are spread on topologies.
    func (pl *PodTopologySpread) calPreFilterState(ctx context.Context, pod *v1.Pod) (*preFilterState, error) {
    	constraints, err := pl.getConstraints(pod)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 12.4K bytes
    - Viewed (1)
  4. pkg/kubelet/cm/cpumanager/topology/topology_test.go

    			// representation. This one was created following the these concepts:
    			// 1. be internally consistent (most important rule)
    			// 2. be as close as possible as existing HW topologies
    			// 3. if possible, minimize chances wrt existing HW topologies.
    			name: "DualNumaMultiSocketPerNumaHT",
    			machineInfo: cadvisorapi.MachineInfo{
    				NumCores:   80,
    				NumSockets: 4,
    				Topology: []cadvisorapi.Node{
    					{Id: 0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/interpodaffinity/filtering.go

    		// to not leave such pods in pending state forever, we check that if no other pod
    		// in the cluster matches the namespace and selector of this pod, the pod matches
    		// its own terms, and the node has all the requested topologies, then we allow the pod
    		// to pass the affinity check.
    		if len(state.affinityCounts) == 0 && podMatchesAllAffinityTerms(state.podInfo.RequiredAffinityTerms, state.podInfo.Pod) {
    			return true
    		}
    		return false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/volumebinding/volume_binding.go

    		{Event: framework.ClusterEvent{Resource: framework.PersistentVolume, ActionType: framework.Add | framework.Update}},
    		// Pods may fail to find available PVs because the node labels do not
    		// match the storage class's allowed topologies or PV's node affinity.
    		// A new or updated node may make pods schedulable.
    		//
    		// A note about UpdateNodeTaint event:
    		// NodeAdd QueueingHint isn't always called because of the internal feature called preCheck.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/storage/v1/generated.proto

      // This field is only honored by servers that enable the VolumeScheduling feature.
      // +optional
      optional string volumeBindingMode = 7;
    
      // allowedTopologies restrict the node topologies where volumes can be dynamically provisioned.
      // Each volume plugin defines its own supported topology specifications.
      // An empty TopologySelectorTerm list means there is no topology restriction.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/storage/v1beta1/generated.proto

      // This field is only honored by servers that enable the VolumeScheduling feature.
      // +optional
      optional string volumeBindingMode = 7;
    
      // allowedTopologies restrict the node topologies where volumes can be dynamically provisioned.
      // Each volume plugin defines its own supported topology specifications.
      // An empty TopologySelectorTerm list means there is no topology restriction.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 25K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/storage/v1/types_swagger_doc_generated.go

    	"allowedTopologies":    "allowedTopologies restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 07:07:45 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/storage/v1beta1/types_swagger_doc_generated.go

    	"allowedTopologies":    "allowedTopologies restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 09:18:43 UTC 2023
    - 23.4K bytes
    - Viewed (0)
Back to top