Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 105 for CONTAINERID (0.12 sec)

  1. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Pod.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": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 52K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/helpers.go

    			continue
    		}
    		podUID := podSandboxMap[c.PodSandboxId]
    		containerMap.Add(podUID, c.Metadata.Name, c.Id)
    		if c.State == runtimeapi.ContainerState_CONTAINER_RUNNING {
    			klog.V(4).InfoS("Container reported running", "podSandboxId", c.PodSandboxId, "podUID", podUID, "containerName", c.Metadata.Name, "containerId", c.Id)
    			runningSet.Insert(c.Id)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/cpumanager/state/state_checkpoint.go

    	}
    	if src.DefaultCPUSet != "" {
    		dst.DefaultCPUSet = src.DefaultCPUSet
    	}
    	for containerID, cset := range src.Entries {
    		podUID, containerName, err := sc.initialContainers.GetContainerRef(containerID)
    		if err != nil {
    			return fmt.Errorf("containerID '%v' not found in initial containers list", containerID)
    		}
    		if dst.Entries == nil {
    			dst.Entries = make(map[string]map[string]string)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 00:59:30 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/cpumanager/cpu_manager_test.go

    		containerMap:      containerMap,
    		activePods:        func() []*v1.Pod { return nil },
    		podStatusProvider: mockPodStatusProvider{},
    	}
    
    	containerMap.Add("", "", containerID)
    	err := mgr.RemoveContainer(containerID)
    	if err != nil {
    		t.Errorf("CPU Manager RemoveContainer() error. expected error to be nil but got: %v", err)
    	}
    
    	mgr = &manager{
    		policy: &mockPolicy{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 13:16:15 UTC 2023
    - 42.9K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/podcgroupns_test.go

    		},
    	} {
    		tt := tt
    		t.Run(tt.name, func(t *testing.T) {
    			podUID, containerID, err := getPodUIDAndContainerIDFromCGroups(makeCGroups(tt.cgroupPaths))
    
    			if tt.expectMsg != "" {
    				assert.Equal(t, tt.expectMsg, err.Error())
    				return
    			}
    			assert.Equal(t, tt.expectPodUID, podUID)
    			assert.Equal(t, tt.expectContainerID, containerID)
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. pkg/kubelet/logs/container_log_manager_stub.go

    limitations under the License.
    */
    
    package logs
    
    import "context"
    
    type containerLogManagerStub struct{}
    
    func (*containerLogManagerStub) Start() {}
    
    func (*containerLogManagerStub) Clean(ctx context.Context, containerID string) error {
    	return nil
    }
    
    // NewStubContainerLogManager returns an empty ContainerLogManager which does nothing.
    func NewStubContainerLogManager() ContainerLogManager {
    	return &containerLogManagerStub{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 05 13:02:13 UTC 2022
    - 968 bytes
    - Viewed (0)
  7. src/syscall/exec_linux_test.go

    	cmd := testenv.Command(t, "whoami")
    	cmd.SysProcAttr = &syscall.SysProcAttr{
    		Cloneflags: syscall.CLONE_NEWUSER,
    		UidMappings: []syscall.SysProcIDMap{
    			{ContainerID: 0, HostID: uid, Size: 1},
    		},
    		GidMappings: []syscall.SysProcIDMap{
    			{ContainerID: 0, HostID: gid, Size: 1},
    		},
    		GidMappingsEnableSetgroups: setgroups,
    	}
    	return cmd
    }
    
    func TestCloneNEWUSERAndRemap(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. pkg/kubelet/stats/cri_stats_provider.go

    		// If cadvisor stats is available for the container, use it to populate
    		// container stats
    		caStats, caFound := caInfos[containerID]
    		if !caFound {
    			klog.V(5).InfoS("Unable to find cadvisor stats for container", "containerID", containerID)
    		} else {
    			p.addCadvisorContainerStats(cs, &caStats)
    		}
    		ps.Containers = append(ps.Containers, *cs)
    	}
    	// cleanup outdated caches.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  9. 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)
  10. pkg/kubelet/prober/common_test.go

    	testPodUID        = "pOd_UiD"
    )
    
    var testContainerID = kubecontainer.ContainerID{Type: "test", ID: "cOnTaInEr_Id"}
    
    func getTestRunningStatus() v1.PodStatus {
    	return getTestRunningStatusWithStarted(true)
    }
    
    func getTestRunningStatusWithStarted(started bool) v1.PodStatus {
    	containerStatus := v1.ContainerStatus{
    		Name:        testContainerName,
    		ContainerID: testContainerID.String(),
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 12 16:57:26 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top