Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ShutdownGracePeriodSeconds (0.36 sec)

  1. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux_test.go

    					{
    						Priority:                   1,
    						ShutdownGracePeriodSeconds: 10,
    					},
    					{
    						Priority:                   2,
    						ShutdownGracePeriodSeconds: 20,
    					},
    					{
    						Priority:                   3,
    						ShutdownGracePeriodSeconds: 30,
    					},
    					{
    						Priority:                   4,
    						ShutdownGracePeriodSeconds: 40,
    					},
    				},
    				pods: []*v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  2. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux.go

    			timer  = m.clock.NewTimer(time.Duration(group.ShutdownGracePeriodSeconds) * time.Second)
    		)
    		go func() {
    			defer close(doneCh)
    			wg.Wait()
    		}()
    
    		select {
    		case <-doneCh:
    			timer.Stop()
    		case <-timer.C():
    			m.logger.V(1).Info("Shutdown manager pod killing time out", "gracePeriod", group.ShutdownGracePeriodSeconds, "priority", group.Priority)
    		}
    	}
    
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 08:02:40 UTC 2022
    - 15.5K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/config/helpers_test.go

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. pkg/kubelet/apis/config/v1beta1/zz_generated.conversion.go

    	out.Priority = in.Priority
    	out.ShutdownGracePeriodSeconds = in.ShutdownGracePeriodSeconds
    	return nil
    }
    
    // Convert_v1beta1_ShutdownGracePeriodByPodPriority_To_config_ShutdownGracePeriodByPodPriority is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/config/validation/validation_test.go

    			conf.FeatureGates = map[string]bool{"GracefulNodeShutdownBasedOnPodPriority": true}
    			conf.ShutdownGracePeriodByPodPriority = []kubeletconfig.ShutdownGracePeriodByPodPriority{{
    				Priority:                   0,
    				ShutdownGracePeriodSeconds: 0,
    			}}
    			return conf
    		},
    		errMsg: "invalid configuration: Cannot specify both shutdownGracePeriodByPodPriority and shutdownGracePeriod at the same time",
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  6. pkg/kubelet/apis/config/types.go

    type ShutdownGracePeriodByPodPriority struct {
    	// priority is the priority value associated with the shutdown grace period
    	Priority int32
    	// shutdownGracePeriodSeconds is the shutdown grace period in seconds
    	ShutdownGracePeriodSeconds int64
    }
    
    type MemorySwapConfiguration struct {
    	// swapBehavior configures swap memory available to container workloads. May be one of
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  7. pkg/generated/openapi/zz_generated.openapi.go

    20s to shutdown, and all remaining pods 30s to shutdown.\n\nshutdownGracePeriodByPodPriority:\n  - priority: 2000000000\n    shutdownGracePeriodSeconds: 10\n  - priority: 10000\n    shutdownGracePeriodSeconds: 20\n  - priority: 0\n    shutdownGracePeriodSeconds: 30\n\nThe time the Kubelet will wait before exiting will at most be the maximum of all shutdownGracePeriodSeconds for each priority class range represented on the node. When all pods have exited or reached their grace periods, the Kubelet...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
Back to top