Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 737 for ContainerT (0.21 sec)

  1. cni/pkg/plugin/plugin.go

    	Kubernetes      Kubernetes `json:"kubernetes"`
    }
    
    // K8sArgs is the valid CNI_ARGS used for Kubernetes
    // The field names need to match exact keys in containerd args for unmarshalling
    // https://github.com/containerd/containerd/blob/ced9b18c231a28990617bc0a4b8ce2e81ee2ffa1/pkg/cri/server/sandbox_run.go#L526-L532
    type K8sArgs struct {
    	types.CommonArgs
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/helpers_linux_test.go

    		},
    		"burstable-partial-limits-with-init-containers": {
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{
    						{
    							Resources: getResourceRequirements(getResourceList("100m", "100m"), getResourceList("100m", "100Mi")),
    						},
    						{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_gc.go

    				continue
    			}
    		}
    		if err := cgc.manager.removeContainer(ctx, containers[i].id); err != nil {
    			klog.ErrorS(err, "Failed to remove container", "containerID", containers[i].id)
    		}
    	}
    
    	// Assume we removed the containers so that we're not too aggressive.
    	return containers[:numToKeep]
    }
    
    // removeOldestNSandboxes removes the oldest inactive toRemove sandboxes and
    // returns the resulting slice.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. pkg/kubelet/container/helpers_test.go

    					},
    					InitContainers: []v1.Container{
    						{Name: "init-container"},
    					},
    				},
    			},
    			haveName:      "init-container",
    			wantContainer: &v1.Container{Name: "init-container"},
    		},
    		{
    			name: "ephemeral container",
    			havePod: &v1.Pod{
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{
    						{Name: "plain-ole-container"},
    					},
    					InitContainers: []v1.Container{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 01:55:46 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    		}
    	}
    
    	// Number of running containers to keep.
    	keepCount := 0
    	// check the status of containers.
    	for idx, container := range pod.Spec.Containers {
    		containerStatus := podStatus.FindContainerStatusByName(container.Name)
    
    		// Call internal container post-stop lifecycle hook for any non-running container so that any
    		// allocated cpus are released immediately. If the container is restarted, cpus will be re-allocated
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  6. pkg/kubelet/container/runtime.go

    // state of the container.
    type Container struct {
    	// The ID of the container, used by the container runtime to identify
    	// a container.
    	ID ContainerID
    	// The name of the container, which should be the same as specified by
    	// v1.Container.
    	Name string
    	// The image name of the container, this also includes the tag of the image,
    	// the expected form is "NAME:TAG".
    	Image string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_sandbox_test.go

    		},
    		{
    			name: "Pod with HostProcess containers and HostNetwork not set",
    			podSpec: &v1.PodSpec{
    				SecurityContext: &v1.PodSecurityContext{
    					WindowsOptions: &v1.WindowsSecurityContextOptions{
    						HostProcess: &trueVar,
    					},
    				},
    				Containers: []v1.Container{{
    					Name: containerName,
    				}},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/cpumanager/topology_hints_test.go

    		var activePods []*v1.Pod
    		for p := range tc.assignments {
    			pod := v1.Pod{}
    			pod.UID = types.UID(p)
    			for c := range tc.assignments[p] {
    				container := v1.Container{}
    				container.Name = c
    				pod.Spec.Containers = append(pod.Spec.Containers, container)
    			}
    			activePods = append(activePods, &pod)
    		}
    
    		m := manager{
    			policy: &staticPolicy{
    				topology: topology,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K 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. docs/en/docs/deployment/docker.md

    A container image is comparable to the **program** file and contents, e.g. `python` and some file `main.py`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 34K bytes
    - Viewed (0)
Back to top