Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 232 for podB (0.09 sec)

  1. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    					Obj(),
    			},
    			initPods: []*v1.Pod{
    				st.MakePod().Name("pod-a1").UID("pod-a1").Node("node-a").Label("foo", "").Priority(midPriority).Obj(),
    				st.MakePod().Name("pod-a2").UID("pod-a2").Node("node-a").Label("foo", "").Priority(lowPriority).Obj(),
    				st.MakePod().Name("pod-b1").UID("pod-b1").Node("node-b").Label("foo", "").Priority(lowPriority).Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. operator/pkg/apis/istio/v1alpha1/values_types.pb.go

    	Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
    	// The hard limit on the number of pods in the namespace where the CNI DaemonSet is deployed.
    	Pods int64 `protobuf:"varint,2,opt,name=pods,proto3" json:"pods,omitempty"`
    }
    
    func (x *ResourceQuotas) Reset() {
    	*x = ResourceQuotas{}
    	if protoimpl.UnsafeEnabled {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 329.6K bytes
    - Viewed (0)
  6. 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)
  7. cni/pkg/util/podutil.go

    func IsZtunnelPod(systemNs string, pod *corev1.Pod) bool {
    	return pod.Namespace == systemNs && pod.GetLabels()["app"] == "ztunnel"
    }
    
    func AnnotateEnrolledPod(client kubernetes.Interface, pod *metav1.ObjectMeta) error {
    	_, err := client.CoreV1().
    		Pods(pod.Namespace).
    		Patch(
    			context.Background(),
    			pod.Name,
    			types.MergePatchType,
    			annotationPatch,
    			metav1.PatchOptions{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 17:18:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. 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)
  9. tests/integration/pilot/cni/cniversionskew_test.go

    				// Make sure CNI pod is using image with applied version.
    				retry.UntilSuccessOrFail(t, func() error {
    					pods, err := podFetchFn()
    					if err != nil {
    						return fmt.Errorf("failed to get CNI pods %v", err)
    					}
    					if len(pods) == 0 {
    						return fmt.Errorf("cannot find any CNI pods")
    					}
    					for _, p := range pods {
    						if !strings.Contains(p.Spec.Containers[0].Image, v) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 22:56:37 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/runtime/waiting_pods_map.go

    func (m *waitingPodsMap) iterate(callback func(framework.WaitingPod)) {
    	m.mu.RLock()
    	defer m.mu.RUnlock()
    	for _, v := range m.pods {
    		callback(v)
    	}
    }
    
    // waitingPod represents a pod waiting in the permit phase.
    type waitingPod struct {
    	pod            *v1.Pod
    	pendingPlugins map[string]*time.Timer
    	s              chan *framework.Status
    	mu             sync.RWMutex
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top