Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 790 for containerB (0.28 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/status/generate.go

    		}
    	}
    
    	for _, container := range spec.Containers {
    		if containerStatus, ok := podutil.GetContainerStatus(containerStatuses, container.Name); ok {
    			if !containerStatus.Ready {
    				unreadyContainers = append(unreadyContainers, container.Name)
    			}
    		} else {
    			unknownContainers = append(unknownContainers, container.Name)
    		}
    	}
    
    	// If all containers are known and succeeded, just return PodCompleted.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 15:18:11 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  4. 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)
  5. plugin/pkg/admission/extendedresourcetoleration/admission_test.go

    			},
    		},
    		{
    			description: "pod with container without any extended resources, expect no change in tolerations",
    			requestedPod: core.Pod{
    				Spec: core.PodSpec{
    					Containers: []core.Container{
    						containerRequestingCPU,
    					},
    				},
    			},
    			expectedPod: core.Pod{
    				Spec: core.PodSpec{
    					Containers: []core.Container{
    						containerRequestingCPU,
    					},
    				},
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 20 15:11:00 UTC 2019
    - 10.3K bytes
    - Viewed (0)
  6. 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)
  7. pkg/kubelet/status/generate_test.go

    	noInitContainer := &v1.PodSpec{}
    	oneInitContainer := &v1.PodSpec{
    		InitContainers: []v1.Container{
    			{Name: "1234"},
    		},
    		Containers: []v1.Container{
    			{Name: "regular"},
    		},
    	}
    	twoInitContainer := &v1.PodSpec{
    		InitContainers: []v1.Container{
    			{Name: "1234"},
    			{Name: "5678"},
    		},
    		Containers: []v1.Container{
    			{Name: "regular"},
    		},
    	}
    	oneRestartableInitContainer := &v1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 15:18:11 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  8. pkg/api/v1/pod/util_test.go

    	testCases := []struct {
    		name       string
    		containers []v1.Container
    		port       intstr.IntOrString
    		expected   int
    		pass       bool
    	}{{
    		name:       "valid int, no ports",
    		containers: []v1.Container{{}},
    		port:       intstr.FromInt32(93),
    		expected:   93,
    		pass:       true,
    	}, {
    		name: "valid int, with ports",
    		containers: []v1.Container{{Ports: []v1.ContainerPort{{
    			Name:          "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 32.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top