Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for KillPod (0.34 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    	podStatus, err := m.GetPodStatus(ctx, pod.UID, pod.Name, pod.Namespace)
    	require.NoError(t, err)
    	p := kubecontainer.ConvertPodStatusToRunningPod("", podStatus)
    	gracePeriod := int64(1)
    	err = m.KillPod(ctx, pod, p, &gracePeriod)
    	require.NoError(t, err)
    }
    
    func TestGetPodStatusWithNotFoundError(t *testing.T) {
    	ctx := context.Background()
    	fakeRuntime, _, m, err := createTestRuntimeManager()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    	UpdatePodResources bool
    }
    
    func (p podActions) String() string {
    	return fmt.Sprintf("KillPod: %t, CreateSandbox: %t, UpdatePodResources: %t, Attempt: %d, InitContainersToStart: %v, ContainersToStart: %v, EphemeralContainersToStart: %v,ContainersToUpdate: %v, ContainersToKill: %v",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_container.go

    				changes.InitContainersToStart = append(changes.InitContainersToStart, i)
    			} else { // init container
    				if isInitContainerFailed(status) {
    					if !restartOnFailure {
    						changes.KillPod = true
    						changes.InitContainersToStart = nil
    						return false
    					}
    					changes.InitContainersToStart = append(changes.InitContainersToStart, i)
    					break
    				}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  4. pkg/kubelet/pod_workers.go

    				//  to terminated, and on all termination retries (including evictions). We should
    				//  improve latency by making the pleg continuous and by allowing pod status
    				//  changes to be refreshed when key events happen (killPod, sync->terminating).
    				//  Improving this latency also reduces the possibility that a terminated
    				//  container's status is garbage collected before we have a chance to update the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 13:22:37 UTC 2024
    - 74.8K bytes
    - Viewed (0)
Back to top