Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ContainersToKill (0.15 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    }
    
    func verifyActions(t *testing.T, expected, actual *podActions, desc string) {
    	if actual.ContainersToKill != nil {
    		// Clear the message and reason fields since we don't need to verify them.
    		for k, info := range actual.ContainersToKill {
    			info.message = ""
    			info.reason = ""
    			actual.ContainersToKill[k] = info
    		}
    	}
    	assert.Equal(t, expected, actual, desc)
    }
    
    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

    	// pod.Spec.Containers).
    	ContainersToStart []int
    	// ContainersToKill keeps a map of containers that need to be killed, note that
    	// the key is the container ID of the container, while
    	// the value contains necessary information to kill a container.
    	ContainersToKill map[kubecontainer.ContainerID]containerToKillInfo
    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

    					}
    					if startup != proberesults.Success {
    						if startup == proberesults.Failure {
    							// If the restartable init container failed the startup probe,
    							// restart it.
    							changes.ContainersToKill[status.ID] = containerToKillInfo{
    								name:      container.Name,
    								container: container,
    								message:   fmt.Sprintf("Init container %s failed startup probe", container.Name),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
Back to top