Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 443 for container1 (0.25 sec)

  1. pkg/kubelet/cm/dra/manager.go

    	for _, c := range container.Resources.Claims {
    		if c.Name == podClaim.Name {
    			return true
    		}
    	}
    	return false
    }
    
    // GetResources gets a ContainerInfo object from the claimInfo cache.
    // This information is used by the caller to update a container config.
    func (m *ManagerImpl) GetResources(pod *v1.Pod, container *v1.Container) (*ContainerInfo, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:23:29 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/types_test.go

    		})
    	}
    }
    
    func TestNewNodeInfo(t *testing.T) {
    	nodeName := "test-node"
    	pods := []*v1.Pod{
    		st.MakePod().UID("test-1").Namespace("node_info_cache_test").Name("test-1").Node(nodeName).
    			Containers([]v1.Container{st.MakeContainer().ResourceRequests(map[v1.ResourceName]string{
    				v1.ResourceCPU:    "100m",
    				v1.ResourceMemory: "500",
    			}).ContainerPort([]v1.ContainerPort{{
    				HostIP:   "127.0.0.1",
    				HostPort: 80,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  3. pkg/kubelet/logs/container_log_manager.go

    	defer c.mutex.Unlock()
    	klog.V(4).InfoS("Starting container log rotation sequence")
    	// TODO(#59998): Use kubelet pod cache.
    	containers, err := c.runtimeService.ListContainers(ctx, &runtimeapi.ContainerFilter{})
    	if err != nil {
    		return fmt.Errorf("failed to list containers: %v", err)
    	}
    	for _, container := range containers {
    		// Only rotate logs for running containers. Non-running containers won't
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/imagelocality/image_locality_test.go

    	test40250 := v1.PodSpec{
    		Containers: []v1.Container{
    			{
    
    				Image: "gcr.io/40",
    			},
    			{
    				Image: "gcr.io/250",
    			},
    		},
    	}
    
    	test40300 := v1.PodSpec{
    		Containers: []v1.Container{
    			{
    				Image: "gcr.io/40",
    			},
    			{
    				Image: "gcr.io/300",
    			},
    		},
    	}
    
    	testMinMax := v1.PodSpec{
    		Containers: []v1.Container{
    			{
    				Image: "gcr.io/10",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 06:17:57 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. pkg/registry/core/pod/storage/storage_test.go

    				Spec: api.PodSpec{
    					Containers: []api.Container{
    						{Name: "ctr"},
    					},
    				},
    				Status: api.PodStatus{PodIPs: []api.PodIP{{IP: expectedIP}}},
    			},
    			query:    "foo",
    			location: expectedIP,
    		},
    		{
    			pod: api.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: "foo"},
    				Spec: api.PodSpec{
    					Containers: []api.Container{
    						{Name: "ctr"},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 07:18:44 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/devicemanager/pod_devices.go

    	}
    }
    
    // Returns combined container runtime settings to consume the container's allocated devices.
    func (pdev *podDevices) deviceRunContainerOptions(podUID, contName string) *DeviceRunContainerOptions {
    	pdev.RLock()
    	defer pdev.RUnlock()
    
    	containers, exists := pdev.devs[podUID]
    	if !exists {
    		return nil
    	}
    	resources, exists := containers[contName]
    	if !exists {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. manifests/charts/istiod-remote/files/injection-template.yaml

        {{- end }}
      {{- end }}
    {{- end }}
    {{ $nativeSidecar := (eq (env "ENABLE_NATIVE_SIDECARS" "false") "true") }}
    {{- $containers := list }}
    {{- range $index, $container := .Spec.Containers }}{{ if not (eq $container.Name "istio-proxy") }}{{ $containers = append $containers $container.Name }}{{end}}{{- end}}
    metadata:
      labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 21:01:52 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  8. manifests/charts/istio-control/istio-discovery/files/injection-template.yaml

        {{- end }}
      {{- end }}
    {{- end }}
    {{ $nativeSidecar := (eq (env "ENABLE_NATIVE_SIDECARS" "false") "true") }}
    {{- $containers := list }}
    {{- range $index, $container := .Spec.Containers }}{{ if not (eq $container.Name "istio-proxy") }}{{ $containers = append $containers $container.Name }}{{end}}{{- end}}
    metadata:
      labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 21:01:52 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/container_manager_linux.go

    	}
    	if quotaExists && periodExists {
    		f.cpuHardcapping = true
    	}
    	return f, nil
    }
    
    // TODO(vmarmol): Add limits to the system containers.
    // Takes the absolute name of the specified containers.
    // Empty container name disables use of the specified container.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/describe_test.go

    						Name:      "productpage-v1-1234567890",
    						Namespace: "default",
    						Labels: map[string]string{
    							"app": "productpage",
    						},
    					},
    					Spec: corev1.PodSpec{
    						Containers: []corev1.Container{
    							{
    								Name: "productpage",
    								Ports: []corev1.ContainerPort{
    									{
    										Name:          "http",
    										ContainerPort: 9080,
    									},
    								},
    							},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:54:01 UTC 2024
    - 30.4K bytes
    - Viewed (0)
Back to top