Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for OtherPods (0.13 sec)

  1. pkg/controller/volume/attachdetach/reconciler/reconciler.go

    			if otherPods > 0 {
    				msg = fmt.Sprintf("%s and %d pod(s) in different namespaces", msg, otherPods)
    			}
    		} else {
    			// No local pods, there are pods only in different namespaces.
    			msg = fmt.Sprintf("Volume is already used by %d pod(s) in different namespaces", otherPods)
    		}
    		simpleMsg, _ := volumeToAttach.GenerateMsg("Multi-Attach error", msg)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 21:02:38 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. pkg/kubelet/lifecycle/interfaces.go

    // The member fields of this struct should never be mutated.
    type PodAdmitAttributes struct {
    	// the pod to evaluate for admission
    	Pod *v1.Pod
    	// all pods bound to the kubelet excluding the pod being evaluated
    	OtherPods []*v1.Pod
    }
    
    // PodAdmitResult provides the result of a pod admission decision.
    type PodAdmitResult struct {
    	// if true, the pod should be admitted.
    	Admit bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 22 17:25:57 UTC 2017
    - 4K bytes
    - Viewed (0)
  3. pkg/kubelet/lifecycle/predicate.go

    		return PodAdmitResult{
    			Admit:   false,
    			Reason:  "PodOSNotSupported",
    			Message: "Failed to admit pod as the OS field doesn't match node OS",
    		}
    	}
    
    	pods := attrs.OtherPods
    	nodeInfo := schedulerframework.NewNodeInfo(pods...)
    	nodeInfo.SetNode(node)
    
    	// TODO: Remove this after the SidecarContainers feature gate graduates to GA.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 00:47:50 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet.go

    	attrs := &lifecycle.PodAdmitAttributes{Pod: pod, OtherPods: pods}
    	if utilfeature.DefaultFeatureGate.Enabled(features.InPlacePodVerticalScaling) {
    		// Use allocated resources values from checkpoint store (source of truth) to determine fit
    		otherPods := make([]*v1.Pod, 0, len(pods))
    		for _, p := range pods {
    			op := p.DeepCopy()
    			kl.updateContainerResourceAllocation(op)
    
    			otherPods = append(otherPods, op)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
Back to top