Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 101 for Reconciled (0.15 sec)

  1. pkg/kubelet/config/config_test.go

    		// If status is not changed, no reconcile should be triggered
    		channel <- CreatePodUpdate(op, TestSource, pods...)
    		expectNoPodUpdate(t, ch)
    
    		// If the pod status is changed and not updated, a reconcile should be triggered
    		pods, podWithStatusChange = newTestPods(true, false)
    		channel <- CreatePodUpdate(op, TestSource, pods...)
    		expectPodUpdate(t, ch, CreatePodUpdate(kubetypes.RECONCILE, TestSource, podWithStatusChange))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. pkg/controller/volume/attachdetach/attach_detach_controller_test.go

    		// Add a new pod between DSW ppoulator and reconciler run
    		_, err = adc.kubeClient.CoreV1().Pods(newPod.ObjectMeta.Namespace).Create(tCtx, newPod, metav1.CreateOptions{})
    		if err != nil {
    			t.Fatalf("Run failed with error. Failed to create a new pod: <%v>", err)
    		}
    		extraPodsNum++
    		podInformer.GetIndexer().Add(newPod)
    	}
    
    	go adc.reconciler.Run(tCtx)
    	go adc.desiredStateOfWorldPopulator.Run(tCtx)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_node_status.go

    	}
    }
    
    // tryRegisterWithAPIServer makes an attempt to register the given node with
    // the API server, returning a boolean indicating whether the attempt was
    // successful.  If a node with the same name already exists, it reconciles the
    // value of the annotation for controller-managed attach-detach of attachable
    // persistent volumes for the node.
    func (kl *Kubelet) tryRegisterWithAPIServer(node *v1.Node) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  4. pkg/controller/controller_ref_manager.go

    		if m.CanAdoptFunc != nil {
    			m.canAdoptErr = m.CanAdoptFunc(ctx)
    		}
    	})
    	return m.canAdoptErr
    }
    
    // ClaimObject tries to take ownership of an object for this controller.
    //
    // It will reconcile the following:
    //   - Adopt orphans if the match function returns true.
    //   - Release owned objects if the match function returns false.
    //
    // A non-nil error is returned if some form of reconciliation was attempted and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/gateway/deploymentcontroller.go

    	}
    	dc.queue = controllers.NewQueue("gateway deployment",
    		controllers.WithReconciler(dc.Reconcile),
    		controllers.WithMaxAttempts(5))
    
    	// Set up a handler that will add the parent Gateway object onto the queue.
    	// The queue will only handle Gateway objects; if child resources (Service, etc) are updated we re-add
    	// the Gateway to the queue and reconcile the state of the world.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  6. pkg/controlplane/apiserver/server.go

    		}
    		s.GenericAPIServer.AddPostStartHookOrDie("peer-endpoint-reconciler-controller",
    			func(hookContext genericapiserver.PostStartHookContext) error {
    				peerEndpointCtrl.Start(hookContext.StopCh)
    				return nil
    			})
    		s.GenericAPIServer.AddPreShutdownHookOrDie("peer-endpoint-reconciler-controller",
    			func() error {
    				peerEndpointCtrl.Stop()
    				return nil
    			})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 19:24:41 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/cpumanager/cpu_manager.go

    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	"k8s.io/kubernetes/pkg/kubelet/status"
    	"k8s.io/utils/cpuset"
    )
    
    // ActivePodsFunc is a function that returns a list of pods to reconcile.
    type ActivePodsFunc func() []*v1.Pod
    
    type runtimeService interface {
    	UpdateContainerResources(ctx context.Context, id string, resources *runtimeapi.ContainerResources) error
    }
    
    type policyName string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 19.9K bytes
    - Viewed (0)
  8. cni/pkg/repair/repaircontroller.go

    		controllers.WithReconciler(c.Reconcile),
    		controllers.WithMaxAttempts(5))
    	c.pods.AddEventHandler(controllers.ObjectHandler(c.queue.AddObject))
    
    	return c, nil
    }
    
    func (c *Controller) Run(stop <-chan struct{}) {
    	kube.WaitForCacheSync("repair controller", stop, c.pods.HasSynced)
    	c.queue.Run(stop)
    	c.pods.ShutdownHandlers()
    }
    
    func (c *Controller) Reconcile(key types.NamespacedName) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. pkg/registry/core/service/ipallocator/controller/repairip.go

    // The bidirectional relation is achieved using the following fields:
    // Service.Spec.Cluster == IPAddress.Name AND IPAddress.ParentRef == Service
    //
    // The controller use two reconcile loops, one for Services and other for IPAddress.
    // The Service reconcile loop verifies the bidirectional relation exists and is correct.
    // 1. Service_X [ClusterIP_X]  <------>  IPAddress_X [Ref:Service_X]   ok
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  10. cluster/addons/calico-policy-controller/kubecontrollersconfigurations-crd.yaml

    apiVersion: apiextensions.k8s.io/v1
    kind: CustomResourceDefinition
    metadata:
      labels:
        addonmanager.kubernetes.io/mode: Reconcile
      name: kubecontrollersconfigurations.crd.projectcalico.org
    spec:
      group: crd.projectcalico.org
      names:
        kind: KubeControllersConfiguration
        listKind: KubeControllersConfigurationList
        plural: kubecontrollersconfigurations
        singular: kubecontrollersconfiguration
      scope: Cluster
      versions:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 07 20:48:43 UTC 2021
    - 11K bytes
    - Viewed (0)
Back to top