Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for containerStartSpec (0.21 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    				},
    			},
    		}
    
    		// Now try to create a container, which should in turn invoke PostStart Hook
    		_, err := m.startContainer(ctx, fakeSandBox.Id, fakeSandBoxConfig, containerStartSpec(testContainer), testPod, fakePodStatus, nil, "", []string{})
    		if err != nil {
    			t.Errorf("startContainer error =%v", err)
    		}
    		if fakeRunner.Cmd[0] != cmdPostStart.PostStart.Exec.Command[0] {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    		if container := podContainerChanges.NextInitContainerToStart; container != nil {
    			// Start the next init container.
    			if err := start(ctx, "init container", metrics.InitContainer, containerStartSpec(container)); err != nil {
    				return
    			}
    
    			// Successfully started the container; clear the entry in the failure
    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

    // containers, plus some additional fields. In both cases startSpec.container will be set.
    type startSpec struct {
    	container          *v1.Container
    	ephemeralContainer *v1.EphemeralContainer
    }
    
    func containerStartSpec(c *v1.Container) *startSpec {
    	return &startSpec{container: c}
    }
    
    func ephemeralContainerStartSpec(ec *v1.EphemeralContainer) *startSpec {
    	return &startSpec{
    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