Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for HandleCrash (0.39 sec)

  1. pkg/controller/storageversionmigrator/resourceversion.go

    		return
    	}
    
    	rv.queue.Add(key)
    }
    
    func (rv *ResourceVersionController) Run(ctx context.Context) {
    	defer utilruntime.HandleCrash()
    	defer rv.queue.ShutDown()
    
    	logger := klog.FromContext(ctx)
    	logger.Info("Starting", "controller", ResourceVersionControllerName)
    	defer logger.Info("Shutting down", "controller", ResourceVersionControllerName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. pkg/controller/serviceaccount/serviceaccounts_controller.go

    }
    
    // Run runs the ServiceAccountsController blocks until receiving signal from stopCh.
    func (c *ServiceAccountsController) Run(ctx context.Context, workers int) {
    	defer utilruntime.HandleCrash()
    	defer c.queue.ShutDown()
    
    	klog.FromContext(ctx).Info("Starting service account controller")
    	defer klog.FromContext(ctx).Info("Shutting down service account controller")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. pkg/controlplane/controller/defaultservicecidr/default_servicecidr_controller.go

    	interval time.Duration
    }
    
    // Start will not return until the default ServiceCIDR exists or stopCh is closed.
    func (c *Controller) Start(ctx context.Context) {
    	defer utilruntime.HandleCrash()
    	stopCh := ctx.Done()
    
    	c.eventBroadcaster = record.NewBroadcaster(record.WithContext(ctx))
    	c.eventRecorder = c.eventBroadcaster.NewRecorder(scheme.Scheme, v1.EventSource{Component: controllerName})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/apiapproval/apiapproval_controller.go

    	return nil
    }
    
    // Run starts the controller.
    func (c *KubernetesAPIApprovalPolicyConformantConditionController) Run(workers int, stopCh <-chan struct{}) {
    	defer utilruntime.HandleCrash()
    	defer c.queue.ShutDown()
    
    	klog.Infof("Starting KubernetesAPIApprovalPolicyConformantConditionController")
    	defer klog.Infof("Shutting down KubernetesAPIApprovalPolicyConformantConditionController")
    
    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. pkg/controller/namespace/namespace_controller.go

    }
    
    // Run starts observing the system with the specified number of workers.
    func (nm *NamespaceController) Run(ctx context.Context, workers int) {
    	defer utilruntime.HandleCrash()
    	defer nm.queue.ShutDown()
    	logger := klog.FromContext(ctx)
    	logger.Info("Starting namespace controller")
    	defer logger.Info("Shutting down namespace controller")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. pkg/controller/storageversionmigrator/storageversionmigrator.go

    		utilruntime.HandleError(fmt.Errorf("couldn't get key for object %#v: %w", svm, err))
    		return
    	}
    
    	svmc.queue.Add(key)
    }
    
    func (svmc *SVMController) Run(ctx context.Context) {
    	defer utilruntime.HandleCrash()
    	defer svmc.queue.ShutDown()
    
    	logger := klog.FromContext(ctx)
    	logger.Info("Starting", "controller", svmc.controllerName)
    	defer logger.Info("Shutting down", "controller", svmc.controllerName)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. pkg/controller/certificates/cleaner/cleaner.go

    		csrLister: csrInformer.Lister(),
    	}
    }
    
    // Run the main goroutine responsible for watching and syncing jobs.
    func (ccc *CSRCleanerController) Run(ctx context.Context, workers int) {
    	defer utilruntime.HandleCrash()
    
    	logger := klog.FromContext(ctx)
    	logger.Info("Starting CSR cleaner controller")
    	defer logger.Info("Shutting down CSR cleaner controller")
    
    	for i := 0; i < workers; i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 15 03:26:08 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/nonstructuralschema/nonstructuralschema_controller.go

    	c.lastSeenGeneration[crd.Name] = crd.Generation
    
    	return nil
    }
    
    // Run starts the controller.
    func (c *ConditionController) Run(workers int, stopCh <-chan struct{}) {
    	defer utilruntime.HandleCrash()
    	defer c.queue.ShutDown()
    
    	klog.Infof("Starting NonStructuralSchemaConditionController")
    	defer klog.Infof("Shutting down NonStructuralSchemaConditionController")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapiv3/controller.go

    	})
    
    	c.syncFn = c.sync
    	return c
    }
    
    // Run sets openAPIAggregationManager and starts workers
    func (c *Controller) Run(openAPIV3Service *handler3.OpenAPIService, stopCh <-chan struct{}) {
    	defer utilruntime.HandleCrash()
    	defer c.queue.ShutDown()
    	defer klog.Infof("Shutting down OpenAPI V3 controller")
    
    	klog.Infof("Starting OpenAPI V3 controller")
    
    	c.openAPIV3Service = openAPIV3Service
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. pkg/controlplane/controller/crdregistration/crdregistration_controller.go

    					return
    				}
    			}
    			c.enqueueCRD(cast)
    		},
    	})
    
    	return c
    }
    
    func (c *crdRegistrationController) Run(workers int, stopCh <-chan struct{}) {
    	defer utilruntime.HandleCrash()
    	// make sure the work queue is shutdown which will trigger workers to end
    	defer c.queue.ShutDown()
    
    	klog.Infof("Starting crd-autoregister controller")
    	defer klog.Infof("Shutting down crd-autoregister controller")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top