kubernetes/pkg/kubelet/kuberuntime
Davanum Srinivas 25c3ddf22e
Just use runtime.NumCPU on windows
docker folks added NumCPU implementation for windows that
supported hot-plugging of CPUs. The implementation used the
GetProcessAffinityMask to be able to check which CPUs are
active as well.
3707a76921

The golang "runtime" package has also bene using GetProcessAffinityMask
since 1.6 beta1:
6410e67a1e

So we don't seem to need the sysinfo.NumCPU from docker/docker.

(Note that this is PR is an effort to get away from dependencies from
docker/docker)

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-03-17 15:53:52 -04:00
..
logs remove stateCheckPeriod 2019-08-29 11:06:45 +08:00
BUILD Just use runtime.NumCPU on windows 2020-03-17 15:53:52 -04:00
doc.go
fake_kuberuntime_manager.go Add startupProbe result handling to kuberuntime 2019-11-13 08:12:54 +01:00
helpers_linux_test.go update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate 2019-05-08 10:01:50 -04:00
helpers_linux.go fix #73264 cpuPeriod was not reset, but used as it is if alpha gate is disabled 2019-02-01 16:45:43 +01:00
helpers_test.go Remove checks for PodShareProcessNamespace feature gate 2019-10-31 17:15:23 +00:00
helpers_unsupported.go Adding Windows CPU limit tests 2020-02-24 19:46:39 +00:00
helpers.go Remove checks for PodShareProcessNamespace feature gate 2019-10-31 17:15:23 +00:00
instrumented_services_test.go migrate kubelet's metrics/probes & metrics endpoint to metrics stability framework 2019-08-28 11:16:38 -07:00
instrumented_services.go remove deprecated metrics of kubelet 2020-01-10 16:46:52 +08:00
kuberuntime_container_linux_test.go Add namespace targeting to the kubelet 2020-01-30 15:31:43 +01:00
kuberuntime_container_linux.go Add namespace targeting to the kubelet 2020-01-30 15:31:43 +01:00
kuberuntime_container_test.go Add namespace targeting to the kubelet 2020-01-30 15:31:43 +01:00
kuberuntime_container_unsupported.go Add namespace targeting to the kubelet 2020-01-30 15:31:43 +01:00
kuberuntime_container_windows.go Just use runtime.NumCPU on windows 2020-03-17 15:53:52 -04:00
kuberuntime_container.go Add namespace targeting to the kubelet 2020-01-30 15:31:43 +01:00
kuberuntime_gc_test.go New staging repository for cri-api 2019-03-26 18:21:04 -04:00
kuberuntime_gc.go Call getKubeletSandboxes first in containerGC#evictSandboxes 2019-05-26 14:40:11 -07:00
kuberuntime_image_test.go New staging repository for cri-api 2019-03-26 18:21:04 -04:00
kuberuntime_image.go Remove lazy provide from credential provider and kubelet (#79674) 2019-07-03 13:52:52 -07:00
kuberuntime_logs.go kubelet: plumb context for log requests 2018-08-10 17:35:46 -07:00
kuberuntime_manager_test.go Add namespace targeting to the kubelet 2020-01-30 15:31:43 +01:00
kuberuntime_manager.go Add namespace targeting to the kubelet 2020-01-30 15:31:43 +01:00
kuberuntime_sandbox_test.go update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate 2019-05-08 10:01:50 -04:00
kuberuntime_sandbox.go kubenet for ipv6 dualstack 2019-07-02 22:26:25 +00:00
labels_test.go Remove container type from kubelet runtime labels 2018-12-21 15:47:47 +01:00
labels.go Remove container type from kubelet runtime labels 2018-12-21 15:47:47 +01:00
legacy_test.go fix golint failures - /pkg/kubelet/images 2018-09-17 10:52:25 +08:00
legacy.go modify dockerID to containerID 2019-11-13 10:43:55 +08:00
security_context_test.go
security_context.go New staging repository for cri-api 2019-03-26 18:21:04 -04:00