Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for SelectedNode (0.26 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/api/resource/v1alpha2/types.go

    type PodSchedulingContextSpec struct {
    	// SelectedNode is the node for which allocation of ResourceClaims that
    	// are referenced by the Pod and that use "WaitForFirstConsumer"
    	// allocation is to be attempted.
    	// +optional
    	SelectedNode string `json:"selectedNode,omitempty" protobuf:"bytes,1,opt,name=selectedNode"`
    
    	// PotentialNodes lists nodes where the Pod might be able to run.
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 10:22:35 UTC 2024
    - 30K bytes
    - Viewed (0)
  9. pkg/controller/resourceclaim/controller.go

    		}
    		return nil
    	}
    
    	if scheduling.Spec.SelectedNode != pod.Spec.NodeName {
    		scheduling := scheduling.DeepCopy()
    		scheduling.Spec.SelectedNode = pod.Spec.NodeName
    		if _, err := ec.kubeClient.ResourceV1alpha2().PodSchedulingContexts(pod.Namespace).Update(ctx, scheduling, metav1.UpdateOptions{}); err != nil {
    			return fmt.Errorf("update spec.selectedNode in PodSchedulingContext: %v", err)
    		}
    	}
    
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/resource/v1alpha2/generated.proto

    // PodSchedulingContextSpec describes where resources for the Pod are needed.
    message PodSchedulingContextSpec {
      // SelectedNode is the node for which allocation of ResourceClaims that
      // are referenced by the Pod and that use "WaitForFirstConsumer"
      // allocation is to be attempted.
      // +optional
      optional string selectedNode = 1;
    
      // PotentialNodes lists nodes where the Pod might be able to run.
      //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top