Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for deletedPods (0.21 sec)

  1. cni/pkg/repair/repair_test.go

    			wantCount: 1,
    			wantTags:  map[string]string{"result": resultSuccess, "type": deleteType},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			mt := monitortest.New(t)
    			tt.config.DeletePods = true
    			c, err := NewRepairController(tt.client, tt.config)
    			assert.NoError(t, err)
    			t.Cleanup(func() {
    				assert.NoError(t, c.queue.WaitForClose(time.Second))
    			})
    			stop := test.NewStop(t)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. tools/istio-iptables/pkg/cmd/root.go

    					msg := fmt.Errorf(`iptables validation failed; workload is not ready for Istio.
    When using Istio CNI, this can occur if a pod is scheduled before the node is ready.
    
    If installed with 'cni.repair.deletePods=true', this pod should automatically be deleted and retry.
    Otherwise, this pod will need to be manually removed so that it is scheduled on a node with istio-cni running, allowing iptables rules to be established.
    `)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 17:36:41 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/noderesources/fit.go

    			logger.V(5).Info("the deleted pod was unscheduled and it wouldn't make the unscheduled pod schedulable", "pod", klog.KObj(pod), "deletedPod", klog.KObj(originalPod))
    			return framework.QueueSkip, nil
    		}
    		logger.V(5).Info("another scheduled pod was deleted, and it may make the unscheduled pod schedulable", "pod", klog.KObj(pod), "deletedPod", klog.KObj(originalPod))
    		return framework.Queue, nil
    	}
    
    	if !f.enableInPlacePodVerticalScaling {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  4. operator/pkg/apis/istio/v1alpha1/values_types.proto

      // No longer used.
      string createEvents = 6 [deprecated = true];
    
      // The Repair controller has 3 modes (labelPods, deletePods, and repairPods). Pick which one meets your use cases. Note only one may be used.
      // The mode defines the action the controller will take when a pod is detected as broken.
      // If deletePods is true, the controller will delete the broken pod. The pod will then be rescheduled, hopefully onto a node that is fully ready.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/podtopologyspread/filtering_test.go

    				t.Fatal(s.AsError())
    			}
    
    			deletedPod := tt.deletedPod
    			if tt.deletedPodIdx < len(tt.existingPods) && tt.deletedPodIdx >= 0 {
    				deletedPod = tt.existingPods[tt.deletedPodIdx]
    			}
    
    			nodeInfo, err := snapshot.Get(tt.nodes[tt.nodeIdx].Name)
    			if err != nil {
    				t.Fatal(err)
    			}
    			if s := p.RemovePod(ctx, cs, tt.preemptor, mustNewPodInfo(t, deletedPod), nodeInfo); !s.IsSuccess() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 143.1K bytes
    - Viewed (0)
  6. cni/pkg/repair/repaircontroller.go

    	if !c.matchesFilter(pod) {
    		return // Skip, pod doesn't need repair
    	}
    	repairLog.Debugf("Reconciling pod %s", pod.Name)
    
    	if c.cfg.RepairPods {
    		return c.repairPod(pod)
    	} else if c.cfg.DeletePods {
    		return c.deleteBrokenPod(pod)
    	} else if c.cfg.LabelPods {
    		return c.labelBrokenPod(pod)
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. pkg/controller/podgc/gc_controller_test.go

    			pod: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Namespace: "default",
    					Name:      "testPod",
    				},
    				Spec: v1.PodSpec{
    					NodeName: "deletedNode",
    				},
    				Status: v1.PodStatus{
    					Phase: v1.PodRunning,
    					Conditions: []v1.PodCondition{
    						{
    							Type:   v1.PodReady,
    							Status: v1.ConditionTrue,
    						},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 08:16:48 UTC 2024
    - 29K bytes
    - Viewed (0)
  8. cni/pkg/cmd/root.go

    			return nil, err
    		}
    	}
    
    	repairCfg := config.RepairConfig{
    		Enabled:            viper.GetBool(constants.RepairEnabled),
    		RepairPods:         viper.GetBool(constants.RepairRepairPods),
    		DeletePods:         viper.GetBool(constants.RepairDeletePods),
    		LabelPods:          viper.GetBool(constants.RepairLabelPods),
    		LabelKey:           viper.GetString(constants.RepairLabelKey),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. pkg/controller/daemon/daemon_controller_test.go

    func TestDeleteNoDaemonPod(t *testing.T) {
    	var enqueued bool
    
    	cases := []struct {
    		test          string
    		node          *v1.Node
    		existPods     []*v1.Pod
    		deletedPod    *v1.Pod
    		ds            *apps.DaemonSet
    		shouldEnqueue bool
    	}{
    		{
    			test: "Deleted non-daemon pods to release resources",
    			node: func() *v1.Node {
    				node := newNode("node1", nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  10. pkg/util/iptree/iptree.go

    	}
    	// Check if we should merge this node
    	// The root node can not be merged
    	if n != root && nodeChildren == 1 {
    		n.mergeChild()
    	}
    	// Check if we should merge the parent's other child
    	// parent -> deletedNode
    	//        |--> child
    	parentChildren := 0
    	if parent != nil {
    		if parent.child[0] != nil {
    			parentChildren++
    		}
    		if parent.child[1] != nil {
    			parentChildren++
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17.7K bytes
    - Viewed (0)
Back to top