Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for CONTAINERID (0.27 sec)

  1. staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.yaml

        type: typeValue
      containerStatuses:
      - allocatedResources:
          allocatedResourcesKey: "0"
        containerID: containerIDValue
        image: imageValue
        imageID: imageIDValue
        lastState:
          running:
            startedAt: "2001-01-01T01:01:01Z"
          terminated:
            containerID: containerIDValue
            exitCode: 1
            finishedAt: "2006-01-01T01:01:01Z"
            message: messageValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  2. pkg/kubelet/pleg/generic.go

    							containerExitCode[containerStatus.ID.ID] = containerStatus.ExitCode
    						}
    					}
    				}
    				if containerID, ok := events[i].Data.(string); ok {
    					if exitCode, ok := containerExitCode[containerID]; ok && pod != nil {
    						klog.V(2).InfoS("Generic (PLEG): container finished", "podID", pod.ID, "containerID", containerID, "exitCode", exitCode)
    					}
    				}
    			}
    		}
    	}
    
    	if g.cacheEnabled() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  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. 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)
  8. pkg/kubelet/kuberuntime/kuberuntime_container_linux.go

    func (m *kubeGenericRuntimeManager) applyPlatformSpecificContainerConfig(config *runtimeapi.ContainerConfig, container *v1.Container, pod *v1.Pod, uid *int64, username string, nsTarget *kubecontainer.ContainerID) error {
    	enforceMemoryQoS := false
    	// Set memory.min and memory.high if MemoryQoS enabled with cgroups v2
    	if utilfeature.DefaultFeatureGate.Enabled(kubefeatures.MemoryQoS) &&
    		isCgroup2UnifiedMode() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. src/syscall/exec_linux.go

    //
    // Note that User Namespaces are not available on a number of popular Linux
    // versions (due to security issues), or are available but subject to AppArmor
    // restrictions like in Ubuntu 24.04.
    type SysProcIDMap struct {
    	ContainerID int // Container ID.
    	HostID      int // Host ID.
    	Size        int // Size.
    }
    
    type SysProcAttr struct {
    	Chroot     string      // Chroot.
    	Credential *Credential // Credential.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/devicemanager/manager.go

    		klog.V(4).InfoS("container not present in the initial running set", "podUID", podUID, "containerName", cntName, "containerID", cntID)
    		return false
    	}
    
    	// Once we make it here we know we have a running container.
    	klog.V(4).InfoS("container found in the initial set, assumed running", "podUID", podUID, "containerName", cntName, "containerID", cntID)
    	return true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
Back to top