kubernetes/pkg/kubelet/apis/config/validation
Dmitry Verkhoturov f2d591fae6 change CPUCFSQuotaPeriod default value to 100us to match Linux default
cpu.cfs_period_us is 100μs by default despite having an "ms" unit
for some unfortunate reason. Documentation:
https://www.kernel.org/doc/html/latest/scheduler/sched-bwc.html#management

The desired effect of that change is to match
k8s default `CPUCFSQuotaPeriod` value (100ms before that change)
with one used in k8s without the `CustomCPUCFSQuotaPeriod` flag enabled
and Linux CFS (100us, 1000x smaller than 100ms).
2022-08-10 03:25:05 +02:00
..
validation_others.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
validation_reserved_memory_test.go Refactor Kubelet config validation tests 2021-11-18 22:38:01 +09:00
validation_reserved_memory.go Refactor Kubelet config validations 2021-11-18 22:31:31 +09:00
validation_test.go kubelet tracing 2022-08-01 12:55:02 -04:00
validation_windows.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
validation.go change CPUCFSQuotaPeriod default value to 100us to match Linux default 2022-08-10 03:25:05 +02:00