Commit Graph

127872 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
547654a8a1
Merge pull request #129813 from yongruilin/golangci-featuregate-add
feat: add a lint rule to prevent Add unversioned featuregate
2025-01-29 16:41:22 -08:00
Vinayak Goyal
ce7d2130ad Fix kubelet_authz_test.go 2025-01-29 23:06:56 +00:00
Kubernetes Prow Robot
a8ef3639f9
Merge pull request #129568 from deads2k/tighten-fifo-interface
create RealFIFO implementation
2025-01-29 14:31:23 -08:00
zylxjtu
f891092b87 Add the check of node rebooting in windows rebootnode test 2025-01-29 21:06:04 +00:00
David Eads
a9aab298b4 switch to using the real FIFO 2025-01-29 15:45:29 -05:00
David Eads
24b43ea96e make a real FIFO implementation 2025-01-29 15:45:29 -05:00
Kubernetes Prow Robot
f05b5dddb8
Merge pull request #129870 from yongruilin/fix-componentstatus-500
chore: use NewNotFound error for missing components
2025-01-29 12:09:29 -08:00
Kubernetes Prow Robot
87defb5fb1
Merge pull request #129242 from tallclair/windows-mkdir
[windows] Don't chmod existing directory in MkdirAll
2025-01-29 12:09:22 -08:00
Tim Allclair
424c7ca7e5 Remove unused ClearState function 2025-01-29 12:04:40 -08:00
Michal Wozniak
8f11a3b367 WIP: fix the flaky Job integration tests 2025-01-29 20:23:50 +01:00
Kubernetes Prow Robot
f422a58398
Merge pull request #129881 from swatisehgal/remove-flaky-label
node: e2e: Remove flaky label as device plugin reboot test is deflaked
2025-01-29 10:51:29 -08:00
Kubernetes Prow Robot
261236b9a3
Merge pull request #129810 from pohly/dra-test-driver-examples
DRA: fix test-driver examples
2025-01-29 10:51:22 -08:00
Samuel Davidson
7936d64e03 Replace IsExternalSigner boolean with ExtendedSigningDuration throughout apiserver to ensure consistent token signing length between local and external token signing. 2025-01-29 17:49:22 +00:00
Kubernetes Prow Robot
2973b4b99a
Merge pull request #129789 from SergeyKanzhelev/updateCriApiReadme
update of CRI API readme file
2025-01-29 08:03:23 -08:00
Lubomir I. Ivanov
f310ac03f4 kubeadm: graduate WaitForAllControlPlaneComponents to Beta
- Set the feature gate to Beta and enabled by default.
- Make sure that the source of truth for which address/port
to use for a component health check comes from the respective
component static Pod manifest. That is done to comply
with any user --patches that are applied on top
of the ClusterConfiguration.
2025-01-29 16:07:20 +02:00
Kubernetes Prow Robot
3bc8f01c74
Merge pull request #129878 from neolit123/revert-129716-pr-ControlPlaneKubeletLocalMode-beta
Revert "kubeadm: Promote ControlPlaneKubeletLocalMode feature gate to beta"
2025-01-29 03:51:23 -08:00
Swati Sehgal
82f0303f89 node: e2e: Remove flaky label as device plugin reboot test is deflaked
With the device plugin node reboot test fixed, we can see in testgrid
[node-kubelet-containerd-flaky](https://testgrid.k8s.io/sig-node-containerd#node-kubelet-containerd-flaky)
that the test is passing consitently and we can remove the flaky label.

With the test not flaky anymore, we can validate new PRs against it
and ensure we don't cause regressions.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2025-01-29 11:12:40 +00:00
Lubomir I. Ivanov
0c34b706b2
Revert "kubeadm: Promote ControlPlaneKubeletLocalMode feature gate to beta" 2025-01-29 12:36:42 +02:00
Sergey Kanzhelev
9ac25f1d9e update of CRI API readme file 2025-01-29 01:41:01 +00:00
yongruilin
bde75d6020 chore: use NotFound error for missing components
In this way, the return status could be 404 instead of 500
2025-01-28 17:29:30 -08:00
googs1025
8c80d384b2 feature: add scheduler queuesort plugins integration test 2025-01-29 08:54:43 +08:00
googs1025
ed826dddfe fix(dra plugin): when there is no resourceclaim, return directly 2025-01-29 08:47:52 +08:00
Kubernetes Prow Robot
8294abc599
Merge pull request #128998 from bart0sh/PR165-migrate-oom-to-contextual-logging
kubelet: Migrate pkg/kubelet/oom to contextual logging
2025-01-28 13:33:22 -08:00
yongruilin
8a0937c034 feat: add a lint rule to prevent Add unversioned featuregate 2025-01-28 09:37:43 -08:00
Kubernetes Prow Robot
ed9572d9c7
Merge pull request #129858 from soltysh/scale_subresource_test
Add a test ensuring all /scale sub-resources return table
2025-01-28 09:09:24 -08:00
Maciej Szulik
509bbed098
Add a test ensuring all /scale sub-resources return table
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-01-28 16:54:02 +01:00
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
Kubernetes Prow Robot
2bda5dd8c7
Merge pull request #129656 from vinayakankugoyal/kep2862beta
KEP-2862: Graduate to BETA.
2025-01-27 19:05:23 -08: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
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