kubernetes/pkg/kubelet/kuberuntime
Adelina Tuvenie bc7d254317 Fix Cpu Requests priority Windows.
For Windows, CPU Requests ( Shares, Count and Maximum ) are mutually exclusive, however
Kubernetes sends them all anyway in the pod spec.
When using dockershim this is not an issue, as Docker checks for this specific situation
here: 1bd184a4c2/daemon/daemon_windows.go (L87-L106)

However, when using CRI-Containerd this pods fail to spawn with an error from hcsshim.

This PR intends to filter these values before they are sent to the CRI and not rely on the
runtime for it.

Related to: https://github.com/kubernetes/kubernetes/issues/84804
2019-12-04 19:32:26 +02:00
..
logs Merge pull request #81747 from Random-Liu/fix-windows-log-follow 2019-08-23 06:53:24 -07:00
BUILD Merge pull request #83057 from bclau/windows/containerd 2019-11-13 17:27:36 -08: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
helpers_windows.go
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 Merge pull request #75278 from Nessex/updatecontainerresources-label-fix 2019-04-12 08:44:48 -07:00
kuberuntime_container_linux_test.go add status.podIPs in downward api 2019-10-25 09:18:49 -07:00
kuberuntime_container_linux.go New staging repository for cri-api 2019-03-26 18:21:04 -04:00
kuberuntime_container_test.go Correct spelling mistakes 2019-11-06 20:25:19 +08:00
kuberuntime_container_unsupported.go New staging repository for cri-api 2019-03-26 18:21:04 -04:00
kuberuntime_container_windows.go Fix Cpu Requests priority Windows. 2019-12-04 19:32:26 +02:00
kuberuntime_container.go Merge pull request #83123 from aramase/dualstack-downward-api 2019-11-14 22:13:42 -08: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
kuberuntime_manager_test.go Merge pull request #83123 from aramase/dualstack-downward-api 2019-11-14 22:13:42 -08:00
kuberuntime_manager.go Merge pull request #83123 from aramase/dualstack-downward-api 2019-11-14 22:13:42 -08: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 fix golint failures - /pkg/kubelet/images 2018-09-17 10:52:25 +08:00
security_context_test.go
security_context.go New staging repository for cri-api 2019-03-26 18:21:04 -04:00