Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ShutdownDelayDuration (0.3 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/server_run_options.go

    	// for non longrunning requests in flight to be drained and then initiate a
    	// shutdown of the HTTP Server. If false, we initiate a shutdown of the HTTP
    	// Server as soon as ShutdownDelayDuration has elapsed.
    	// If enabled, after ShutdownDelayDuration elapses, any incoming request is
    	// rejected with a 429 status code and a 'Retry-After' response.
    	ShutdownSendRetryAfter bool
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 21:53:51 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/lifecycle_signals.go

    	// receives a KILL signal and is closed as a consequence.
    	ShutdownInitiated lifecycleSignal
    
    	// AfterShutdownDelayDuration event is signaled as soon as ShutdownDelayDuration
    	// has elapsed since the ShutdownInitiated event.
    	// ShutdownDelayDuration allows the apiserver to delay shutdown for some time.
    	AfterShutdownDelayDuration lifecycleSignal
    
    	// PreShutdownHooksStopped event is signaled when all registered
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 15:49:30 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_graceful_termination_test.go

    		return true, nil
    	})
    	if err != nil {
    		t.Errorf("Expected /readyz to return 500 status code, but got: %v", err)
    	}
    
    	// before ShutdownDelayDuration elapses new request(s) should be served successfully.
    	beforeShutdownDelayDurationStep.execute(func() {
    		t.Log("Before ShutdownDelayDuration elapses new request(s) should be served")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/genericapiserver.go

    	WatchRequestWaitGroup *utilwaitgroup.RateLimitedSafeWaitGroup
    
    	// ShutdownDelayDuration allows to block shutdown for some time, e.g. until endpoints pointing to this API server
    	// have converged on all node. During this time, the API server keeps serving, /healthz will return 200,
    	// but /readyz will return failure.
    	ShutdownDelayDuration time.Duration
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/config.go

    	// therefore return true.
    	LivezGracePeriod time.Duration
    	// ShutdownDelayDuration allows to block shutdown for some time, e.g. until endpoints pointing to this API server
    	// have converged on all node. During this time, the API server keeps serving, /healthz will return 200,
    	// but /readyz will return failure.
    	ShutdownDelayDuration time.Duration
    
    	// The limit on the total size increase all "copy" operations in a json
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/server_run_options_test.go

    				RequestTimeout:              time.Duration(2) * time.Minute,
    				MinRequestTimeout:           1800,
    				JSONPatchMaxCopyBytes:       10 * 1024 * 1024,
    				MaxRequestBodyBytes:         10 * 1024 * 1024,
    				ShutdownDelayDuration:       -time.Second,
    			},
    			expectErr: "--shutdown-delay-duration can not be negative value",
    		},
    		{
    			name: "Test when HSTSHeaders is valid",
    			testOptions: &ServerRunOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 15:49:49 UTC 2023
    - 10.9K bytes
    - Viewed (0)
Back to top