Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for containerUsage (0.19 sec)

  1. pkg/kubelet/eviction/helpers.go

    					containers = append(containers, container.Name)
    					containerUsage = append(containerUsage, usage.String())
    				}
    			}
    		}
    	}
    	annotations[OffendingContainersKey] = strings.Join(containers, ",")
    	annotations[OffendingContainersUsageKey] = strings.Join(containerUsage, ",")
    	annotations[StarvedResourceKey] = string(resourceToReclaim)
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  2. pkg/quota/v1/evaluator/core/pods.go

    	requests := container.Resources.Requests
    	limits := container.Resources.Limits
    	containerUsage := podComputeUsageHelper(requests, limits)
    	containerSet := quota.ToSet(quota.ResourceNames(containerUsage))
    	if !containerSet.Equal(requiredSet) {
    		if difference := requiredSet.Difference(containerSet); difference.Len() != 0 {
    			for _, diff := range difference.List() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 05 00:02:47 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerimage.go

    // with apply.
    type ContainerImageApplyConfiguration struct {
    	Names     []string `json:"names,omitempty"`
    	SizeBytes *int64   `json:"sizeBytes,omitempty"`
    }
    
    // ContainerImageApplyConfiguration constructs an declarative configuration of the ContainerImage type for use with
    // apply.
    func ContainerImage() *ContainerImageApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 2K bytes
    - Viewed (0)
  4. pkg/kubelet/images/image_manager_test.go

    type pullerTestCase struct {
    	testName       string
    	containerImage string
    	policy         v1.PullPolicy
    	inspectErr     error
    	pullerErr      error
    	qps            float32
    	burst          int
    	expected       []pullerExpects
    }
    
    func pullerTestCases() []pullerTestCase {
    	return []pullerTestCase{
    		{ // pull missing image
    			testName:       "image missing, pull",
    			containerImage: "missing_image",
    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/scheduler/framework/plugins/imagelocality/image_locality_test.go

    	node25010 := v1.NodeStatus{
    		Images: []v1.ContainerImage{
    			{
    				Names: []string{
    					"gcr.io/250:latest",
    				},
    				SizeBytes: int64(250 * mb),
    			},
    			{
    				Names: []string{
    					"gcr.io/10:latest",
    					"gcr.io/10:v1",
    				},
    				SizeBytes: int64(10 * mb),
    			},
    		},
    	}
    
    	node60040900 := v1.NodeStatus{
    		Images: []v1.ContainerImage{
    			{
    				Names: []string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 06:17:57 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. docs/de/docs/deployment/docker.md

    ## Was ist ein Containerimage?
    
    Ein **Container** wird von einem **Containerimage** ausgeführt.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:19:17 UTC 2024
    - 38.9K bytes
    - Viewed (0)
  7. pkg/scheduler/internal/cache/snapshot_test.go

    					Status: v1.NodeStatus{
    						Images: []v1.ContainerImage{
    							{
    								Names: []string{
    									"gcr.io/10:v1",
    								},
    								SizeBytes: int64(10 * mb),
    							},
    						},
    					},
    				},
    				{
    					ObjectMeta: metav1.ObjectMeta{Name: "node-1"},
    					Status: v1.NodeStatus{
    						Images: []v1.ContainerImage{
    							{
    								Names: []string{
    									"gcr.io/10:v1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 08:00:25 UTC 2023
    - 12K bytes
    - Viewed (0)
  8. pkg/controller/volume/attachdetach/testing/testvolumespec.go

    					Namespace: namespace,
    					Labels: map[string]string{
    						"name": podName,
    					},
    				},
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{
    						{
    							Name:  "containerName",
    							Image: "containerImage",
    							VolumeMounts: []v1.VolumeMount{
    								{
    									Name:      "volumeMountName",
    									ReadOnly:  false,
    									MountPath: "/mnt",
    								},
    							},
    						},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 17 08:48:30 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_node_status_test.go

    	// expectedImageList is generated by imageList according to size and maxImages
    	// 1. sort the imageList by size
    	sort.Sort(sliceutils.ByImageSize(imageList))
    	// 2. convert sorted imageList to v1.ContainerImage list
    	var expectedImageList []v1.ContainerImage
    	for _, kubeImage := range imageList {
    		apiImage := v1.ContainerImage{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  10. pkg/kubelet/images/image_gc_manager.go

    				imagesInUse.Insert(container.ImageID)
    			} else {
    				imageKey := getImageTuple(container.ImageID, container.ImageRuntimeHandler)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top