Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for InitContainersToStart (0.29 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	}
    
    	// reverse the InitContainersToStart, as the above loop iterated through the
    	// init containers backwards, but we want to start them as per the order in
    	// the pod spec.
    	l := len(changes.InitContainersToStart)
    	for i := 0; i < l/2; i++ {
    		changes.InitContainersToStart[i], changes.InitContainersToStart[l-1-i] =
    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_test.go

    		ctx := context.Background()
    		actions := m.computePodActions(ctx, pod, status)
    		if !sidecarContainersEnabled {
    			// If sidecar containers are disabled, we should not see any
    			// InitContainersToStart in the actions.
    			test.actions.InitContainersToStart = nil
    		} else {
    			// If sidecar containers are enabled, we should not see any
    			// NextInitContainerToStart in the actions.
    			test.actions.NextInitContainerToStart = nil
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    	NextInitContainerToStart *v1.Container
    	// InitContainersToStart keeps a list of indexes for the init containers to
    	// start, where the index is the index of the specific init container in the
    	// pod spec (pod.Spec.InitContainers).
    	// NOTE: This is a field for SidecarContainers feature. Either this or
    	// NextInitContainerToStart will be set.
    	InitContainersToStart []int
    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