- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for maxParallelImagePulls (0.21 sec)
-
pkg/kubelet/images/puller.go
tokens chan struct{} } func newParallelImagePuller(imageService kubecontainer.ImageService, maxParallelImagePulls *int32) imagePuller { if maxParallelImagePulls == nil || *maxParallelImagePulls < 1 { return ¶llelImagePuller{imageService, nil} } return ¶llelImagePuller{imageService, make(chan struct{}, *maxParallelImagePulls)} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 08 00:30:31 UTC 2024 - 4K bytes - Viewed (0) -
pkg/kubelet/apis/config/validation/validation.go
} if kc.MaxParallelImagePulls != nil && *kc.MaxParallelImagePulls < 1 { allErrors = append(allErrors, fmt.Errorf("invalid configuration: maxParallelImagePulls %v must be a positive number", *kc.MaxParallelImagePulls)) } if kc.SerializeImagePulls && kc.MaxParallelImagePulls != nil && *kc.MaxParallelImagePulls > 1 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 10 17:13:59 UTC 2024 - 18.2K bytes - Viewed (0) -
pkg/kubelet/apis/config/v1beta1/defaults_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 21:10:42 UTC 2024 - 51K bytes - Viewed (0) -
pkg/kubelet/apis/config/v1beta1/defaults.go
obj.KubeAPIBurst = 100 } if obj.SerializeImagePulls == nil { // SerializeImagePulls is default to true when MaxParallelImagePulls // is not set, and false when MaxParallelImagePulls is set. // This is to save users from having to set both configs. if obj.MaxParallelImagePulls == nil || *obj.MaxParallelImagePulls < 2 { obj.SerializeImagePulls = utilpointer.Bool(true) } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 17:55:59 UTC 2024 - 9.7K bytes - Viewed (0) -
pkg/kubelet/apis/config/validation/validation_test.go
}, { name: "invalid MaxParallelImagePulls", configure: func(conf *kubeletconfig.KubeletConfiguration) *kubeletconfig.KubeletConfiguration { conf.MaxParallelImagePulls = utilpointer.Int32(0) return conf }, errMsg: "invalid configuration: maxParallelImagePulls 0 must be a positive number", }, { name: "invalid MaxParallelImagePulls and SerializeImagePulls combination",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 21:10:42 UTC 2024 - 28.7K bytes - Viewed (0) -
pkg/kubelet/images/image_manager_test.go
pullerErr: nil, qps: 0.0, burst: 0, } useSerializedEnv := false maxParallelImagePulls := 5 var wg sync.WaitGroup puller, fakeClock, fakeRuntime, container, _ := pullerTestEnv(t, *testCase, useSerializedEnv, utilpointer.Int32Ptr(int32(maxParallelImagePulls))) fakeRuntime.BlockImagePulls = true fakeRuntime.CalledFunctions = nil fakeRuntime.T = t fakeClock.Step(time.Second)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 19K bytes - Viewed (0) -
pkg/kubelet/apis/config/zz_generated.deepcopy.go
for key, val := range *in { (*out)[key] = val } } out.RuntimeRequestTimeout = in.RuntimeRequestTimeout out.CPUCFSQuotaPeriod = in.CPUCFSQuotaPeriod if in.MaxParallelImagePulls != nil { in, out := &in.MaxParallelImagePulls, &out.MaxParallelImagePulls *out = new(int32) **out = **in } if in.EvictionHard != nil { in, out := &in.EvictionHard, &out.EvictionHard *out = make(map[string]string, len(*in))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 09 11:19:11 UTC 2024 - 14.6K bytes - Viewed (0) -
pkg/kubelet/images/image_manager.go
imageService = throttleImagePulling(imageService, qps, burst) var puller imagePuller if serialized { puller = newSerialImagePuller(imageService) } else { puller = newParallelImagePuller(imageService, maxParallelImagePulls) } return &imageManager{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 08 00:30:31 UTC 2024 - 8.9K bytes - Viewed (0) -
pkg/kubelet/apis/config/v1beta1/zz_generated.conversion.go
return err } out.KubeAPIBurst = in.KubeAPIBurst if err := v1.Convert_Pointer_bool_To_bool(&in.SerializeImagePulls, &out.SerializeImagePulls, s); err != nil { return err } out.MaxParallelImagePulls = (*int32)(unsafe.Pointer(in.MaxParallelImagePulls)) out.EvictionHard = *(*map[string]string)(unsafe.Pointer(&in.EvictionHard)) out.EvictionSoft = *(*map[string]string)(unsafe.Pointer(&in.EvictionSoft))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 17:55:59 UTC 2024 - 48.9K bytes - Viewed (0) -
pkg/kubelet/apis/config/helpers_test.go
"RegistryPullQPS", "ReservedMemory", "ReservedSystemCPUs", "RegisterWithTaints", "RuntimeRequestTimeout.Duration", "RunOnce", "SeccompDefault", "SerializeImagePulls", "MaxParallelImagePulls", "ShowHiddenMetricsForVersion", "ShutdownGracePeriodByPodPriority[*].Priority", "ShutdownGracePeriodByPodPriority[*].ShutdownGracePeriodSeconds", "StreamingConnectionIdleTimeout.Duration",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 10.2K bytes - Viewed (0)