Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for reconcileNode (0.2 sec)

  1. pilot/pkg/controllers/untaint/nodeuntainter.go

    		}
    		node := *pnode
    		if !hasTaint(node) {
    			return nil
    		}
    		return node
    	}, krt.WithStop(stop))
    
    	n.queue = controllers.NewQueue("untaint nodes",
    		controllers.WithReconciler(n.reconcileNode),
    		controllers.WithMaxAttempts(5))
    
    	// remove the taints from readyCniNodes
    	readyCniNodes.Register(func(o krt.Event[v1.Node]) {
    		if o.Event == controllers.EventDelete {
    			return
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 00:50:31 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. pkg/registry/rbac/rest/storage_rbac.go

    			result, err := opts.Run()
    			if err != nil {
    				return err
    			}
    			switch {
    			case result.Protected && result.Operation != reconciliation.ReconcileNone:
    				klog.Warningf("skipped reconcile-protected clusterrole.%s/%s with missing permissions: %v", rbac.GroupName, clusterRole.Name, result.MissingRules)
    			case result.Operation == reconciliation.ReconcileUpdate:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 14 03:25:19 UTC 2022
    - 18.5K bytes
    - Viewed (0)
  3. pkg/kubelet/config/config.go

    				needUpdate, needReconcile, needGracefulDelete := checkAndUpdatePod(existing, ref)
    				if needUpdate {
    					updatePods = append(updatePods, existing)
    				} else if needReconcile {
    					reconcilePods = append(reconcilePods, existing)
    				} else if needGracefulDelete {
    					deletePods = append(deletePods, existing)
    				}
    				continue
    			}
    			recordFirstSeenTime(ref)
    			pods[ref.UID] = ref
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
Back to top