Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 335 for containerId (0.21 sec)

  1. plugin/pkg/admission/security/podsecurity/testdata/pod_restricted.yaml

        status: "True"
        type: ContainersReady
      - lastProbeTime: null
        lastTransitionTime: "2021-08-20T14:35:31Z"
        status: "True"
        type: PodScheduled
      containerStatuses:
      - containerID: containerd://f21ec303caca266fa4b81ebe6c210b5aa2b8ea6a262d8038db2c4f57db127187
        image: image-name:tag-name
        imageID: imageid@sha256:8e2a7eaa7e6b1ede58d6361d0058a391260a46f0290b7f0368b709494e9e36bf
        lastState: {}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 04 16:26:30 UTC 2021
    - 18.3K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/helpers.go

    			klog.InfoS("No PodSandBox found for the container", "podSandboxId", c.PodSandboxId, "containerName", c.Metadata.Name, "containerId", c.Id)
    			continue
    		}
    		podUID := podSandboxMap[c.PodSandboxId]
    		containerMap.Add(podUID, c.Metadata.Name, c.Id)
    		if c.State == runtimeapi.ContainerState_CONTAINER_RUNNING {
    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/prober/common_test.go

    		ContainerStatuses: []v1.ContainerStatus{containerStatus},
    	}
    	return podStatus
    }
    
    func getTestPod() *v1.Pod {
    	container := v1.Container{
    		Name: testContainerName,
    	}
    	pod := v1.Pod{
    		Spec: v1.PodSpec{
    			Containers:    []v1.Container{container},
    			RestartPolicy: v1.RestartPolicyNever,
    		},
    	}
    	pod.Name = "testPod"
    	pod.UID = testPodUID
    	return &pod
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 12 16:57:26 UTC 2023
    - 4.3K 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/stats/cri_stats_provider.go

    // removeTerminatedContainers removes all terminated containers since they should
    // not be used for usage calculations.
    func removeTerminatedContainers(containers []*runtimeapi.Container) []*runtimeapi.Container {
    	containerMap := make(map[containerID][]*runtimeapi.Container)
    	// Sort order by create time
    	sort.Slice(containers, func(i, j int) bool {
    		return containers[i].CreatedAt < containers[j].CreatedAt
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  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/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)
Back to top