Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 59 for reconciling (0.3 sec)

  1. pkg/controller/volume/attachdetach/reconciler/reconciler.go

    			logger.V(5).Info("Skipping reconciling attached volumes still attached since it is disabled via the command line")
    		} else if rc.syncDuration < time.Second {
    			logger.V(5).Info("Skipping reconciling attached volumes still attached since it is set to less than one second via the command line")
    		} else if time.Since(rc.timeOfLastSync) > rc.syncDuration {
    			logger.V(5).Info("Starting reconciling attached volumes still attached")
    			rc.sync()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 21:02:38 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. pilot/pkg/controllers/untaint/nodeuntainter.go

    	n.queue.Run(stop)
    	n.podsClient.ShutdownHandlers()
    	n.nodesClient.ShutdownHandlers()
    }
    
    func (n *NodeUntainter) reconcileNode(key types.NamespacedName) error {
    	log.Debugf("reconciling node %s", key.Name)
    	node := n.nodesClient.Get(key.Name, key.Namespace)
    	if node == nil {
    		return nil
    	}
    
    	err := removeReadinessTaint(n.nodesClient, node)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 00:50:31 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. cni/pkg/repair/repaircontroller.go

    		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 {
    		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: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. pilot/pkg/status/distribution/reporter.go

    			} else if nonce == r.ledger.RootHash() {
    				scope.Warnf("Cache appears to be missing latest version of %s", key)
    			}
    			if out.InProgressResources[key] >= out.DataPlaneCount {
    				// if this resource is done reconciling, let's not worry about it anymore
    				finishedResources = append(finishedResources, res)
    				// deleting it here doesn't work because we have a read lock and are inside an iterator.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. pkg/controlplane/reconcilers/lease.go

    	shouldCreate := false
    	if err != nil {
    		if !errors.IsNotFound(err) {
    			return err
    		}
    
    		// there are no endpoints and we should stop reconciling
    		if r.stopReconcilingCalled.Load() {
    			return nil
    		}
    
    		shouldCreate = true
    		e = &corev1.Endpoints{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:      serviceName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  6. architecture/environments/operator.md

    a [schema](../operator/pkg/apis/istio/v1alpha1/values_types.proto).
    1. [Controller](#k8s-controller) code. The code comprises the K8s listener, webhook and logic for reconciling the cluster
    to an `IstioOperatorSpec` CR.
    1. [Manifest creation](#manifest-creation) code. User settings are overlaid on top of the
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 22:09:18 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_source.go

    }
    
    func (s *policySource[P, B, E]) Run(ctx context.Context) error {
    	if s.ctx != nil {
    		return fmt.Errorf("policy source already running")
    	}
    
    	// Wait for initial cache sync of policies and informers before reconciling
    	// any
    	if !cache.WaitForNamedCacheSync(fmt.Sprintf("%T", s), ctx.Done(), s.UpstreamHasSynced) {
    		err := ctx.Err()
    		if err == nil {
    			err = fmt.Errorf("initial cache sync for %T failed", s)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 23:07:34 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  8. pkg/registry/rbac/rest/storage_rbac.go

    		}
    
    		return nil
    	}
    }
    
    func ensureRBACPolicy(p *PolicyData, client clientset.Interface) (done bool, err error) {
    	failedReconciliation := false
    	// Make sure etcd is responding before we start reconciling
    	if _, err := client.RbacV1().ClusterRoles().List(context.TODO(), metav1.ListOptions{}); err != nil {
    		utilruntime.HandleError(fmt.Errorf("unable to initialize clusterroles: %v", err))
    		return false, nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 14 03:25:19 UTC 2022
    - 18.5K bytes
    - Viewed (0)
  9. pkg/controller/deployment/util/deployment_util.go

    		if v, err := Revision(rs); err != nil {
    			// Skip the replica sets when it failed to parse their revision information
    			logger.V(4).Info("Couldn't parse revision for replica set, deployment controller will skip it when reconciling revisions", "replicaSet", klog.KObj(rs), "err", err)
    		} else if v > max {
    			max = v
    		}
    	}
    	return max
    }
    
    // LastRevision finds the second max revision number in all replica sets (the last revision)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  10. operator/pkg/controller/istiocontrolplane/istiocontrolplane_controller.go

    // Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
    func (r *ReconcileIstioOperator) Reconcile(_ context.Context, request reconcile.Request) (reconcile.Result, error) {
    	scope.Info("Reconciling IstioOperator")
    
    	ns, iopName := request.Namespace, request.Name
    	reqNamespacedName := types.NamespacedName{
    		Name:      request.Name,
    		Namespace: ns,
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top