Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isRestartableInitContainer (0.23 sec)

  1. pkg/printers/internalversion/printers.go

    	}
    
    	initContainers := make(map[string]*api.Container)
    	for i := range pod.Spec.InitContainers {
    		initContainers[pod.Spec.InitContainers[i].Name] = &pod.Spec.InitContainers[i]
    		if isRestartableInitContainer(&pod.Spec.InitContainers[i]) {
    			totalContainers++
    		}
    	}
    
    	initializing := false
    	for i := range pod.Status.InitContainerStatuses {
    		container := pod.Status.InitContainerStatuses[i]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods.go

    	spec := pod.Spec
    	pendingInitialization := 0
    	failedInitialization := 0
    
    	// regular init containers
    	for _, container := range spec.InitContainers {
    		if kubetypes.IsRestartableInitContainer(&container) {
    			// Skip the restartable init containers here to handle them separately as
    			// they are slightly different from the init containers in terms of the
    			// pod phase.
    			continue
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top