Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for findNextInitContainerToRun (5.73 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_container.go

    				continue
    			}
    		}
    	}
    }
    
    // findNextInitContainerToRun returns the status of the last failed container, the
    // index of next init container to start, or done if there are no further init containers.
    // Status is only returned if an init container is failed, in which case next will
    // point to the current container.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    		// is done and there is no container to start.
    		if len(containersToStart) == 0 {
    			hasInitialized := false
    			if !utilfeature.DefaultFeatureGate.Enabled(features.SidecarContainers) {
    				_, _, hasInitialized = findNextInitContainerToRun(pod, podStatus)
    			} else {
    				// If there is any regular container, it means all init containers have
    				// been initialized.
    				hasInitialized = hasAnyRegularContainerCreated(pod, podStatus)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
Back to top