Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 106 for podB (0.07 sec)

  1. staging/src/k8s.io/api/autoscaling/v1/types.go

    	// pods refers to a metric describing each pod in the current scale target
    	// (for example, transactions-processed-per-second).  The values will be
    	// averaged together before being compared to the target value.
    	// +optional
    	Pods *PodsMetricSource `json:"pods,omitempty" protobuf:"bytes,3,opt,name=pods"`
    
    	// resource refers to a resource metric (such as those specified in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/preemption/preemption.go

    	// 0) Fetch the latest version of <pod>.
    	// It's safe to directly fetch pod here. Because the informer cache has already been
    	// initialized when creating the Scheduler obj.
    	// However, tests may need to manually initialize the shared pod informer.
    	podNamespace, podName := pod.Namespace, pod.Name
    	pod, err := ev.PodLister.Pods(pod.Namespace).Get(pod.Name)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  3. pkg/test/framework/components/istio/kube.go

    		return e.Address(), nil
    	}
    	// Find the istiod pod and service, and start forwarding a local port.
    	fetchFn := testKube.NewSinglePodFetch(c, i.cfg.SystemNamespace, "istio=pilot")
    	pods, err := testKube.WaitUntilPodsAreReady(fetchFn)
    	if err != nil {
    		return "", err
    	}
    	pod := pods[0]
    	fw, err := c.NewPortForwarder(pod.Name, pod.Namespace, "", 0, 15012)
    	if err != nil {
    		return "", err
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  4. operator/pkg/verifier/verifier.go

    	var revision string
    	var revs string
    	revCount := 0
    	pods, err := v.client.PodsForSelector(context.TODO(), v.istioNamespace, "app=istiod")
    	if err != nil {
    		return "", fmt.Errorf("failed to fetch istiod pod, error: %v", err)
    	}
    	for _, pod := range pods.Items {
    		rev := pod.ObjectMeta.GetLabels()[label.IoIstioRev.Name]
    		revCount++
    		if rev == "default" {
    			continue
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go

    			expectedHint: framework.Queue,
    			expectedErr:  true,
    		},
    		"skip-updates-other-pod": {
    			pod: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "pod-1",
    					Namespace: "ns-1",
    					UID:       "uid0",
    				}},
    			oldObj: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "pod-2",
    					Namespace: "ns-1",
    					UID:       "uid1",
    				}},
    			newObj: &v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/types.go

    func (pi *PodInfo) Update(pod *v1.Pod) error {
    	if pod != nil && pi.Pod != nil && pi.Pod.UID == pod.UID {
    		// PodInfo includes immutable information, and so it is safe to update the pod in place if it is
    		// the exact same pod
    		pi.Pod = pod
    		return nil
    	}
    	var preferredAffinityTerms []v1.WeightedPodAffinityTerm
    	var preferredAntiAffinityTerms []v1.WeightedPodAffinityTerm
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/container_manager_linux.go

    	}
    
    	return containerMemories
    }
    
    func (cm *containerManagerImpl) PrepareDynamicResources(pod *v1.Pod) error {
    	return cm.draManager.PrepareResources(pod)
    }
    
    func (cm *containerManagerImpl) UnprepareDynamicResources(pod *v1.Pod) error {
    	return cm.draManager.UnprepareResources(pod)
    }
    
    func (cm *containerManagerImpl) PodMightNeedToUnprepareResources(UID types.UID) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/qos_container_manager_linux.go

    	pods := m.activePods()
    	burstablePodCPURequest := int64(0)
    	reuseReqs := make(v1.ResourceList, 4)
    	for i := range pods {
    		pod := pods[i]
    		qosClass := v1qos.GetPodQOS(pod)
    		if qosClass != v1.PodQOSBurstable {
    			// we only care about the burstable qos tier
    			continue
    		}
    		req := resource.PodRequests(pod, resource.PodResourcesOptions{Reuse: reuseReqs})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 20:42:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. pkg/controller/statefulset/stateful_set.go

    	// List all pods to include the pods that don't match the selector anymore but
    	// has a ControllerRef pointing to this StatefulSet.
    	pods, err := ssc.podLister.Pods(set.Namespace).List(labels.Everything())
    	if err != nil {
    		return nil, err
    	}
    
    	filter := func(pod *v1.Pod) bool {
    		// Only claim if it matches our StatefulSet name. Otherwise release/ignore.
    		return isMemberOf(set, pod)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. pkg/apis/batch/types.go

    // an actual pod condition type.
    type PodFailurePolicyOnPodConditionsPattern struct {
    	// Specifies the required Pod condition type. To match a pod condition
    	// it is required that specified type equals the pod condition type.
    	Type api.PodConditionType
    	// Specifies the required Pod condition status. To match a pod condition
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 33K bytes
    - Viewed (0)
Back to top