Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 103 for handleCrash (0.21 sec)

  1. 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)
  2. 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)
  3. pkg/controller/serviceaccount/legacy_serviceaccount_token_cleaner.go

    		minimumSinceLastUsed: options.CleanUpPeriod,
    		syncInterval:         options.SyncInterval,
    	}
    
    	return tc, nil
    }
    
    func (tc *LegacySATokenCleaner) Run(ctx context.Context) {
    	defer utilruntime.HandleCrash()
    
    	logger := klog.FromContext(ctx)
    	logger.Info("Starting legacy service account token cleaner controller")
    	defer logger.Info("Shutting down legacy service account token cleaner controller")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 03:52:06 UTC 2023
    - 10K 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. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/watch.go

    	}()
    
    	defer ws.Close()
    	done := make(chan struct{})
    	// ensure the connection times out
    	timeoutCh, cleanup := s.TimeoutFactory.TimeoutCh()
    	defer cleanup()
    
    	go func() {
    		defer utilruntime.HandleCrash()
    		// This blocks until the connection is closed.
    		// Client should not send anything.
    		wsstream.IgnoreReceives(ws, 0)
    		// Once the client closes, we should also close
    		close(done)
    	}()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 14 16:37:25 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  7. pkg/volume/util/nestedpendingoperations/nestedpendingoperations.go

    				expBackoff:       exponentialbackoff.ExponentialBackoff{},
    			})
    	}
    
    	go func() (eventErr, detailedErr error) {
    		// Handle unhandled panics (very unlikely)
    		defer k8sRuntime.HandleCrash()
    		// Handle completion of and error, if any, from operationFunc()
    		defer grm.operationComplete(opKey, &detailedErr)
    		return generatedOperations.Run()
    	}()
    
    	return nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 26 01:29:17 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/secure_serving.go

    		defer close(serverShutdownCh)
    		<-stopCh
    		ctx, cancel := context.WithTimeout(context.Background(), shutDownTimeout)
    		server.Shutdown(ctx)
    		cancel()
    	}()
    
    	go func() {
    		defer utilruntime.HandleCrash()
    		defer close(listenerStoppedCh)
    
    		var listener net.Listener
    		listener = tcpKeepAliveListener{ln}
    		if server.TLSConfig != nil {
    			listener = tls.NewListener(listener, server.TLSConfig)
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 20:54:07 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  9. 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)
  10. pilot/pkg/networking/core/envoyfilter/rc_patch.go

    	patchContext networking.EnvoyFilter_PatchContext,
    	proxy *model.Proxy,
    	efw *model.EnvoyFilterWrapper,
    	routeConfiguration *route.RouteConfiguration,
    ) (out *route.RouteConfiguration) {
    	defer runtime.HandleCrash(runtime.LogPanic, func(any) {
    		IncrementEnvoyFilterErrorMetric(Route)
    		log.Errorf("route patch %s/%s caused panic, so the patches did not take effect", efw.Namespace, efw.Name)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top