Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 335 for containerId (0.35 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_container_linux.go

    func (m *kubeGenericRuntimeManager) generateLinuxContainerResources(pod *v1.Pod, container *v1.Container, enforceMemoryQoS bool) *runtimeapi.LinuxContainerResources {
    	// set linux container resources
    	var cpuRequest *resource.Quantity
    	if _, cpuRequestExists := container.Resources.Requests[v1.ResourceCPU]; cpuRequestExists {
    		cpuRequest = container.Resources.Requests.Cpu()
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go

    	To troubleshoot, list all containers using your preferred container runtimes CLI.
    	Here is one example how you may list all running Kubernetes containers by using crictl:
    		- 'crictl --runtime-endpoint {{ .Socket }} ps -a | grep kube | grep -v pause'
    		Once you have found the failing container, you can inspect its logs with:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_container_windows.go

    		Windows: m.generateWindowsContainerResources(pod, container),
    	}
    }
    
    // generateWindowsContainerResources generates windows container resources config for runtime
    func (m *kubeGenericRuntimeManager) generateWindowsContainerResources(pod *v1.Pod, container *v1.Container) *runtimeapi.WindowsContainerResources {
    	wcr := m.calculateWindowsResources(container.Resources.Limits.Cpu(), container.Resources.Limits.Memory())
    
    	return wcr
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. src/syscall/exec_linux.go

    )
    
    // SysProcIDMap holds Container ID to Host ID mappings used for User Namespaces in Linux.
    // See user_namespaces(7).
    //
    // 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.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. pkg/apis/core/validation/validation_test.go

    			{Type: field.ErrorTypeInvalid, Field: "containers[0].livenessProbe.initialDelaySeconds"},
    			{Type: field.ErrorTypeInvalid, Field: "containers[0].livenessProbe.timeoutSeconds"},
    			{Type: field.ErrorTypeInvalid, Field: "containers[0].livenessProbe.periodSeconds"},
    			{Type: field.ErrorTypeInvalid, Field: "containers[0].livenessProbe.successThreshold"},
    			{Type: field.ErrorTypeInvalid, Field: "containers[0].livenessProbe.failureThreshold"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  6. plugin/pkg/admission/imagepolicy/admission_test.go

    			operation:   admission.Update,
    		},
    		{
    			test: "Good container, good init container, bad ephemeral container when updating subresource=='' which sets initContainer and container only",
    			pod: &api.Pod{
    				Spec: api.PodSpec{
    					ServiceAccountName: "default",
    					SecurityContext:    &api.PodSecurityContext{},
    					Containers: []api.Container{
    						{
    							Image:           "good",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 06:05:06 UTC 2023
    - 32.9K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/devicemanager/manager.go

    	if !m.containerRunningSet.Has(cntID) {
    		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)
  8. cni/pkg/plugin/plugin_test.go

    	cniConf := buildMockConf(true, url)
    
    	pod, ns := buildFakePodAndNSForClient()
    
    	proxy := corev1.Container{Name: "istio-proxy"}
    	app := corev1.Container{Name: "app"}
    
    	pod.Spec.Containers = []corev1.Container{app, proxy}
    	pod.ObjectMeta.Annotations = map[string]string{annotation.SidecarStatus.Name: "true"}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    		Command:     container.Command,
    		Args:        []string(nil),
    		WorkingDir:  container.WorkingDir,
    		Labels:      newContainerLabels(container, pod),
    		Annotations: newContainerAnnotations(container, pod, restartCount, opts),
    		Devices:     makeDevices(opts),
    		Mounts:      m.makeMounts(opts, container),
    		LogPath:     containerLogsPath,
    		Stdin:       container.Stdin,
    		StdinOnce:   container.StdinOnce,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers_test.go

    		containerStatus := &pod.Status.ContainerStatuses[i]
    		state := &containerStatus.State
    		if state.Running != nil {
    			randTime(&state.Running.StartedAt.Time, r)
    		}
    		containerStatus.ContainerID = fmt.Sprintf("docker://%x%x%x%x", r.Int63(), r.Int63(), r.Int63(), r.Int63())
    	}
    	for i := range pod.ManagedFields {
    		randTime(&pod.ManagedFields[i].Time.Time, r)
    	}
    
    	randIP(&pod.Status.HostIP, r)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top