Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,218 for ContainerT (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/kubelet/apis/podresources/server_v1_test.go

    			return false
    		}
    		if podResA.Namespace != podResB.Namespace {
    			return false
    		}
    		if len(podResA.Containers) != len(podResB.Containers) {
    			return false
    		}
    		for jdx := 0; jdx < len(podResA.Containers); jdx++ {
    			cntA := podResA.Containers[jdx]
    			cntB := podResB.Containers[jdx]
    
    			if cntA.Name != cntB.Name {
    				return false
    			}
    			if !equalInt64s(cntA.CpuIds, cntB.CpuIds) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  9. pkg/kubelet/pleg/generic_test.go

    		// Clear the IP address and mark the container terminated
    		container = createTestContainer("c0", kubecontainer.ContainerStateExited)
    		pod = &kubecontainer.Pod{
    			ID:         id,
    			Containers: []*kubecontainer.Container{container},
    		}
    		status = &kubecontainer.PodStatus{
    			ID:                id,
    			ContainerStatuses: []*kubecontainer.Status{{ID: container.ID, State: kubecontainer.ContainerStateExited}},
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  10. pkg/kubelet/container/helpers.go

    			return false
    		}
    	}
    	return true
    }
    
    // HashContainer returns the hash of the container. It is used to compare
    // the running container with its desired spec.
    // Note: remember to update hashValues in container_hash_test.go as well.
    func HashContainer(container *v1.Container) uint64 {
    	hash := fnv.New32a()
    	containerJSON, _ := json.Marshal(pickFieldsToHash(container))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top