Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 117 for CONTAINERID (0.14 sec)

  1. pkg/kubelet/cm/containermap/container_map.go

    	cm[containerID] = struct {
    		podUID        string
    		containerName string
    	}{podUID, containerName}
    }
    
    // RemoveByContainerID removes a mapping of (containerID)->(podUID, containerName) from the ContainerMap
    func (cm ContainerMap) RemoveByContainerID(containerID string) {
    	delete(cm, containerID)
    }
    
    // RemoveByContainerRef removes a mapping of (containerID)->(podUID, containerName) from the ContainerMap
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 30 15:25:05 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.json

                "startedAt": "2005-01-01T01:01:01Z",
                "finishedAt": "2006-01-01T01:01:01Z",
                "containerID": "containerIDValue"
              }
            },
            "ready": true,
            "restartCount": 5,
            "image": "imageValue",
            "imageID": "imageIDValue",
            "containerID": "containerIDValue",
            "started": true,
            "allocatedResources": {
              "allocatedResourcesKey": "0"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. pkg/kubelet/prober/worker.go

    			return true // Wait for more information.
    		}
    	}
    
    	if w.containerID.String() != c.ContainerID {
    		if !w.containerID.IsEmpty() {
    			w.resultsManager.Remove(w.containerID)
    		}
    		w.containerID = kubecontainer.ParseContainerID(c.ContainerID)
    		w.resultsManager.Set(w.containerID, w.initialValue, w.pod)
    		// We've got a new container; resume probing.
    		w.onHold = false
    	}
    
    	if w.onHold {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 27 01:28:06 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/internal_container_lifecycle.go

    func (i *internalContainerLifecycleImpl) PreStartContainer(pod *v1.Pod, container *v1.Container, containerID string) error {
    	if i.cpuManager != nil {
    		i.cpuManager.AddContainer(pod, container, containerID)
    	}
    
    	if i.memoryManager != nil {
    		i.memoryManager.AddContainer(pod, container, containerID)
    	}
    
    	i.topologyManager.AddContainer(pod, container, containerID)
    
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 06:43:12 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/containermap/container_map_test.go

    		// each along the way.
    		cm.Visit(func(podUID string, containerName string, containerID string) {
    			cm.RemoveByContainerID(containerID)
    			containerID, err := cm.GetContainerID(podUID, containerName)
    			if err == nil {
    				t.Errorf("unexpected retrieval of containerID after removal: %v", containerID)
    			}
    
    			cm.Add(podUID, containerName, containerID)
    
    			cm.RemoveByContainerRef(podUID, containerName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 02 13:40:55 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/memorymanager/fake_memory_manager.go

    	return nil
    }
    
    func (m *fakeManager) AddContainer(pod *v1.Pod, container *v1.Container, containerID string) {
    	klog.InfoS("Add container", "pod", klog.KObj(pod), "containerName", container.Name, "containerID", containerID)
    }
    
    func (m *fakeManager) GetMemoryNUMANodes(pod *v1.Pod, container *v1.Container) sets.Set[int] {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_container.go

    		"containerName", containerName, "containerID", containerID.String(), "gracePeriod", gracePeriod)
    
    	err := m.runtimeService.StopContainer(ctx, containerID.ID, gracePeriod)
    	if err != nil && !crierror.IsNotFound(err) {
    		klog.ErrorS(err, "Container termination failed with gracePeriod", "pod", klog.KObj(pod), "podUID", pod.UID,
    			"containerName", containerName, "containerID", containerID.String(), "gracePeriod", gracePeriod)
    		return err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  8. pkg/kubelet/pod_container_deletor_test.go

    	pod := kubecontainer.PodStatus{
    		ContainerStatuses: []*kubecontainer.Status{
    			{
    				ID:        kubecontainer.ContainerID{Type: "test", ID: "1"},
    				Name:      "foo",
    				CreatedAt: time.Now(),
    				State:     kubecontainer.ContainerStateExited,
    			},
    			{
    				ID:        kubecontainer.ContainerID{Type: "test", ID: "2"},
    				Name:      "bar",
    				CreatedAt: time.Now().Add(time.Second),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 19 15:48:08 UTC 2020
    - 5.8K bytes
    - Viewed (0)
  9. pkg/kubelet/userns/userns_manager_test.go

    	                        "gidMappings":[ { "hostId":131072, "containerId":0, "length":userNsLength }, { "hostId":196608, "containerId":0, "length":65536 } ]
                                   }`,
    			success: false,
    		},
    		{
    			name: "two UID mappings",
    			file: `{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PodStatusResult.json

                "startedAt": "2005-01-01T01:01:01Z",
                "finishedAt": "2006-01-01T01:01:01Z",
                "containerID": "containerIDValue"
              }
            },
            "ready": true,
            "restartCount": 5,
            "image": "imageValue",
            "imageID": "imageIDValue",
            "containerID": "containerIDValue",
            "started": true,
            "allocatedResources": {
              "allocatedResourcesKey": "0"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top