Tim Allclair
5a3a40cd19
Handle resize edge cases around min CPU shares
2024-11-07 17:02:25 -08:00
Sotiris Salloumis
68fcc9cf8a
Fix slow reconcile when quickly reverting resize patch
2024-11-07 19:51:47 +01:00
Kubernetes Prow Robot
c462d4c8e5
Merge pull request #126096 from utam0k/support-disabling-oom-group-kill
...
kubelet: new kubelet config option for disabling group oom kill
2024-11-07 06:29:36 +00:00
utam0k
4f909c14a0
kubelet: new kubelet config option for disabling group oom kill
...
Signed-off-by: utam0k <k0ma@utam0k.jp >
2024-11-07 12:03:04 +09:00
Anish Shah
207842d3e0
drop InPlacePodVerticalScaling support in windows
2024-11-06 12:57:55 -08:00
Kubernetes Prow Robot
099449954e
Merge pull request #128556 from AnishShah/kubelet-reject-metric
...
Introduce a metric to track kubelet admission failure.
2024-11-06 20:10:33 +00:00
Kubernetes Prow Robot
0edef5aa91
Merge pull request #128447 from bart0sh/PR164-migrate-cadvisor-to-contextual-logging
...
kubelet: Migrate CAdvisor to contextual logging
2024-11-06 20:10:10 +00:00
Anish Shah
d4f05fdda5
Introduce a metric to track kubelet admission failure.
2024-11-06 00:07:17 -08:00
Ed Bartosh
e5cb071c2e
kubelet: Migrate CAdvisor to contextual logging
2024-11-06 01:49:20 +02:00
Tim Allclair
ea53083c14
Don't checkpoint ResizeStatus
2024-11-05 15:48:35 -08:00
Tim Allclair
4a4748d23c
Determine resize status from state in handlePodResourcesResize
2024-11-05 15:41:49 -08:00
Kubernetes Prow Robot
b3cf9c6e5c
Merge pull request #128269 from tallclair/allocated
...
[FG:InPlacePodVerticalScaling] Rework handling of allocated resources
2024-10-25 23:24:52 +01:00
Tim Allclair
321eff34f7
Rework allocated resources handling
2024-10-24 09:27:40 -07:00
Maksym Pavlenko
449f86b0ba
Refactor node shutdown manager
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com >
2024-10-23 17:36:22 -07:00
Tim Allclair
53aa727708
Checkpoint allocated requests and limits
2024-10-22 11:26:48 -07:00
Kubernetes Prow Robot
a7fcc89ac0
Merge pull request #125936 from sivchari/use-ptr
...
use utils/ptr package instead of utils/pointer
2024-10-07 01:02:04 +01:00
sivchari
4eab3cca0a
use utils/ptr package instead of utils/pointer
...
Signed-off-by: sivchari <shibuuuu5@gmail.com >
2024-10-03 11:33:12 +09:00
Matthieu MOREL
b7248077a9
fix: enable formatter rule from testifylint in module k8s.io/kubernetes
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-09-26 08:19:54 +02:00
Matthieu MOREL
fa0e38981c
fix: enable compares rule from testifylint in module k8s.io/kubernetes
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-09-22 11:20:05 +02:00
Oksana Baranova
2474369227
kubelet: migrate pleg to contextual logging
...
Signed-off-by: Oksana Baranova <oksana.baranova@intel.com >
2024-09-13 12:13:26 +03:00
bells17
1298c8a5fe
csi-translation-lib: Support structured and contextual logging
2024-07-18 14:01:27 +09:00
Matthieu MOREL
f014b754fb
fix: enable empty and len rules from testifylint on pkg package
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com >
2024-07-06 23:15:43 +00:00
Stephen Kitt
3f36c83c68
Switch to stretchr/testify / mockery for mocks
...
testify is used throughout the codebase; this switches mocks from
gomock to testify with the help of mockery for code generation.
Handlers and mocks in test/utils/oidc are moved to a new package:
mockery operates package by package, and requires packages to build
correctly; test/utils/oidc/testserver.go relies on the mocks and fails
to build when they are removed. Moving the interface and mocks to a
different package allows mockery to process that package without
having to build testserver.go.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2024-06-20 19:42:53 +02:00
Kubernetes Prow Robot
e6616033cb
Merge pull request #120844 from bzsuni/cleanup/sets/kubelet
...
[kubelet] Use a generic Set instead of a specified Set
2024-06-14 09:09:17 -07:00
Kubernetes Prow Robot
f057f2de1c
Merge pull request #124956 from TommyStarK/remove-deprecated-otel-noop-tracer
...
cmd/kubelet: remove deprecated otel NewNoopTracerProvider
2024-06-06 17:05:34 -07:00
Kubernetes Prow Robot
009a291573
Merge pull request #124677 from HirazawaUi/add-const-ContainerStatusUnknown
...
kubelet: Use constant replace same value variables of the ContainerStateTerminated Reason field
2024-06-06 17:05:23 -07:00
Kubernetes Prow Robot
a8d51f4f05
Use a generic Set instead of a specified Set in kubelet
...
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io >
2024-06-04 14:25:43 +08:00
TommyStarK
c0ed4972ac
kubelet: remove deprecated otel NewNoopTracerProvider
...
Signed-off-by: TommyStarK <thomasmilox@gmail.com >
2024-05-22 17:38:20 +02:00
Sascha Grunert
2aa9e76be1
Move pkg/kubelet/cri/remote to cri-client
...
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
2024-05-14 10:58:18 +02:00
Sascha Grunert
9c712466f6
Make remote runtime and image service logging independent
...
It's now possible to pass around the `*klog.Logger` which can also be
`nil` to disable logging at all.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
2024-05-08 10:32:21 +02:00
HirazawaUi
7a4531c5ba
add ContainerStatusUnknown constant
2024-05-03 00:27:19 +08:00
Marek Siarkowicz
3ee8178768
Cleanup defer from SetFeatureGateDuringTest function call
2024-04-24 20:25:29 +02:00
Kubernetes Prow Robot
ef2c682635
Merge pull request #122082 from carlory/remove-keep-terminated-pod-volumes
...
keep-terminated-pod-volumes flag on kubelet is removed
2024-04-17 23:59:54 -07:00
Stephen Kitt
6bf667af06
Switch from golang/mock to uber-go/mock
...
See https://github.com/golang/mock#gomock : golang/mock is no longer
maintained, and should be replaced by go.uber.org/mock.
This allows golang/mock to be dropped from the status and vendored
fields in unwanted-dependencies.json.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2024-03-07 09:12:16 +01:00
carlory
b47c73ee26
keep-terminated-pod-volumes flag on kubelet is removed
2024-03-01 18:42:15 +08:00
Maksym Pavlenko
ae0a813be1
Fix tests after rebase
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com >
2024-02-16 16:02:10 -08:00
Maksym Pavlenko
d9e2487d0c
Add PodLogsPath to kubelet config
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com >
2024-02-16 09:55:59 -08:00
KubeKyrie
9860e12d6e
expected and actual field position adjustment
...
Signed-off-by: KubeKyrie <shaolong.qin@daocloud.io >
2024-01-13 12:16:14 +08:00
Kubernetes Prow Robot
2b1ccec47e
Merge pull request #122087 from fatsheep9146/fix-kubelet-trace-broke
...
fix kubelet trace broke in 1.28
2024-01-04 17:59:39 +01:00
Davanum Srinivas
d621e09a52
remove unused GetRawContainerInfo
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2023-12-15 05:56:22 -08:00
Ziqi Zhao
51495bb4c5
optimize the unit test
...
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com >
2023-12-05 08:02:03 +08:00
Ziqi Zhao
69c40a3396
fix lints
...
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com >
2023-12-02 19:37:49 +08:00
Ziqi Zhao
24c4d6f7c9
add unit test for kubelet trace
...
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com >
2023-12-02 17:09:01 +08:00
Taahir Ahmed
1ebe5774d0
kubelet: Support ClusterTrustBundlePEM projections
2023-11-03 11:40:48 -07:00
Kubernetes Prow Robot
e1824b6a47
Merge pull request #117615 from aheng-ch/checkpoint
...
Fix: do not assign an empty value to the resource (CPU or memory) if it's not defined in the container
2023-10-24 00:30:08 +02:00
Kubernetes Prow Robot
4fd8bd9975
Merge pull request #118568 from qiutongs/node-startup-latency
...
Create a node startup latency tracker
2023-09-15 13:00:12 -07:00
Qiutong Song
d3eb082568
Create a node startup latency tracker
...
Signed-off-by: Qiutong Song <songqt01@gmail.com >
2023-09-11 05:54:25 +00:00
Sohan Kunkerkar
d5690f12b6
pkg/kubelet: allow sandbox image pinning from CRI
...
As part of this change, the code responsible for managing the sandbox
image within the kubelet has been removed. Previously, the kubelet used
to prevent sandbox image from the garbage collection process. However,
with this update, the responsibility of managing the sandbox containers
has been shifted to the CRI implementation itself. By allowing sandbox
image pinning from CRI, we improve efficiency and simplify the kubelet's
interaction with the container runtime. As a result, the kubelet can now
rely on the container runtime's built-in mechanisms for sandbox container
lifecycle management.
Signed-off-by: Sohan Kunkerkar <sohank2602@gmail.com >
2023-08-29 15:34:51 -04:00
Shiming Zhang
e6bdd224c1
Add HostIPs for kubelet
2023-07-14 09:35:30 +08:00
cyclinder
8e4228a8c1
remove CSI-migration gate
2023-06-04 18:40:17 +08:00