- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ReconcilePod (0.11 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: Fri Jun 14 15:00:06 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: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 21:31:35 UTC 2024 - 11.8K bytes - Viewed (0)