Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 83 for nodeInfos (0.14 sec)

  1. pkg/scheduler/framework/plugins/nodevolumelimits/csi.go

    func (pl *CSILimits) Filter(ctx context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status {
    	// If the new pod doesn't have any volume attached to it, the predicate will always be true
    	if len(pod.Spec.Volumes) == 0 {
    		return nil
    	}
    
    	node := nodeInfo.Node()
    
    	logger := klog.FromContext(ctx)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. pkg/controller/endpointslice/endpointslice_controller_test.go

    			for i, nodeInfo := range tc.nodes {
    				node := &v1.Node{
    					ObjectMeta: metav1.ObjectMeta{Name: fmt.Sprintf("node-%d", i)},
    					Status:     v1.NodeStatus{},
    				}
    				if nodeInfo.zoneLabel != nil {
    					node.Labels = map[string]string{v1.LabelTopologyZone: *nodeInfo.zoneLabel}
    				}
    				if nodeInfo.ready != nil {
    					status := v1.ConditionFalse
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/runtime/framework_test.go

    	return framework.NewStatus(framework.Code(pl.inj.PreFilterAddPodStatus), injectReason)
    }
    func (pl *TestPlugin) RemovePod(ctx context.Context, state *framework.CycleState, podToSchedule *v1.Pod, podInfoToRemove *framework.PodInfo, nodeInfo *framework.NodeInfo) *framework.Status {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/HEAD/core.v1.Node.yaml

            resourceVersion: resourceVersionValue
            uid: uidValue
      daemonEndpoints:
        kubeletEndpoint:
          Port: 1
      images:
      - names:
        - namesValue
        sizeBytes: 2
      nodeInfo:
        architecture: architectureValue
        bootID: bootIDValue
        containerRuntimeVersion: containerRuntimeVersionValue
        kernelVersion: kernelVersionValue
        kubeProxyVersion: kubeProxyVersionValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:06:39 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Node.yaml

            resourceVersion: resourceVersionValue
            uid: uidValue
      daemonEndpoints:
        kubeletEndpoint:
          Port: 1
      images:
      - names:
        - namesValue
        sizeBytes: 2
      nodeInfo:
        architecture: architectureValue
        bootID: bootIDValue
        containerRuntimeVersion: containerRuntimeVersionValue
        kernelVersion: kernelVersionValue
        kubeProxyVersion: kubeProxyVersionValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Node.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/HEAD/core.v1.Node.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:06:39 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/volumezone/volume_zone.go

    // require calling out to the cloud provider.  It seems that we are moving away
    // from inline volume declarations anyway.
    func (pl *VolumeZone) Filter(ctx context.Context, cs *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status {
    	logger := klog.FromContext(ctx)
    	// If a pod doesn't have any volume attached to it, the predicate will always be true.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/volumebinding/volume_binding.go

    // PVCs can be matched with an available and node-compatible PV.
    func (pl *VolumeBinding) Filter(ctx context.Context, cs *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status {
    	logger := klog.FromContext(ctx)
    	node := nodeInfo.Node()
    
    	state, err := getStateData(cs)
    	if err != nil {
    		return framework.AsStatus(err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/nodevolumelimits/utils.go

    	} else {
    		tok := strings.Split(mpa, ",")
    		mpaSet = sets.New(tok...)
    	}
    
    	return mpaSet.Has(pluginName)
    }
    
    // volumeLimits returns volume limits associated with the node.
    func volumeLimits(n *framework.NodeInfo) map[v1.ResourceName]int64 {
    	volumeLimits := map[v1.ResourceName]int64{}
    	for k, v := range n.Allocatable.ScalarResources {
    		if v1helper.IsAttachableVolumeResourceName(k) {
    			volumeLimits[k] = v
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top