Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 72 for handleCrash (0.33 sec)

  1. pkg/controller/bootstrap/bootstrapsigner.go

    		options.SecretResync,
    	)
    
    	return e, nil
    }
    
    // Run runs controller loops and returns when they are done
    func (e *Signer) Run(ctx context.Context) {
    	// Shut down queues
    	defer utilruntime.HandleCrash()
    	defer e.syncQueue.ShutDown()
    
    	if !cache.WaitForNamedCacheSync("bootstrap_signer", ctx.Done(), e.configMapSynced, e.secretSynced) {
    		return
    	}
    
    	logger := klog.FromContext(ctx)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader_controller.go

    }
    
    // Run starts RequestHeaderAuthRequestController controller and blocks until stopCh is closed.
    func (c *RequestHeaderAuthRequestController) Run(ctx context.Context, workers int) {
    	defer utilruntime.HandleCrash()
    	defer c.queue.ShutDown()
    
    	klog.Infof("Starting %s", c.name)
    	defer klog.Infof("Shutting down %s", c.name)
    
    	go c.configmapInformer.Run(ctx.Done())
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery_controller.go

    		return version.CompareKubeAwareVersionStrings(gd[i].Version, gd[j].Version) > 0
    	})
    }
    
    func (c *DiscoveryController) Run(stopCh <-chan struct{}, synchedCh chan<- struct{}) {
    	defer utilruntime.HandleCrash()
    	defer c.queue.ShutDown()
    	defer klog.Info("Shutting down DiscoveryController")
    
    	klog.Info("Starting DiscoveryController")
    
    	if !cache.WaitForCacheSync(stopCh, c.crdsSynced) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 21 11:40:03 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. pkg/controller/volume/ephemeral/controller.go

    		return
    	}
    	for _, obj := range objs {
    		ec.enqueuePod(obj)
    	}
    }
    
    func (ec *ephemeralController) Run(ctx context.Context, workers int) {
    	defer runtime.HandleCrash()
    	defer ec.queue.ShutDown()
    	logger := klog.FromContext(ctx)
    	logger.Info("Starting ephemeral volume controller")
    	defer logger.Info("Shutting down ephemeral volume controller")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/tlsconfig.go

    	return c.syncCerts()
    }
    
    // Run starts the kube-apiserver and blocks until stopCh is closed.
    func (c *DynamicServingCertificateController) Run(workers int, stopCh <-chan struct{}) {
    	defer utilruntime.HandleCrash()
    	defer c.queue.ShutDown()
    
    	klog.InfoS("Starting DynamicServingCertificateController")
    	defer klog.InfoS("Shutting down DynamicServingCertificateController")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. pkg/controller/ttlafterfinished/ttlafterfinished_controller.go

    	tc.clock = clock.RealClock{}
    
    	return tc
    }
    
    // Run starts the workers to clean up Jobs.
    func (tc *Controller) Run(ctx context.Context, workers int) {
    	defer utilruntime.HandleCrash()
    	defer tc.queue.ShutDown()
    
    	logger := klog.FromContext(ctx)
    	logger.Info("Starting TTL after finished controller")
    	defer logger.Info("Shutting down TTL after finished controller")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 23:59:28 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/finalizer/crd_finalizer.go

    		Reason:  "InstanceDeletionCompleted",
    		Message: "removed all instances",
    	}, nil
    }
    
    func (c *CRDFinalizer) Run(workers int, stopCh <-chan struct{}) {
    	defer utilruntime.HandleCrash()
    	defer c.queue.ShutDown()
    
    	klog.Info("Starting CRDFinalizer")
    	defer klog.Info("Shutting down CRDFinalizer")
    
    	if !cache.WaitForCacheSync(stopCh, c.crdSynced) {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/status/naming_controller.go

    	if err := c.requeueAllOtherGroupCRDs(key); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    func (c *NamingConditionController) Run(stopCh <-chan struct{}) {
    	defer utilruntime.HandleCrash()
    	defer c.queue.ShutDown()
    
    	klog.Info("Starting NamingConditionController")
    	defer klog.Info("Shutting down NamingConditionController")
    
    	if !cache.WaitForCacheSync(stopCh, c.crdSynced) {
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. pkg/registry/core/service/ipallocator/cidrallocator.go

    	key, err := cache.DeletionHandlingMetaNamespaceKeyFunc(obj)
    	if err == nil {
    		c.queue.Add(key)
    	}
    }
    
    func (c *MetaAllocator) run() {
    	defer runtime.HandleCrash()
    	defer c.queue.ShutDown()
    	klog.Info("Starting ServiceCIDR Allocator Controller")
    	defer klog.Info("Stopping ServiceCIDR Allocator Controllerr")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  10. pkg/controller/endpoint/endpoints_controller.go

    }
    
    // Run will not return until stopCh is closed. workers determines how many
    // endpoints will be handled in parallel.
    func (e *Controller) Run(ctx context.Context, workers int) {
    	defer utilruntime.HandleCrash()
    
    	// Start events processing pipeline.
    	e.eventBroadcaster.StartStructuredLogging(3)
    	e.eventBroadcaster.StartRecordingToSink(&v1core.EventSinkImpl{Interface: e.client.CoreV1().Events("")})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top