Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 69 for CONTAINERID (0.36 sec)

  1. pkg/kubelet/kubelet_test.go

    	fakeRuntime := testKubelet.fakeRuntime
    	containerID := kubecontainer.ContainerID{
    		Type: "test",
    		ID:   "abc1234",
    	}
    
    	fakePod := &containertest.FakePod{
    		Pod: &kubecontainer.Pod{
    			ID:        "12345678",
    			Name:      "podFoo",
    			Namespace: "nsFoo",
    			Containers: []*kubecontainer.Container{
    				{
    					Name: "containerFoo",
    					ID:   containerID,
    				},
    			},
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  2. pkg/kubelet/lifecycle/handlers.go

    	}
    }
    
    func (hr *handlerRunner) Run(ctx context.Context, containerID kubecontainer.ContainerID, pod *v1.Pod, container *v1.Container, handler *v1.LifecycleHandler) (string, error) {
    	switch {
    	case handler.Exec != nil:
    		var msg string
    		// TODO(tallclair): Pass a proper timeout value.
    		output, err := hr.commandRunner.RunInContainer(ctx, containerID, handler.Exec.Command, 0)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 11:40:52 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. pkg/kubelet/pleg/evented.go

    		e.sendPodLifecycleEvent(&PodLifecycleEvent{ID: types.UID(event.PodSandboxStatus.Metadata.Uid), Type: ContainerDied, Data: event.ContainerId})
    		e.sendPodLifecycleEvent(&PodLifecycleEvent{ID: types.UID(event.PodSandboxStatus.Metadata.Uid), Type: ContainerRemoved, Data: event.ContainerId})
    		klog.V(4).InfoS("Received Container Deleted Event", "event", event)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 10:46:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. pkg/kubelet/server/server_test.go

    }
    
    func (f *fakeRuntime) Exec(_ context.Context, containerID string, cmd []string, stdin io.Reader, stdout, stderr io.WriteCloser, tty bool, resize <-chan remotecommand.TerminalSize) error {
    	return f.execFunc(containerID, cmd, stdin, stdout, stderr, tty, resize)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_container_unsupported.go

    func (m *kubeGenericRuntimeManager) applyPlatformSpecificContainerConfig(config *runtimeapi.ContainerConfig, container *v1.Container, pod *v1.Pod, uid *int64, username string, nsTarget *kubecontainer.ContainerID) error {
    	return nil
    }
    
    // generateContainerResources generates platform specific container resources config for runtime
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_pods.go

    		}
    		cID = lastState.Terminated.ContainerID
    
    	case running != nil:
    		cID = cStatus.ContainerID
    
    	case terminated != nil:
    		// in cases where the next container didn't start, terminated.ContainerID will be empty, so get logs from the lastState.Terminated.
    		if terminated.ContainerID == "" {
    			if lastState.Terminated != nil && lastState.Terminated.ContainerID != "" {
    				cID = lastState.Terminated.ContainerID
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_pods_test.go

    		}
    		kubelet.runner = &fakeCommandRunner
    
    		containerID := kubecontainer.ContainerID{Type: "test", ID: "abc1234"}
    		fakeRuntime.PodList = []*containertest.FakePod{
    			{Pod: &kubecontainer.Pod{
    				ID:        "12345678",
    				Name:      "podFoo",
    				Namespace: "nsFoo",
    				Containers: []*kubecontainer.Container{
    					{Name: "containerFoo",
    						ID: containerID,
    					},
    				},
    			}},
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  8. pkg/kubelet/status/status_manager_test.go

    }
    
    func TestSetContainerReadiness(t *testing.T) {
    	cID1 := kubecontainer.ContainerID{Type: "test", ID: "1"}
    	cID2 := kubecontainer.ContainerID{Type: "test", ID: "2"}
    	containerStatuses := []v1.ContainerStatus{
    		{
    			Name:        "c1",
    			ContainerID: cID1.String(),
    			Ready:       false,
    		}, {
    			Name:        "c2",
    			ContainerID: cID2.String(),
    			Ready:       false,
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    		}
    	} else {
    		// Step 3: kill any running containers in this pod which are not to keep.
    		for containerID, containerInfo := range podContainerChanges.ContainersToKill {
    			klog.V(3).InfoS("Killing unwanted container for pod", "containerName", containerInfo.name, "containerID", containerID, "pod", klog.KObj(pod))
    			killContainerResult := kubecontainer.NewSyncResult(kubecontainer.KillContainer, containerInfo.name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  10. pkg/kubelet/images/image_gc_manager_test.go

    		{Pod: &container.Pod{
    			Containers: []*container.Container{
    				{
    					ID:      container.ContainerID{Type: "test", ID: fmt.Sprintf("container-%d", 1)},
    					ImageID: imageID(1),
    					// The image filed is not set to simulate a no-name image
    				},
    				{
    					ID:      container.ContainerID{Type: "test", ID: fmt.Sprintf("container-%d", 2)},
    					Image:   imageName(2),
    					ImageID: imageID(2),
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 15:38:20 UTC 2024
    - 29.2K bytes
    - Viewed (0)
Back to top