Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for NodeStatusMaxImages (0.31 sec)

  1. pkg/kubelet/apis/config/validation/validation.go

    	}
    	if kc.NodeStatusMaxImages < -1 {
    		allErrors = append(allErrors, fmt.Errorf("invalid configuration: nodeStatusMaxImages (--node-status-max-images) %v must be -1 or greater", kc.NodeStatusMaxImages))
    	}
    	if kc.MaxOpenFiles < 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. pkg/kubelet/nodestatus/setters.go

    			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) {
    			containerImages = containerImages[0:nodeStatusMaxImages]
    		}
    
    		for _, image := range containerImages {
    			// make a copy to avoid modifying slice members of the image items in the list
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 12:12:04 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/config/validation/validation_test.go

    	}, {
    		name: "invalid NodeStatusMaxImages",
    		configure: func(conf *kubeletconfig.KubeletConfiguration) *kubeletconfig.KubeletConfiguration {
    			conf.NodeStatusMaxImages = -2
    			return conf
    		},
    		errMsg: "invalid configuration: nodeStatusMaxImages (--node-status-max-images) -2 must be -1 or greater",
    	}, {
    		name: "invalid MaxOpenFiles",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  4. pkg/kubelet/apis/config/helpers_test.go

    		"ServerTLSBootstrap",
    		"StaticPodURL",
    		"StaticPodURLHeader[*][*]",
    		"MaxOpenFiles",
    		"MaxPods",
    		"MemoryManagerPolicy",
    		"MemorySwap.SwapBehavior",
    		"NodeLeaseDurationSeconds",
    		"NodeStatusMaxImages",
    		"NodeStatusUpdateFrequency.Duration",
    		"NodeStatusReportFrequency.Duration",
    		"OOMScoreAdj",
    		"PodCIDR",
    		"PodPidsLimit",
    		"PodsPerCore",
    		"Port",
    		"ProtectKernelDefaults",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/config/types.go

    	CPUCFSQuotaPeriod metav1.Duration
    	// maxOpenFiles is Number of files that can be opened by Kubelet process.
    	MaxOpenFiles int64
    	// nodeStatusMaxImages caps the number of images reported in Node.Status.Images.
    	NodeStatusMaxImages int32
    	// contentType is contentType of requests sent to apiserver.
    	ContentType string
    	// kubeAPIQPS is the QPS to use while talking with kubernetes apiserver
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  6. cmd/kubelet/app/options/options.go

    	fs.Int32Var(&c.NodeStatusMaxImages, "node-status-max-images", c.NodeStatusMaxImages, "The maximum number of images to report in Node.Status.Images. If -1 is specified, no cap will be applied.")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:05 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_node_status.go

    		nodestatus.VersionInfo(kl.cadvisor.VersionInfo, kl.containerRuntime.Type, kl.containerRuntime.Version),
    		nodestatus.DaemonEndpoints(kl.daemonEndpoints),
    		nodestatus.Images(kl.nodeStatusMaxImages, kl.imageManager.GetImageList),
    		nodestatus.GoRuntime(),
    		nodestatus.RuntimeHandlers(kl.runtimeState.runtimeHandlers),
    	)
    
    	setters = append(setters,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
Back to top