Commit Graph

128234 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
48dce2e9b3
Merge pull request #129776 from saschagrunert/cni-plugins-1.6.2
Update CNI plugins to v1.6.2 and avoid using k8s-artifacts-cni bucket
2025-01-28 07:29:26 -08:00
Lubomir I. Ivanov
b04e1b80be kubeadm: use the v1beta4 EtcdAPICall timeout for etcd calls
v1beta4 added the Timeouts struct and a EtcdAPICall timeout
field, but it was never used in the etcd client calls.

This is a bug, so it should be fixed, we also reduced
the timeout from 200 seconds exponentional backoff to 2 minute
linear default timeout.
2025-01-28 17:27:05 +02:00
Maciej Szulik
1fa995224a
Update scale sub-resource to return the same error everywhere
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-01-28 15:42:08 +01:00
Kubernetes Prow Robot
fbdba41742
Merge pull request #129853 from saschagrunert/crictl-github
Use GitHub release for downloading `crictl`
2025-01-28 06:15:24 -08:00
Sascha Grunert
9d893aed0c
Use GitHub release for downloading crictl
Pull the artifacts directly from GitHub instead of the
`k8s-artifacts-cri-tools` bucket.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-01-28 14:00:02 +01:00
Kubernetes Prow Robot
dba9475d5b
Merge pull request #129716 from chrischdi/pr-ControlPlaneKubeletLocalMode-beta
kubeadm: Promote ControlPlaneKubeletLocalMode feature gate to beta
2025-01-28 04:59:23 -08:00
Lukasz Szaszkiewicz
601c0e359d cacher: decrease the running time of TestConsistentReadFallback 2025-01-28 13:40:09 +01:00
Lukasz Szaszkiewicz
cfd6d9a2b4 cacher/cacher_whitebox_test: newTestCacherWithoutSyncing allow passing a clock 2025-01-28 13:40:05 +01:00
Jordan Liggitt
88090c4973
prevent deletionTimestamp from moving into the past 2025-01-27 23:25:27 -05:00
Kubernetes Prow Robot
2bda5dd8c7
Merge pull request #129656 from vinayakankugoyal/kep2862beta
KEP-2862: Graduate to BETA.
2025-01-27 19:05:23 -08:00
vivzbansal
cfa0349159 Update validation code 2025-01-28 00:55:55 +00:00
Kubernetes Prow Robot
956eb9b0a4
Merge pull request #129843 from saschagrunert/dmesg-cleanup
Cleanup running dmesg process in `local-up-cluster.sh`
2025-01-27 11:55:29 -08:00
Kubernetes Prow Robot
964e5e0f19
Merge pull request #129596 from cici37/cvTest
Add tests for CEL library with compatible version
2025-01-27 11:55:22 -08:00
vivzbansal
c31b1b3332 Resolved some review comments 2025-01-27 19:46:55 +00:00
vivzbansal
c479f007d8 Update field to use feature gate 2025-01-27 19:46:55 +00:00
vivzbansal
ab964a776c Fix e2e tests failure 2025-01-27 19:46:55 +00:00
vivzbansal
5889da1bbc Resolved latest review comments 2025-01-27 19:46:54 +00:00
vivzbansal
242dec3e34 Updated some unit tests and resolved some review comments 2025-01-27 19:46:54 +00:00
vivzbansal
5ed5732fa2 Refactored status manager code of updatePodFromAllocation 2025-01-27 19:46:54 +00:00
vivzbansal
8fa8277908 Added some unit tests 2025-01-27 19:46:54 +00:00
vivzbansal
2ba61325f6 Fix e2e test error due to ContainersToUpdate map not created 2025-01-27 19:46:54 +00:00
Anish Shah
9a5c57817a test: pod-resize tests for sidecar containers 2025-01-27 19:46:54 +00:00
vivzbansal
6c5cf68722 Resolved latest review comments 2025-01-27 19:46:33 +00:00
vivzbansal
6cf5b80c64 Fix some unit test error 2025-01-27 19:42:14 +00:00
vivzbansal
1cf4587277 Fix build error 2025-01-27 19:42:14 +00:00
vivzbansal
1eb966cb45 Added unit test for sidecar containers in TestValidatePodResize 2025-01-27 19:42:13 +00:00
vivzbansal
a0d3cb0a2c Added proper validation msg when non-sidecar containers are resized 2025-01-27 19:42:13 +00:00
vivzbansal
591b0f547a Fix issue of pod spec mismatch if there is any non-restarble init container present 2025-01-27 19:42:13 +00:00
vivzbansal
5d5e903e27 Revert e2e tests added for sidecar 2025-01-27 19:42:13 +00:00
vivzbansal
3885d2f8ab Added sidecar support in ValidatePodResize and dropNonResizeUpdates 2025-01-27 19:42:13 +00:00
vivzbansal
cdddaed841 Added sidecar support in and 2025-01-27 19:42:13 +00:00
vivzbansal
34ddb91f18 Fix some unit tests error 2025-01-27 19:42:13 +00:00
vivzbansal
0e392f9017 Disable e2e test for now 2025-01-27 19:42:13 +00:00
vivzbansal
d1fac494f4 resolve merge conflicts 2025-01-27 19:42:13 +00:00
Kubernetes Prow Robot
e07aeb7c8b
Merge pull request #129330 from pohly/log-client-go-transport
client-go/transport: structured, contextual logging
2025-01-27 09:01:23 -08:00
Sascha Grunert
5742f3deeb
Cleanup running dmesg process in local-up-cluster.sh
We have to cleanup the background job after the script otherwise we will
end up having them hanging around.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-01-27 17:44:24 +01:00
Christian Schlotter
b3e1d57339
kubeadm: Promote ControlPlaneKubeletLocalMode feature gate to beta 2025-01-27 15:41:00 +01:00
Itamar Holder
617c094435 Add an e2e test
Signed-off-by: Itamar Holder <iholder@redhat.com>
2025-01-27 15:44:18 +02:00
Kubernetes Prow Robot
3f26d00557
Merge pull request #129751 from pacoxu/EfficientWatchResumption
remove GAed EfficientWatchResumption
2025-01-27 04:51:22 -08:00
Maciej Skoczeń
bd8dee9637 Improve Goroutines metric calls in parallelizer.Until 2025-01-27 12:01:17 +00:00
Itamar Holder
54500bfe69 cadvisor_provider, unit tests: ensure container-level metrics are collected
Signed-off-by: Itamar Holder <iholder@redhat.com>
2025-01-27 13:13:17 +02:00
Itamar Holder
ceeba21d3d cadvisor_provider, unit test: Add swap stats to cadvisor CPU and Memory stats
Signed-off-by: Itamar Holder <iholder@redhat.com>
2025-01-27 13:13:17 +02:00
Itamar Holder
c111266609 cadvisor_provider, bugfix: Add swap stats to CPU and Memory stats
Signed-off-by: Itamar Holder <iholder@redhat.com>
2025-01-27 13:13:17 +02:00
Itamar Holder
e6c19f315f cri_provider, unit tests: ensure container-level metrics are collected
Signed-off-by: Itamar Holder <iholder@redhat.com>
2025-01-27 13:13:17 +02:00
Itamar Holder
748b52a130 cri_provider, bugfix: Add cadvisor container stats
Without this fix, when CRI stats provided collects cadvisor
stats, pod swap stats are being collected but corresponding
container swap stats are not. This commit fixes this.

Signed-off-by: Itamar Holder <iholder@redhat.com>
2025-01-27 13:13:17 +02:00
Patrick Ohly
a85f489b28 client-go/transport: structured, contextual logging
The revised logging emits one log entry at the start of
round-tripping ("Request") and another at the end ("Response"). This avoids the
risk that related output gets interleaved by other output.

No API changes are necessary. A contextual logger is picked up from the context
of the request that is being handled. The verbosity level of that logger is
checked to determine what is supposed to be logged. This enables reducing log
details on a by-request basis by storing a `logger.V(1)` in the context of the
request.

As before, logging only gets injected into request processing at -v6 or higher,
so normally there is no additional overhead.
2025-01-27 09:45:04 +01:00
Sharath P J
44ca3b3654 Passed context for Wait methods in integration test utils 2025-01-27 09:48:36 +05:30
Kubernetes Prow Robot
7140b4910c
Merge pull request #129781 from dom4ha/kubernetes-contrib
Add dom4ha to SIG Scheduling reviewers
2025-01-26 08:03:21 -08:00
Kubernetes Prow Robot
d36322f8d7
Merge pull request #129815 from dims/linter-to-ensure-go-cmp/cmp-is-used-only-in-tests
Linter to ensure go-cmp/cmp is used ONLY in tests
2025-01-25 15:53:21 -08:00
Kubernetes Prow Robot
03bf94bac0
Merge pull request #129808 from soltysh/port-forward_timeout
e2e: bump port-forward timeout
2025-01-25 09:15:22 -08:00