kubernetes/pkg/kubelet
Mikko Ylinen 68bb0935bd devicemanager: do not leak empty TopologyInfo to TopologyManager
Device Plugins that wish to leverage the Topology Manager can send back a populated
TopologyInfo struct as part of the device registration, along with the device IDs
and the health of the device. TopologyInfo is converted to TopologyHints and
used by TopologyManager to find the optimal/desired resource allocation for a Pod.

If a plugin sends an empty but non-nil instance of TopologyInfo for a resource,
devicemanager passes it on as an empty instance of TopologyHint which is
currently interpreted as "Hint Provider has no possible NUMA affinities
for resource" which further means that pods requesting that resource will fail.

To not block device resources that pass TopologyInfo{Nodes:[]*NUMANode{}} from being
used, interprete that as nil set of hints and not a []TopologyHint{}.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-09-14 16:13:31 +03:00
..
apis Revert "change CPUCFSQuotaPeriod default value to 100us to match Linux default" 2022-08-26 23:51:04 +02:00
cadvisor Promote Local storage capacity isolation feature to GA 2022-08-02 23:45:48 -07:00
certificate fix copylock vet errors in component-base metrics 2022-03-31 15:07:11 +00:00
checkpointmanager
client Merge pull request #96004 from serathius/datapolicy-kubelet-pkg 2022-03-04 15:34:51 -08:00
cloudresource
cm devicemanager: do not leak empty TopologyInfo to TopologyManager 2022-09-14 16:13:31 +03:00
config Generate and format files 2022-07-26 13:14:05 -04:00
configmap Generate and format files 2022-07-26 13:14:05 -04:00
container kubelet: add GetUserNamespaceMappings to RuntimeHelper 2022-08-03 19:53:22 +02:00
cri Handle UpdateContainerResources for Windows in v1alpha2 2022-08-02 15:31:00 -07:00
envvars
events
eviction Promote Local storage capacity isolation feature to GA 2022-08-02 23:45:48 -07:00
images Move from k8s.gcr.io to registry.k8s.io 2022-05-31 10:16:53 -04:00
kubeletconfig remove DynamicKubeletConfig logic from kubelet 2022-01-19 22:38:04 +00:00
kuberuntime Revert "change CPUCFSQuotaPeriod default value to 100us to match Linux default" 2022-08-26 23:51:04 +02:00
leaky
lifecycle Merge pull request #111239 from HecarimV/fix-22071914 2022-07-29 13:17:50 -07:00
logs Fixes kubelet log compression on Windows 2022-07-29 20:53:21 +03:00
metrics When metrics are counted, discard the wrong container startup time metrics 2022-07-15 08:56:12 +08:00
network Avoid propagating search . into containers /etc/resolv.conf 2022-09-01 12:07:18 -07:00
nodeshutdown kubelet: avoid manipulating global logger during unit test 2022-06-24 11:27:40 +02:00
nodestatus Promote Local storage capacity isolation feature to GA 2022-08-02 23:45:48 -07:00
oom generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
pleg refactor: pleg/getContainersFromPods 2022-04-06 14:12:52 +08:00
pluginmanager Merge pull request #111439 from claudiubelu/fix-plugin-watcher 2022-07-29 19:29:44 -07:00
pod Remove EphemeralContainers feature-gate checks 2022-07-26 02:55:30 +02:00
preemption migrated preemption.go, stateful.go, resource_allocation.go to structured logging 2021-11-08 22:52:47 +05:30
prober Merge pull request #104484 from jackfrancis/prober-duration-metrics 2022-07-29 13:17:11 -07:00
qos
runtimeclass Generate and format files 2022-07-26 13:14:05 -04:00
secret Generate and format files 2022-07-26 13:14:05 -04:00
server add otelrestful restful.FilterFunction 2022-08-01 12:55:19 -04:00
stats kubelet/stats: drop makePodStorageStats errors to V(6) 2022-08-16 16:54:29 -04:00
status Introduction of a pod condition type indicating disruption. Its reason field indicates the reason: 2022-08-02 11:12:16 +02:00
sysctl Generate and format files 2022-07-26 13:14:05 -04:00
token Merge pull request #99685 from yangjunmyfm192085/run-test24 2022-05-03 17:16:47 -07:00
types Introduce PodHasNetwork condition for pods 2022-08-01 09:51:43 -07:00
util style: remove redundant judgment 2022-08-25 12:07:36 +08:00
volumemanager Add unit tests for DesiredStateOfWorldPopulator 2022-08-04 10:51:59 +02:00
winstats Merge pull request #111418 from muyangren2/winstats_assert 2022-07-29 19:29:29 -07:00
active_deadline_test.go Migrate to k8s.io/utils/clock in pkg/kubelet 2021-09-10 12:20:09 +02:00
active_deadline.go Migrate to k8s.io/utils/clock in pkg/kubelet 2021-09-10 12:20:09 +02:00
doc.go
errors.go
kubelet_getters_test.go Add test case for getPodVolumeSubpathsDir 2022-04-27 16:33:28 +08:00
kubelet_getters.go kubelet: add checkpoint/restore infrastructure 2022-07-14 10:27:40 +00:00
kubelet_network_linux.go Add IPTablesOwnershipCleanup feature to disable kubelet iptables setup 2022-07-27 13:33:09 -04:00
kubelet_network_others.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
kubelet_network_test.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
kubelet_network.go Move iptables consts to kubelet_network_linux.go. 2022-03-26 11:22:51 -04:00
kubelet_node_status_others.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
kubelet_node_status_test.go Promote Local storage capacity isolation feature to GA 2022-08-02 23:45:48 -07:00
kubelet_node_status_windows.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
kubelet_node_status.go Promote Local storage capacity isolation feature to GA 2022-08-02 23:45:48 -07:00
kubelet_pods_linux_test.go Promote Local storage capacity isolation feature to GA 2022-08-02 23:45:48 -07:00
kubelet_pods_test.go Merge pull request #110390 from major1201/fix_kubelet_test 2022-08-23 16:04:37 -07:00
kubelet_pods_windows_test.go Clean up logic for deprecated flag --container-runtime in kubelet 2022-02-10 13:26:59 +02:00
kubelet_pods.go kubelet: add GetHostIDsForPod() 2022-08-03 19:53:22 +02:00
kubelet_resources_test.go
kubelet_resources.go
kubelet_test.go Cleanup: Remove unused lastContainerStartedTime time.Cache lru 2022-08-19 14:57:29 +02:00
kubelet_volumes_linux_test.go pkg/kubelet: skip long test on short mode 2022-06-24 18:00:21 +02:00
kubelet_volumes_test.go Upgrade CSIMigrationGCE feature gate to GA 2022-08-02 09:14:27 -07:00
kubelet_volumes.go remove ioutil in kubelet 2022-04-27 21:08:42 +08:00
kubelet.go Cleanup: Remove unused lastContainerStartedTime time.Cache lru 2022-08-19 14:57:29 +02:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
pod_container_deletor_test.go
pod_container_deletor.go
pod_workers_test.go Merge pull request #110071 from gjkim42/deflake-TestStaticPodExclusion 2022-07-29 13:17:43 -07:00
pod_workers.go Generate and format files 2022-07-26 13:14:05 -04:00
reason_cache_test.go
reason_cache.go Generate and format files 2022-07-26 13:14:05 -04:00
runonce_test.go Promote Local storage capacity isolation feature to GA 2022-08-02 23:45:48 -07:00
runonce.go kubelet: Delay writing a terminal phase until the pod is terminated 2022-03-16 13:15:00 -04:00
runtime.go
userns_manager_test.go kubelet: drop bitArray implementation 2022-08-19 16:55:15 +02:00
userns_manager.go kubelet: drop bitArray implementation 2022-08-19 16:55:15 +02:00
volume_host.go kubelet: add GetHostIDsForPod() 2022-08-03 19:53:22 +02:00