Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for topologyValue (0.37 sec)

  1. pkg/scheduler/framework/plugins/interpodaffinity/filtering.go

    		// Iterate over topology pairs to get any of the pods being affected by
    		// the scheduled pod anti-affinity terms
    		for topologyKey, topologyValue := range nodeInfo.Node().Labels {
    			tp := topologyPair{key: topologyKey, value: topologyValue}
    			if state.existingAntiAffinityCounts[tp] > 0 {
    				return false
    			}
    		}
    	}
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/podtopologyspread/filtering.go

    // structure needs to be revisited.
    // Fields are exported for comparison during testing.
    type criticalPaths [2]struct {
    	// TopologyValue denotes the topology value mapping to topology key.
    	TopologyValue string
    	// MatchNum denotes the number of matching pods.
    	MatchNum int
    }
    
    func newCriticalPaths() *criticalPaths {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 12.4K bytes
    - Viewed (1)
  3. staging/src/k8s.io/api/testdata/HEAD/discovery.k8s.io.v1beta1.EndpointSlice.json

            "uid": "uidValue",
            "apiVersion": "apiVersionValue",
            "resourceVersion": "resourceVersionValue",
            "fieldPath": "fieldPathValue"
          },
          "topology": {
            "topologyKey": "topologyValue"
          },
          "nodeName": "nodeNameValue",
          "hints": {
            "forZones": [
              {
                "name": "nameValue"
              }
            ]
          }
        }
      ],
      "ports": [
        {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 06 21:25:20 UTC 2022
    - 2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/HEAD/discovery.k8s.io.v1beta1.EndpointSlice.yaml

        fieldPath: fieldPathValue
        kind: kindValue
        name: nameValue
        namespace: namespaceValue
        resourceVersion: resourceVersionValue
        uid: uidValue
      topology:
        topologyKey: topologyValue
    kind: EndpointSlice
    metadata:
      annotations:
        annotationsKey: annotationsValue
      creationTimestamp: "2008-01-01T01:01:01Z"
      deletionGracePeriodSeconds: 10
      deletionTimestamp: "2009-01-01T01:01:01Z"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 06 21:25:20 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.29.0/discovery.k8s.io.v1beta1.EndpointSlice.json

            "uid": "uidValue",
            "apiVersion": "apiVersionValue",
            "resourceVersion": "resourceVersionValue",
            "fieldPath": "fieldPathValue"
          },
          "topology": {
            "topologyKey": "topologyValue"
          },
          "nodeName": "nodeNameValue",
          "hints": {
            "forZones": [
              {
                "name": "nameValue"
              }
            ]
          }
        }
      ],
      "ports": [
        {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.29.0/discovery.k8s.io.v1beta1.EndpointSlice.yaml

        fieldPath: fieldPathValue
        kind: kindValue
        name: nameValue
        namespace: namespaceValue
        resourceVersion: resourceVersionValue
        uid: uidValue
      topology:
        topologyKey: topologyValue
    kind: EndpointSlice
    metadata:
      annotations:
        annotationsKey: annotationsValue
      creationTimestamp: "2008-01-01T01:01:01Z"
      deletionGracePeriodSeconds: 10
      deletionTimestamp: "2009-01-01T01:01:01Z"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/discovery.k8s.io.v1beta1.EndpointSlice.json

            "uid": "uidValue",
            "apiVersion": "apiVersionValue",
            "resourceVersion": "resourceVersionValue",
            "fieldPath": "fieldPathValue"
          },
          "topology": {
            "topologyKey": "topologyValue"
          },
          "nodeName": "nodeNameValue",
          "hints": {
            "forZones": [
              {
                "name": "nameValue"
              }
            ]
          }
        }
      ],
      "ports": [
        {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.30.0/discovery.k8s.io.v1beta1.EndpointSlice.yaml

        fieldPath: fieldPathValue
        kind: kindValue
        name: nameValue
        namespace: namespaceValue
        resourceVersion: resourceVersionValue
        uid: uidValue
      topology:
        topologyKey: topologyValue
    kind: EndpointSlice
    metadata:
      annotations:
        annotationsKey: annotationsValue
      creationTimestamp: "2008-01-01T01:01:01Z"
      deletionGracePeriodSeconds: 10
      deletionTimestamp: "2009-01-01T01:01:01Z"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/podtopologyspread/filtering_test.go

    )
    
    func (p *criticalPaths) sort() {
    	if p[0].MatchNum == p[1].MatchNum && p[0].TopologyValue > p[1].TopologyValue {
    		// Swap TopologyValue to make them sorted alphabetically.
    		p[0].TopologyValue, p[1].TopologyValue = p[1].TopologyValue, p[0].TopologyValue
    	}
    }
    
    func TestPreFilterState(t *testing.T) {
    	tests := []struct {
    		name                      string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 143.1K bytes
    - Viewed (0)
Back to top