Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for containerImage (0.92 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. pkg/kubelet/nodestatus/setters.go

    		var imagesOnNode []v1.ContainerImage
    		containerImages, err := imageListFunc()
    		if err != nil {
    			node.Status.Images = imagesOnNode
    			return fmt.Errorf("error getting image list: %v", err)
    		}
    		// we expect imageListFunc to return a sorted list, so we just need to truncate
    		if int(nodeStatusMaxImages) > -1 &&
    			int(nodeStatusMaxImages) < len(containerImages) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 12:12:04 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  7. pkg/scheduler/testing/wrappers.go

    // to an image name and its size in bytes.
    func (n *NodeWrapper) Images(images map[string]int64) *NodeWrapper {
    	var containerImages []v1.ContainerImage
    	for name, size := range images {
    		containerImages = append(containerImages, v1.ContainerImage{Names: []string{name}, SizeBytes: size})
    	}
    	n.Status.Images = containerImages
    	return n
    }
    
    // Taints applies taints to the inner node.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  8. pkg/apis/core/v1/zz_generated.conversion.go

    	}
    	if err := s.AddGeneratedConversionFunc((*v1.ContainerImage)(nil), (*core.ContainerImage)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_ContainerImage_To_core_ContainerImage(a.(*v1.ContainerImage), b.(*core.ContainerImage), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*core.ContainerImage)(nil), (*v1.ContainerImage)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  9. pkg/kubelet/nodestatus/setters_test.go

    	// copy the imageList, we do not want to mutate it in-place and accidentally edit a test case
    	images := make([]kubecontainer.Image, len(imageList))
    	copy(images, imageList)
    	// sort images by size
    	sort.Sort(sliceutils.ByImageSize(images))
    	// convert to []v1.ContainerImage and truncate the list of names
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 21:47:24 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  10. pkg/scheduler/schedule_one_test.go

    	imageStatus1 := []v1.ContainerImage{
    		{
    			Names: []string{
    				"gcr.io/40:latest",
    				"gcr.io/40:v1",
    			},
    			SizeBytes: int64(80 * mb),
    		},
    		{
    			Names: []string{
    				"gcr.io/300:latest",
    				"gcr.io/300:v1",
    			},
    			SizeBytes: int64(300 * mb),
    		},
    	}
    
    	imageStatus2 := []v1.ContainerImage{
    		{
    			Names: []string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
Back to top