Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for MaxPods (0.14 sec)

  1. cmd/kubemark/app/hollow_node.go

    	RegisterWithTaints      []v1.Taint
    	MaxPods                 int
    	ExtendedResources       map[string]string
    	UseHostImageService     bool
    
    	// Deprecated config; remove these with the corresponding flags
    	UseRealProxier       bool
    	ProxierSyncPeriod    time.Duration
    	ProxierMinSyncPeriod time.Duration
    }
    
    const (
    	maxPods     = 110
    	podsPerCore = 0
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. pkg/kubelet/userns/userns_manager_test.go

    		{
    			name:           "range can't fit maxPods",
    			mappingFirstID: 65536,
    			mappingLen:     65536,
    			maxPods:        2,
    		},
    	}
    
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    			testUserNsPodsManager := &testUserNsPodsManager{
    				podDir:         t.TempDir(),
    				mappingFirstID: tc.mappingFirstID,
    				mappingLen:     tc.mappingLen,
    				maxPods:        tc.maxPods,
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. pkg/kubemark/hollow_kubelet.go

    	c.NodeStatusReportFrequency.Duration = 5 * time.Minute
    	c.SyncFrequency.Duration = 10 * time.Second
    	c.EvictionPressureTransitionPeriod.Duration = 5 * time.Minute
    	c.MaxPods = int32(opt.MaxPods)
    	c.PodsPerCore = int32(opt.PodsPerCore)
    	c.ClusterDNS = []string{}
    	c.ImageGCHighThresholdPercent = 90
    	c.ImageGCLowThresholdPercent = 80
    	c.ProviderID = fmt.Sprintf("kubemark://%v", opt.NodeName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:10:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. pkg/kubelet/apis/config/scheme/testdata/KubeletConfiguration/roundtrip/default/v1beta1.yaml

    logging:
      flushFrequency: 5s
      format: text
      options:
        json:
          infoBufferSize: "0"
        text:
          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
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 05:07:06 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/config/v1beta1/defaults_test.go

    				RuntimeRequestTimeout:                     metav1.Duration{Duration: 2 * time.Minute},
    				HairpinMode:                               v1beta1.PromiscuousBridge,
    				MaxPods:                                   110,
    				PodPidsLimit:                              utilpointer.Int64(-1),
    				ResolverConfig:                            utilpointer.String(kubetypes.ResolvConfDefault),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 51K bytes
    - Viewed (0)
  6. pkg/kubelet/nodestatus/setters_test.go

    						v1.ResourcePods:   *resource.NewQuantity(110, resource.DecimalSI),
    					},
    				},
    			},
    		},
    		{
    			desc:        "podsPerCore greater than zero, but less than maxPods/cores",
    			node:        &v1.Node{},
    			maxPods:     10,
    			podsPerCore: 4,
    			machineInfo: &cadvisorapiv1.MachineInfo{
    				NumCores:       2,
    				MemoryCapacity: 1024,
    			},
    			expectNode: &v1.Node{
    				Status: v1.NodeStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 21:47:24 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  7. pkg/kubelet/apis/config/scheme/testdata/KubeletConfiguration/after/v1beta1.yaml

    logging:
      flushFrequency: 5s
      format: text
      options:
        json:
          infoBufferSize: "0"
        text:
          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
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 05:07:06 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. pkg/kubelet/apis/config/v1beta1/defaults.go

    		obj.RuntimeRequestTimeout = metav1.Duration{Duration: 2 * time.Minute}
    	}
    	if obj.HairpinMode == "" {
    		obj.HairpinMode = kubeletconfigv1beta1.PromiscuousBridge
    	}
    	if obj.MaxPods == 0 {
    		obj.MaxPods = 110
    	}
    	// default nil or negative value to -1 (implies node allocatable pid limit)
    	if obj.PodPidsLimit == nil || *obj.PodPidsLimit < int64(0) {
    		obj.PodPidsLimit = utilpointer.Int64(-1)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. pkg/kubelet/apis/config/validation/validation_test.go

    		errMsg: "invalid configuration: maxOpenFiles (--max-open-files) -1 must not be a negative number",
    	}, {
    		name: "invalid MaxPods",
    		configure: func(conf *kubeletconfig.KubeletConfiguration) *kubeletconfig.KubeletConfiguration {
    			conf.MaxPods = -1
    			return conf
    		},
    		errMsg: "invalid configuration: maxPods (--max-pods) -1 must not be a negative number",
    	}, {
    		name: "invalid OOMScoreAdj",
    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/fuzzer/fuzzer.go

    			obj.ImageMaximumGCAge = metav1.Duration{}
    			obj.ImageGCHighThresholdPercent = 85
    			obj.ImageGCLowThresholdPercent = 80
    			obj.KernelMemcgNotification = false
    			obj.MaxOpenFiles = 1000000
    			obj.MaxPods = 110
    			obj.MemoryManagerPolicy = v1beta1.NoneMemoryManagerPolicy
    			obj.PodPidsLimit = -1
    			obj.NodeStatusUpdateFrequency = metav1.Duration{Duration: 10 * time.Second}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top