Commit Graph

128084 Commits

Author SHA1 Message Date
Marek Siarkowicz
4a5bbc4c15 Flip SeparateCacheWatchRPC feature gate to false and deprecate it.
Watch requests to etcd are mapped to a single stream that has a limited throughput.
By opening a lot of concurrent watch requests to single resource, users
could starve other watches from getting any events.

Separating the RPC was meant to protect the watch opened by cache.
However, as we are no longer planning to allow users to open watch directly to etcd,
the flag is not needed.
2025-01-31 14:08:15 +01:00
Kubernetes Prow Robot
295ed0a607
Merge pull request #129901 from bart0sh/PR165-migrate-sysctl-to-contextual-logging
kubelet: Migrate pkg/kubelet/sysctl to contextual logging
2025-01-31 01:52:57 -08:00
Kubernetes Prow Robot
0a62cb2209
Merge pull request #129914 from soltysh/expand_portfowrad_errors
e2e: expand error conditions when test-ing port-forward
2025-01-30 21:33:23 -08:00
Abhishek Kr Srivastav
f6b527cb54 Additional timeout to receive all watchEvents 2025-01-31 10:27:15 +05:30
Kubernetes Prow Robot
4bf6cdb60c
Merge pull request #129554 from zylxjtu/bootid
Add the check of node rebooting in windows reboot_node e2e test
2025-01-30 17:33:23 -08:00
Kubernetes Prow Robot
0e9ca10eeb
Merge pull request #129504 from felipeagger/cleanup/ckpt-pod-alloc-state-mem
Cleanup Kubelet Checkpointing: Refactor state mem
2025-01-30 13:05:33 -08:00
Kubernetes Prow Robot
4e54a67d57
Merge pull request #128679 from ffromani/unshare-containermap-among-managers-cleanup
node: cm: use maps.Clone instead of reinvent it
2025-01-30 13:05:25 -08:00
Kubernetes Prow Robot
cec0492ddf
Merge pull request #129913 from mimowo/fix-remaining-integration-test
Fix the remaining flaky integration tests in Job controller
2025-01-30 11:07:23 -08:00
Maciej Szulik
4619a89eba
e2e: expand error conditions when test-ing port-forward
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-01-30 19:07:28 +01:00
Michal Wozniak
0d5d714c2a Fix the remaining flaky integration tests in Job controller 2025-01-30 18:20:34 +01:00
Kubernetes Prow Robot
59f3aa1e34
Merge pull request #129894 from mimowo/fix-flaky-job-controller-test
Fix the flaky Job integration tests
2025-01-30 08:49:30 -08:00
Kubernetes Prow Robot
79addb569b
Merge pull request #128925 from richabanker/zpages-cleanup
Move zpages common code to an httputil package
2025-01-30 08:49:23 -08:00
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