Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,529 for ContainerT (0.22 sec)

  1. pkg/scheduler/framework/plugins/noderesources/resource_allocation_test.go

    						{}, {},
    					},
    				},
    			},
    			// should accumulate once per container without a request
    			expected: map[v1.ResourceName]int64{
    				v1.ResourceCPU:    2 * util.DefaultMilliCPURequest,
    				v1.ResourceMemory: 2 * util.DefaultMemoryRequest,
    			},
    		},
    		{
    			name: "request container + requestless container",
    			pod: v1.Pod{
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{
    						{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 23:15:53 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. pkg/kubelet/qos/policy_test.go

    )
    
    var (
    	cpuLimit = v1.Pod{
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{
    				{
    					Resources: v1.ResourceRequirements{
    						Limits: v1.ResourceList{
    							v1.ResourceName(v1.ResourceCPU): resource.MustParse("10"),
    						},
    					},
    				},
    			},
    		},
    	}
    
    	memoryLimitCPURequest = v1.Pod{
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{
    				{
    					Resources: v1.ResourceRequirements{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 03 21:34:27 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  3. pkg/apis/core/v1/helper/qos/qos_test.go

    	return v1.Container{
    		Name:      name,
    		Resources: getResourceRequirements(requests, limits),
    	}
    }
    
    func newPod(name string, containers []v1.Container) *v1.Pod {
    	return &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: name,
    		},
    		Spec: v1.PodSpec{
    			Containers: containers,
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 14:47:37 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_termination_order.go

    	}
    
    	var mainContainerChannels []chan struct{}
    	// sidecar containers need to wait on main containers, so we create a channel per main container
    	// for them to wait on
    	for _, c := range pod.Spec.Containers {
    		channel := make(chan struct{})
    		to.terminated[c.Name] = channel
    		mainContainerChannels = append(mainContainerChannels, channel)
    
    		// if its not a running container, pre-close the channel so nothing waits on it
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 00:07:21 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. releasenotes/notes/default-container.yaml

    area: networking
    issue:
      - 26764
    
    releaseNotes:
    - |
      **Improved** sidecar injection to automatically specify the `kubectl.kubernetes.io/default-logs-container`. This ensures `kubectl logs`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 01 15:34:22 UTC 2021
    - 346 bytes
    - Viewed (0)
  6. pkg/kubelet/types/types_test.go

    				data.containers, data.sortedStatuses, data.statuses)
    		}
    	}
    }
    
    func TestSortStatusesOfInitContainers(t *testing.T) {
    	pod := v1.Pod{
    		Spec: v1.PodSpec{},
    	}
    	var tests = []struct {
    		containers     []v1.Container
    		statusMap      map[string]*v1.ContainerStatus
    		expectStatuses []v1.ContainerStatus
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 19 08:28:25 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_termination_order_test.go

    		// sidecars should exit in reverse order, so
    		// sc1 = 3 (main container + sc3 + sc2)
    		{
    			containerName: "sc1",
    			expectedDelay: 3,
    		},
    		// sc2 = 2 (main container + sc3)
    		{
    			containerName: "sc2",
    			expectedDelay: 2,
    		},
    		// sc3 = 1 (main container)
    		{
    			containerName: "sc3",
    			expectedDelay: 1,
    		},
    		// main container = 0 delay, nothing to wait on
    		{
    			containerName: "main",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 00:07:21 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/ReadOnlyDependencyCacheWithinContainerTest.groovy

            }
    
            cleanup:
            container.stopContainer()
        }
    
        def "can use a read-only cache within multiple containers concurrently (daemon in container=#daemon)"() {
            given:
            def ids = (0..3)
            exposeServerToContainers()
            def containers = ids.collect { id ->
                // The HEAD requests are because the URL of the repository is different
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  9. cluster/gce/gci/README.md

        image: cos-77-12371-274-0
        project: cos-cloud
        metadata: "user-data</go/src/github.com/containerd/cri/test/e2e_node/init.yaml,containerd-configure-sh</go/src/github.com/containerd/cri/cluster/gce/configure.sh,containerd-extra-init-sh</go/src/github.com/containerd/cri/test/e2e_node/gci-init.sh,containerd-env</workspace/test-infra/jobs/e2e_node/containerd/cri-master/env,gci-update-strategy=update_disabled"
    ```
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 14:55:40 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/labels_test.go

    			DeletionGracePeriodSeconds: &deletionGracePeriod,
    		},
    		Spec: v1.PodSpec{
    			Containers:                    []v1.Container{*container},
    			TerminationGracePeriodSeconds: &terminationGracePeriod,
    		},
    	}
    
    	var tests = []struct {
    		description string
    		expected    *labeledContainerInfo
    	}{
    		{
    			"Regular containers",
    			&labeledContainerInfo{
    				PodName:       pod.Name,
    				PodNamespace:  pod.Namespace,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 22:43:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top