- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for DeletePods (0.16 sec)
-
cni/pkg/config/config.go
b.WriteString("NodeName: " + c.NodeName + "\n") b.WriteString("LabelKey: " + c.LabelKey + "\n") b.WriteString("LabelValue: " + c.LabelValue + "\n") b.WriteString("DeletePods: " + fmt.Sprint(c.DeletePods) + "\n") b.WriteString("LabelPods: " + fmt.Sprint(c.LabelPods) + "\n") b.WriteString("SidecarAnnotation: " + c.SidecarAnnotation + "\n") b.WriteString("InitContainerName: " + c.InitContainerName + "\n")
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 16 15:33:47 UTC 2024 - 5.7K bytes - Viewed (2) -
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: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 24 03:31:28 UTC 2023 - 10.6K bytes - Viewed (0) -
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: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 16 15:33:47 UTC 2024 - 12.7K bytes - Viewed (0) -
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: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Feb 10 00:31:55 UTC 2024 - 10.4K bytes - Viewed (0)