Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for handleCrash (0.25 sec)

  1. pkg/controller/resourcequota/resource_quota_monitor.go

    }
    
    // Run sets the stop channel and starts monitor execution until stopCh is
    // closed. Any running monitors will be stopped before Run returns.
    func (qm *QuotaMonitor) Run(ctx context.Context) {
    	defer utilruntime.HandleCrash()
    
    	logger := klog.FromContext(ctx)
    
    	logger.Info("QuotaMonitor running")
    	defer logger.Info("QuotaMonitor stopping")
    
    	// Set up the stop channel.
    	qm.monitorLock.Lock()
    	qm.stopCh = ctx.Done()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. pkg/controller/storageversiongc/gc_controller.go

    			c.onUpdateStorageVersion(logger, old, newObj)
    		},
    	})
    
    	return c
    }
    
    // Run starts one worker.
    func (c *Controller) Run(ctx context.Context) {
    	logger := klog.FromContext(ctx)
    	defer utilruntime.HandleCrash()
    	defer c.leaseQueue.ShutDown()
    	defer c.storageVersionQueue.ShutDown()
    	defer logger.Info("Shutting down storage version garbage collector")
    
    	logger.Info("Starting storage version garbage collector")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  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