Commit Graph

127967 Commits

Author SHA1 Message Date
Ayato Tokubi
da5a76bd39 Fix flaky test for container life cycle
Signed-off-by: Ayato Tokubi <atokubi@redhat.com>
2025-01-30 16:23:51 +00:00
Filipe Xavier
f7df3ec07f
move log restored state to better location. 2025-01-30 12:06:12 -04:00
Kubernetes Prow Robot
6ef2458aaa
Merge pull request #129859 from neolit123/1.33-use-etcdapi-timeout
kubeadm: use the v1beta4 EtcdAPICall timeout for etcd calls
2025-01-30 07:33:30 -08:00
Kubernetes Prow Robot
586f0fad5c
Merge pull request #125046 from tklauser/min-max-builtins
Use Go 1.21 min/max builtins
2025-01-30 07:33:23 -08:00
Ed Bartosh
829fa63b5b DRA: fix allocation mode All
`All` allocation mode should mean 'at least one' for DRA.
Allocation should fail if `All` devices requested and none found.
2025-01-30 16:34:25 +02:00
Francesco Romani
e766b04ade node: cm: use maps.Clone instead of reinvent it
As pointed out in https://github.com/kubernetes/kubernetes/pull/128657#discussion_r1832973928

Signed-off-by: Francesco Romani <fromani@redhat.com>
2025-01-30 14:45:04 +01:00
Kubernetes Prow Robot
209538059e
Merge pull request #129885 from macsko/default_topology_spreading_scheduler_perf_test_case
Add scheduler_perf test case for default PodTopologySpreading constraints
2025-01-30 05:05:32 -08:00
Kubernetes Prow Robot
0e7298d54d
Merge pull request #129807 from pjsharath28/pass-context-to-tests
Pass context for Wait methods in integration test utils
2025-01-30 05:05:25 -08:00
Kubernetes Prow Robot
07cc2308c6
Merge pull request #128836 from pohly/dra-scheduler-perf-enablement
DRA: enable performance tracking with scheduler_perf
2025-01-30 03:07:23 -08:00
Patrick Ohly
8cc74e8a26 client-go informers: provide ListWatch *WithContext variants
For compatibility reasons, the old functions without the ctx parameter still
get generated, now with context.Background instead of context.TODO. In practice
that code won't be used by the client-go reflector code because it prefers
the *WithContext functions, but it cannot be ruled out that some other code
only supports the old fields.
2025-01-30 11:59:34 +01:00
Patrick Ohly
6688adae14 client-go + apimachinery watch: context support
The Lister and Watcher interfaces only supported methods without context, but
were typically implemented with client-go API calls which need a context. New
interfaces get added using the same approach as in
https://github.com/kubernetes/kubernetes/pull/129109.
2025-01-30 11:54:39 +01:00
Maciej Skoczeń
274ad0391f Add scheduler_perf test case for default PodTopologySpreading constraints 2025-01-30 08:55:24 +00:00
Ed Bartosh
71b9114840 kubelet: Migrate pkg/kubelet/sysctl to contextual logging 2025-01-30 10:31:58 +02:00
Kubernetes Prow Robot
814e2c89a8
Merge pull request #128792 from vivzbansal/sidecar-3
Added unit test for resize policy validation check of sidecar containers
2025-01-29 18:23:22 -08:00
Kubernetes Prow Robot
76506f1d87
Merge pull request #129816 from sambdavidson/master
Improve SA max token expiry with external signer logic, and plumb extended expiry duration.
2025-01-29 16:41:29 -08:00
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
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