- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for DeletePods (0.09 sec)
-
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)