Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for terminationGracePeriod (0.24 sec)

  1. pkg/kubelet/kuberuntime/labels_test.go

    	"k8s.io/kubernetes/pkg/features"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    )
    
    func TestContainerLabels(t *testing.T) {
    	deletionGracePeriod := int64(10)
    	terminationGracePeriod := int64(10)
    	lifecycle := &v1.Lifecycle{
    		// Left PostStart as nil
    		PreStop: &v1.LifecycleHandler{
    			Exec: &v1.ExecAction{
    				Command: []string{"action1", "action2"},
    			},
    			HTTPGet: &v1.HTTPGetAction{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 22:43:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux_test.go

    	criticalPodNoGracePeriod := makePod("critical-pod-nil-grace-period", scheduling.SystemCriticalPriority, nil /* terminationGracePeriod */)
    
    	shortGracePeriod := int64(2)
    	normalPodGracePeriod := makePod("normal-pod-grace-period", scheduling.DefaultPriorityWhenNoDefaultClassExists, &shortGracePeriod /* terminationGracePeriod */)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  3. pkg/envoy/agent.go

    //  3. SIGTERM. We will drain, wait termination drain duration, then exit. This is the standard pod shutdown; SIGTERM arrives when pod shutdown starts.
    //     If the pod's terminationGracePeriod is shorter than our drain duration (rare), we may be a SIGKILL.
    //  4. /drain + SIGTERM. This is the shutdown when using Kubernetes native sidecars.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 24 16:04:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/labels.go

    )
    
    const (
    	// TODO: change those label names to follow kubernetes's format
    	podDeletionGracePeriodLabel    = "io.kubernetes.pod.deletionGracePeriod"
    	podTerminationGracePeriodLabel = "io.kubernetes.pod.terminationGracePeriod"
    
    	containerHashLabel                     = "io.kubernetes.container.hash"
    	containerRestartCountLabel             = "io.kubernetes.container.restartCount"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top