Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for SelectedNode (0.16 sec)

  1. staging/src/k8s.io/api/testdata/v1.30.0/resource.k8s.io.v1alpha2.PodSchedulingContext.yaml

        kind: kindValue
        name: nameValue
        uid: uidValue
      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    spec:
      potentialNodes:
      - potentialNodesValue
      selectedNode: selectedNodeValue
    status:
      resourceClaims:
      - name: nameValue
        unsuitableNodes:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/v1.29.0/resource.k8s.io.v1alpha2.PodSchedulingContext.yaml

        kind: kindValue
        name: nameValue
        uid: uidValue
      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    spec:
      potentialNodes:
      - potentialNodesValue
      selectedNode: selectedNodeValue
    status:
      resourceClaims:
      - name: nameValue
        unsuitableNodes:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha2.PodSchedulingContext.json

            "time": "2004-01-01T01:01:01Z",
            "fieldsType": "fieldsTypeValue",
            "fieldsV1": {},
            "subresource": "subresourceValue"
          }
        ]
      },
      "spec": {
        "selectedNode": "selectedNodeValue",
        "potentialNodes": [
          "potentialNodesValue"
        ]
      },
      "status": {
        "resourceClaims": [
          {
            "name": "nameValue",
            "unsuitableNodes": [
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 09:18:08 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha2.PodSchedulingContext.yaml

        kind: kindValue
        name: nameValue
        uid: uidValue
      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    spec:
      potentialNodes:
      - potentialNodesValue
      selectedNode: selectedNodeValue
    status:
      resourceClaims:
      - name: nameValue
        unsuitableNodes:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 09:18:08 UTC 2023
    - 1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.30.0/resource.k8s.io.v1alpha2.PodSchedulingContext.json

            "time": "2004-01-01T01:01:01Z",
            "fieldsType": "fieldsTypeValue",
            "fieldsV1": {},
            "subresource": "subresourceValue"
          }
        ]
      },
      "spec": {
        "selectedNode": "selectedNodeValue",
        "potentialNodes": [
          "potentialNodesValue"
        ]
      },
      "status": {
        "resourceClaims": [
          {
            "name": "nameValue",
            "unsuitableNodes": [
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    					unschedulable = true
    				}
    			}
    
    			var selectedNode *framework.NodeInfo
    			if !unschedulable && len(potentialNodes) > 0 {
    				selectedNode = potentialNodes[0]
    
    				initialObjects = testCtx.listAll(t)
    				initialObjects = testCtx.updateAPIServer(t, initialObjects, tc.prepare.reserve)
    				status := testCtx.p.Reserve(testCtx.ctx, testCtx.state, tc.pod, selectedNode.Node().Name)
    				t.Run("reserve", func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/resource.k8s.io.v1alpha2.PodSchedulingContext.json

            "time": "2004-01-01T01:01:01Z",
            "fieldsType": "fieldsTypeValue",
            "fieldsV1": {},
            "subresource": "subresourceValue"
          }
        ]
      },
      "spec": {
        "selectedNode": "selectedNodeValue",
        "potentialNodes": [
          "potentialNodesValue"
        ]
      },
      "status": {
        "resourceClaims": [
          {
            "name": "nameValue",
            "unsuitableNodes": [
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    	// before moving DRA to beta.
    	if podScheduling.Spec.SelectedNode != "" {
    		for _, claimStatus := range podScheduling.Status.ResourceClaims {
    			if slices.Contains(claimStatus.UnsuitableNodes, podScheduling.Spec.SelectedNode) {
    				logger.V(5).Info("PodSchedulingContext has unsuitable selected node, schedule immediately", "pod", klog.KObj(pod), "selectedNode", podScheduling.Spec.SelectedNode, "podResourceName", claimStatus.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  9. pkg/registry/resource/podschedulingcontext/strategy_test.go

    )
    
    var schedulingCtx = &resource.PodSchedulingContext{
    	ObjectMeta: metav1.ObjectMeta{
    		Name:      "valid-pod",
    		Namespace: "default",
    	},
    	Spec: resource.PodSchedulingContextSpec{
    		SelectedNode: "worker",
    	},
    }
    
    func TestPodSchedulingStrategy(t *testing.T) {
    	if !Strategy.NamespaceScoped() {
    		t.Errorf("PodSchedulingContext must be namespace scoped")
    	}
    	if Strategy.AllowCreateOnUpdate() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 09:18:08 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/volumebinding/binder.go

    			return false, nil
    		}
    
    		// Check if selectedNode annotation is still set
    		if pvc.Annotations == nil {
    			return false, fmt.Errorf("selectedNode annotation reset for PVC %q", pvc.Name)
    		}
    		selectedNode := pvc.Annotations[volume.AnnSelectedNode]
    		if selectedNode != pod.Spec.NodeName {
    			// If provisioner fails to provision a volume, selectedNode
    			// annotation will be removed to signal back to the scheduler to
    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