- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ReconcilePod (0.06 sec)
-
cni/pkg/repair/repaircontroller.go
pod := c.pods.Get(key.Name, key.Namespace) if pod == nil { delete(c.repairedPods, key) // Ensure we do not leak // Pod deleted, nothing to do return nil } return c.ReconcilePod(pod) } func (c *Controller) ReconcilePod(pod *corev1.Pod) (err error) { if !c.matchesFilter(pod) { return // Skip, pod doesn't need repair } repairLog.Debugf("Reconciling pod %s", pod.Name) if c.cfg.RepairPods {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Feb 10 00:31:55 UTC 2024 - 10.4K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
func (s *InformerHandlers) reconcile(input any) error { event := input.(controllers.Event) switch event.Latest().(type) { case *corev1.Namespace: return s.reconcileNamespace(input) case *corev1.Pod: return s.reconcilePod(input) default: return fmt.Errorf("unexpected event type: %+v", input) } } func (s *InformerHandlers) reconcileNamespace(input any) error { event := input.(controllers.Event)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 11.7K bytes - Viewed (0)