Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for killPodOptions (0.3 sec)

  1. pkg/kubelet/pod_workers.go

    	}
    	// accumulate kill pod options
    	if other.KillPodOptions != nil {
    		opts.KillPodOptions = &KillPodOptions{}
    		if other.KillPodOptions.Evict {
    			opts.KillPodOptions.Evict = true
    		}
    		if override := other.KillPodOptions.PodTerminationGracePeriodSecondsOverride; override != nil {
    			value := *override
    			opts.KillPodOptions.PodTerminationGracePeriodSecondsOverride = &value
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 13:22:37 UTC 2024
    - 74.8K bytes
    - Viewed (0)
  2. pkg/kubelet/pod_workers_test.go

    				finished:           true,
    				activeUpdate: &UpdatePodOptions{
    					Pod:            newNamedPod("1", "ns", "running-pod", false),
    					KillPodOptions: &KillPodOptions{PodTerminationGracePeriodSecondsOverride: intp(30)},
    				},
    			}),
    			expectKnownTerminated: true,
    		},
    		{
    			name: "a new pod is recorded and started and running pod is ignored",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods.go

    		_, knownPod := workingPods[runningPod.ID]
    		if !knownPod {
    			one := int64(1)
    			killPodOptions := &KillPodOptions{
    				PodTerminationGracePeriodSecondsOverride: &one,
    			}
    			klog.V(2).InfoS("Clean up containers for orphaned pod we had not seen before", "podUID", runningPod.ID, "killPodOptions", killPodOptions)
    			kl.podWorkers.UpdatePod(UpdatePodOptions{
    				UpdateType:     kubetypes.SyncPodKill,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_pods_test.go

    				expectedRunningPod := runtimePod(simplePod())
    				if actual, expected := s.activeUpdate, (&UpdatePodOptions{
    					RunningPod:     expectedRunningPod,
    					KillPodOptions: &KillPodOptions{PodTerminationGracePeriodSecondsOverride: &one},
    				}); !reflect.DeepEqual(expected, actual) {
    					t.Fatalf("unexpected pod activeUpdate: %s", cmp.Diff(expected, actual))
    				}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
Back to top