Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for NodeStatusMaxImages (0.29 sec)

  1. pkg/kubelet/apis/config/scheme/testdata/KubeletConfiguration/after/v1beta1.yaml

          infoBufferSize: "0"
      verbosity: 0
    makeIPTablesUtilChains: true
    maxOpenFiles: 1000000
    maxPods: 110
    memoryManagerPolicy: None
    memorySwap: {}
    memoryThrottlingFactor: 0.9
    nodeLeaseDurationSeconds: 40
    nodeStatusMaxImages: 50
    nodeStatusReportFrequency: 5m0s
    nodeStatusUpdateFrequency: 10s
    oomScoreAdj: -999
    podLogsDir: /var/log/pods
    podPidsLimit: -1
    port: 10250
    registerNode: true
    registryBurst: 10
    registryPullQPS: 5
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 05:07:06 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. pkg/kubelet/apis/config/scheme/testdata/KubeletConfiguration/roundtrip/default/v1beta1.yaml

          infoBufferSize: "0"
      verbosity: 0
    makeIPTablesUtilChains: true
    maxOpenFiles: 1000000
    maxPods: 110
    memoryManagerPolicy: None
    memorySwap: {}
    memoryThrottlingFactor: 0.9
    nodeLeaseDurationSeconds: 40
    nodeStatusMaxImages: 50
    nodeStatusReportFrequency: 5m0s
    nodeStatusUpdateFrequency: 10s
    oomScoreAdj: -999
    podLogsDir: /var/log/pods
    podPidsLimit: -1
    port: 10250
    registerNode: true
    registryBurst: 10
    registryPullQPS: 5
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 05:07:06 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/config/v1beta1/defaults_test.go

    				CPUCFSQuota:                               utilpointer.Bool(true),
    				CPUCFSQuotaPeriod:                         &metav1.Duration{Duration: 100 * time.Millisecond},
    				NodeStatusMaxImages:                       utilpointer.Int32(50),
    				MaxOpenFiles:                              1000000,
    				ContentType:                               "application/vnd.kubernetes.protobuf",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 51K bytes
    - Viewed (0)
  4. pkg/kubelet/apis/config/v1beta1/defaults.go

    		obj.CPUCFSQuota = utilpointer.Bool(true)
    	}
    	if obj.CPUCFSQuotaPeriod == nil {
    		obj.CPUCFSQuotaPeriod = &metav1.Duration{Duration: 100 * time.Millisecond}
    	}
    	if obj.NodeStatusMaxImages == nil {
    		obj.NodeStatusMaxImages = utilpointer.Int32(50)
    	}
    	if obj.MaxOpenFiles == 0 {
    		obj.MaxOpenFiles = 1000000
    	}
    	if obj.ContentType == "" {
    		obj.ContentType = "application/vnd.kubernetes.protobuf"
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_node_status_test.go

    }
    
    func TestUpdateNewNodeStatus(t *testing.T) {
    	cases := []struct {
    		desc                string
    		nodeStatusMaxImages int32
    	}{
    		{
    			desc:                "5 image limit",
    			nodeStatusMaxImages: 5,
    		},
    		{
    			desc:                "no image limit",
    			nodeStatusMaxImages: -1,
    		},
    	}
    
    	for _, tc := range cases {
    		t.Run(tc.desc, func(t *testing.T) {
    			ctx := context.Background()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  6. pkg/kubelet/apis/config/fuzzer/fuzzer.go

    			obj.NodeLeaseDurationSeconds = 40
    			obj.CPUManagerPolicy = "none"
    			obj.CPUManagerPolicyOptions = make(map[string]string)
    			obj.CPUManagerReconcilePeriod = obj.NodeStatusUpdateFrequency
    			obj.NodeStatusMaxImages = 50
    			obj.TopologyManagerPolicy = kubeletconfig.NoneTopologyManagerPolicy
    			obj.TopologyManagerScope = kubeletconfig.ContainerTopologyManagerScope
    			obj.TopologyManagerPolicyOptions = make(map[string]string)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. pkg/kubelet/apis/config/v1beta1/zz_generated.conversion.go

    		return err
    	}
    	if err := v1.Convert_Pointer_v1_Duration_To_v1_Duration(&in.CPUCFSQuotaPeriod, &out.CPUCFSQuotaPeriod, s); err != nil {
    		return err
    	}
    	if err := v1.Convert_Pointer_int32_To_int32(&in.NodeStatusMaxImages, &out.NodeStatusMaxImages, s); err != nil {
    		return err
    	}
    	out.MaxOpenFiles = in.MaxOpenFiles
    	out.ContentType = in.ContentType
    	if err := v1.Convert_Pointer_int32_To_int32(&in.KubeAPIQPS, &out.KubeAPIQPS, s); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 48.9K bytes
    - Viewed (0)
Back to top