Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 117 for CONTAINERID (0.33 sec)

  1. 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)
  2. 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)
  3. 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)
  4. pkg/kubelet/prober/scale_test.go

    						LivenessProbe: newProbe(handler),
    					})
    					pod.Status.ContainerStatuses = append(pod.Status.ContainerStatuses, v1.ContainerStatus{
    						Name:        fmt.Sprintf("container%d", j),
    						ContainerID: fmt.Sprintf("pod%d://container%d", i, j),
    						State: v1.ContainerState{
    							Running: &v1.ContainerStateRunning{
    								StartedAt: metav1.Now(),
    							},
    						},
    						Started: utilpointer.Bool(true),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 16:33:01 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  5. pkg/kubelet/container/helpers.go

    	"k8s.io/kubernetes/third_party/forked/golang/expansion"
    	utilsnet "k8s.io/utils/net"
    )
    
    // HandlerRunner runs a lifecycle handler for a container.
    type HandlerRunner interface {
    	Run(ctx context.Context, containerID ContainerID, pod *v1.Pod, container *v1.Container, handler *v1.LifecycleHandler) (string, error)
    }
    
    // RuntimeHelper wraps kubelet to make container runtime
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/helpers_test.go

    		State:    runtimeapi.ContainerState_CONTAINER_RUNNING,
    		Annotations: map[string]string{
    			containerHashLabel: "1234",
    		},
    	}
    	expect := &kubecontainer.Container{
    		ID: kubecontainer.ContainerID{
    			Type: runtimetesting.FakeRuntimeName,
    			ID:   "test-id",
    		},
    		Name:                "test-name",
    		ImageID:             "test-image-id",
    		ImageRef:            "test-image-ref",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. api/go1.4.txt

    pkg syscall (linux-arm), type SysProcIDMap struct, HostID int
    pkg syscall (linux-arm), type SysProcIDMap struct, Size int
    pkg syscall (linux-arm-cgo), type SysProcAttr struct, GidMappings []SysProcIDMap
    pkg syscall (linux-arm-cgo), type SysProcAttr struct, UidMappings []SysProcIDMap
    pkg syscall (linux-arm-cgo), type SysProcIDMap struct
    pkg syscall (linux-arm-cgo), type SysProcIDMap struct, ContainerID int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 12 03:01:01 UTC 2014
    - 34K bytes
    - Viewed (0)
  8. pkg/api/testing/deep_copy_test.go

    					},
    				},
    				Ready:        true,
    				RestartCount: 0,
    				Image:        "registry.k8s.io/etcd:2.0.9",
    				ImageID:      "docker://b6b9a86dc06aa1361357ca1b105feba961f6a4145adca6c54e142c0be0fe87b0",
    				ContainerID:  "docker://3cbbf818f1addfc252957b4504f56ef2907a313fe6afc47fc75373674255d46d",
    			},
    		},
    	},
    }
    
    func BenchmarkPodCopy(b *testing.B) {
    	var result *api.Pod
    	for i := 0; i < b.N; i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/helpers.go

    	imageID := c.ImageRef
    	if c.ImageId != "" {
    		imageID = c.ImageId
    	}
    
    	annotatedInfo := getContainerInfoFromAnnotations(c.Annotations)
    	return &kubecontainer.Container{
    		ID:                  kubecontainer.ContainerID{Type: m.runtimeName, ID: c.Id},
    		Name:                c.GetMetadata().GetName(),
    		ImageID:             imageID,
    		ImageRef:            c.ImageRef,
    		ImageRuntimeHandler: c.Image.RuntimeHandler,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. cni/pkg/plugin/cnieventclient_test.go

    	eventC := CNIEventClient{
    		client: c,
    		url:    address + constants.CNIAddEventPath,
    	}
    	return eventC
    }
    
    var fakeCmdArgs = &skel.CmdArgs{
    	Netns:       "someNetNS",
    	IfName:      "ethBro",
    	ContainerID: "bbb-eee-www",
    }
    
    var (
    	fakeIP                 = net.ParseIP("99.9.9.9")
    	fakeGW                 = net.ParseIP("88.9.9.9")
    	fakeIDX                = 0
    	fakePrevResultIPConfig = cniv1.IPConfig{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top