kubernetes/pkg/kubelet
Francesco Romani 47d3299781 node: metrics: cpumanager: add pinning metrics
In order to improve the observability of the cpumanager,
add and populate metrics to track if the combination of
the kubelet configuration and podspec would trigger
exclusive core allocation and pinning.

We should avoid leaking any node/machine specific information
(e.g. core ids, even though this is admittedly an extreme example);
tracking these metrics seems to be a good first step, because
it allows us to get feedback without exposing details.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-10-27 14:40:40 +02:00
..
apis Merge pull request #110263 from claudiubelu/unittests 2022-10-25 14:50:34 -07:00
cadvisor Promote Local storage capacity isolation feature to GA 2022-08-02 23:45:48 -07:00
certificate unittests: Fixes unit tests for Windows 2022-10-25 23:46:56 +03:00
checkpointmanager remove fakefs to drop spf13/afero dependency 2021-06-24 09:51:34 -04:00
client Merge pull request #96004 from serathius/datapolicy-kubelet-pkg 2022-03-04 15:34:51 -08:00
cloudresource
cm node: metrics: cpumanager: add pinning metrics 2022-10-27 14:40:40 +02:00
config Remove ioutil in kubelet and its tests 2022-07-30 12:35:26 +09:00
configmap Generate and format files 2022-07-26 13:14:05 -04:00
container Sort kubelet pods by their creation time 2022-10-13 16:32:44 +02:00
cri Merge pull request #112709 from swagatbora90/kubelet-tracing 2022-10-04 14:12:00 -07:00
envvars
events kubelet: add shutdown events 2021-06-23 16:44:19 -05:00
eviction unittests: Fixes unit tests for Windows 2022-10-25 23:46:56 +03:00
images Merge pull request #110263 from claudiubelu/unittests 2022-10-25 14:50:34 -07:00
kubeletconfig Merge pull request #110263 from claudiubelu/unittests 2022-10-25 14:50:34 -07:00
kuberuntime Merge pull request #110263 from claudiubelu/unittests 2022-10-25 14:50:34 -07:00
leaky
lifecycle Record metric for lifecycle fallback to http 2022-10-19 14:45:25 -04:00
logs unittests: Fixes unit tests for Windows 2022-10-25 23:46:56 +03:00
metrics node: metrics: cpumanager: add pinning metrics 2022-10-27 14:40:40 +02:00
network Merge pull request #112414 from pacoxu/kubelet-multi-options 2022-09-29 21:10:28 -07:00
nodeshutdown Remove ioutil in kubelet and its tests 2022-07-30 12:35:26 +09:00
nodestatus Delete the cloud node IP annotation if it is stale 2022-09-01 16:43:18 -04: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 fsnotify: use event.Has instead of "event.Op&h == h" 2022-10-13 13:42:26 +08: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 Align lifecycle handlers and probes 2022-10-19 09:51:52 -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 Merge pull request #110263 from claudiubelu/unittests 2022-10-25 14:50:34 -07:00
stats Merge pull request #111221 from inosato/remove-ioutil-from-kubelet 2022-09-17 21:56:28 -07:00
status Merge pull request #110263 from claudiubelu/unittests 2022-10-25 14:50:34 -07:00
sysctl fix test order in pkg/kubelet/sysctl/util_test.go 2022-09-08 17:20:22 +08:00
token Merge pull request #99685 from yangjunmyfm192085/run-test24 2022-05-03 17:16:47 -07:00
types Align lifecycle handlers and probes 2022-10-19 09:51:52 -07:00
util Merge pull request #111221 from inosato/remove-ioutil-from-kubelet 2022-09-17 21:56:28 -07:00
volumemanager Add unit test in volumemanager: Detach a volume that had been mounted by pod should be skipped 2022-08-05 09:03:21 +08: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: increase log level for Path does not exist message 2022-09-21 14:16:44 -05: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 Revert "Avoid tainting with NoSchedule when DisableCloudProviders feature is on" 2022-10-03 15:13:43 -04: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 #111221 from inosato/remove-ioutil-from-kubelet 2022-09-17 21:56:28 -07:00
kubelet_pods_windows_test.go unittests: Fixes unit tests for Windows 2022-10-25 23:46:56 +03:00
kubelet_pods.go Merge pull request #112097 from wongearl/cleanup_loop 2022-09-30 18:04:12 -07:00
kubelet_resources_test.go
kubelet_resources.go
kubelet_test.go Merge pull request #111221 from inosato/remove-ioutil-from-kubelet 2022-09-17 21:56:28 -07:00
kubelet_volumes_linux_test.go Remove ioutil in kubelet and its tests 2022-07-30 12:35:26 +09: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 Align lifecycle handlers and probes 2022-10-19 09:51:52 -07: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 grammar: replace all occurrences of "the the" with "the" 2022-10-14 09:03:14 +02: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