Commit Graph

122469 Commits

Author SHA1 Message Date
Claudiu Belu
e90cfb83ed unittests: Fixes unit tests for Windows (part 11)
Currently, there are some unit tests that are failing on
Windows due to various reasons:

- Cannot remove a directory if there's a file open in that directory.
- Paths may have / or \ on Windows.
2024-05-16 12:36:49 +00:00
Kubernetes Prow Robot
e342ab05bb
Merge pull request #124463 from carlory/remove-fg-ConsistentHTTPGetHandlers
remove feature-gate ConsistentHTTPGetHandlers
2024-05-01 07:48:21 -07:00
Kubernetes Prow Robot
29a4812f03
Merge pull request #124080 from claudiubelu/skip-windows-tests
Skip failing Windows tests
2024-05-01 07:48:12 -07:00
Kubernetes Prow Robot
7143856f17
Merge pull request #123756 from saschagrunert/cri-approvers
Sync `cri-api` approvers with kubelet `cri` package
2024-05-01 07:48:03 -07:00
Kubernetes Prow Robot
b041e54e70
Merge pull request #124644 from aroradaman/temp-pod-logs
e2e/network: stream pod logs for debugging
2024-05-01 01:10:24 -07:00
Kubernetes Prow Robot
6abdfb97c0
Merge pull request #124621 from sttts/sttts-controlplane-admission-initializers
kube-apiserver: split admission initializers into generic and non-generic
2024-05-01 01:10:15 -07:00
Kubernetes Prow Robot
b27608875c
Merge pull request #124287 from sanposhiho/tainttoleration
implement QueueingHint in TaintToleration
2024-05-01 00:06:16 -07:00
Daman Arora
d70f96fe22 e2e/network: stream pod logs for debugging
Intermittent logging to understand root cause of
https://github.com/kubernetes/kubernetes/issues/123760

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-05-01 11:27:11 +05:30
Kubernetes Prow Robot
8bd39b8eb1
Merge pull request #123128 from yue9944882/admission-runtime-class-empty-map-fix
Fail admission check upon nil/empty overhead map
2024-04-30 16:30:43 -07:00
Kubernetes Prow Robot
0d8f996aa9
Merge pull request #124450 from muff1nman/handle-nil-k8s-client
apiserver/options: avoid segfault by handling unset core k8s client
2024-04-30 14:36:07 -07:00
Kubernetes Prow Robot
dd68c5f240
Merge pull request #124597 from TessaIO/fix-drain-error-message
fix: add whitespace to drain error message
2024-04-30 11:34:33 -07:00
Kubernetes Prow Robot
108fd24f51
Merge pull request #123396 from cyclinder/apiserver_datarace
Fix data race in apiserver mux handler
2024-04-30 09:24:14 -07:00
Kubernetes Prow Robot
02365ecec1
Merge pull request #124610 from wojtek-t/deflake_cacher_tests
Deflake watchcache tests
2024-04-30 04:45:27 -07:00
Kubernetes Prow Robot
fc24cfc660
Merge pull request #124593 from carlory/dra-scheduler
use slices library instead of custom function
2024-04-30 04:45:14 -07:00
Kubernetes Prow Robot
79c81fab61
Merge pull request #124620 from sttts/sttts-controlplane-cosmetics
controlplane: cosmetics
2024-04-30 01:30:16 -07:00
Kubernetes Prow Robot
d0fddf143b
Merge pull request #122148 from pohly/controllers-context-support
controllers + apiserver: enhance context support
2024-04-30 01:30:09 -07:00
Kubernetes Prow Robot
031e6c3f4d
Merge pull request #124613 from sttts/sttts-generic-api-versions
generic controplane: split aggregator API priorities
2024-04-29 22:50:33 -07:00
Kubernetes Prow Robot
6381e6504a
Merge pull request #124572 from aojea/alpha_tag
tag TrafficDistribution tests to avoid running on clusters without th…
2024-04-29 14:46:59 -07:00
Kubernetes Prow Robot
1fd835ce59
Merge pull request #123398 from ffromani/remove-legacy-checkpoint
node: devicemgr: remove obsolete pre-1.20 checkpoint file support
2024-04-29 14:46:53 -07:00
Dr. Stefan Schimanski
acbb89d9b9
kube-apiserver: split admission initializers into generic and non-generic
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-29 23:28:42 +02:00
Kubernetes Prow Robot
c1ef6c44f5
Merge pull request #124562 from sbueringer/pr-bump-sigs-yaml
Bump sigs.k8s.io/yaml to v1.4.0
2024-04-29 12:51:32 -07:00
Kubernetes Prow Robot
84ac8a1bd2
Merge pull request #122026 from skitt/sets-go1.21
Use Go 1.21 Ordered and clear for sets
2024-04-29 12:51:18 -07:00
Dr. Stefan Schimanski
b8d7e2edd7
controlplane: cosmetics
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-29 21:24:41 +02:00
Dr. Stefan Schimanski
8c9bad8503
controlplane: return client error
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-29 21:24:41 +02:00
Dr. Stefan Schimanski
be7b6c90bf
Address comments
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-29 21:22:35 +02:00
Patrick Ohly
b92273a760 apiserver + controllers: enhance context support
27a68aee3a introduced context support for events. Creating an event
broadcaster with context makes tests more resilient against leaking goroutines
when that context gets canceled at the end of a test and enables per-test
output via ktesting.

The context could get passed to the constructor. A cleaner solution is to
enhance context support for the apiserver and then pass the context into the
controller's run method. This ripples up the call stack to all places which
start an apiserver.
2024-04-29 20:59:21 +02:00
Kubernetes Prow Robot
b5fc001bba
Merge pull request #124616 from aojea/ccm_logging
kube-up.sh: use log level 4 by default for the controller managers
2024-04-29 11:14:29 -07:00
Patrick Ohly
591855966c sample controller: enhance context support
27a68aee3a introduced context support for events. Creating an event
broadcaster with context makes tests more resilient against leaking goroutines
when that context gets canceled at the end of a test and enables per-test
output via ktesting.

The New method already had a context, therefore no API changes are needed.
2024-04-29 19:13:15 +02:00
Antonio Ojea
ba0dc8d9d5 use log level 4 by default for the controller managers 2024-04-29 16:57:52 +00:00
Kubernetes Prow Robot
72524fa574
Merge pull request #124601 from enj/patch-9
Add aramase to sig-auth-authenticators-reviewers
2024-04-29 09:33:23 -07:00
Kubernetes Prow Robot
dbb7004385
Merge pull request #121256 from liyuerich/workqueue
drop deprecated workqueue NewNamed package
2024-04-29 09:33:05 -07:00
Dr. Stefan Schimanski
03ae7fcbdf
aggregator: split API priority map into generic and non-generic
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-29 16:19:51 +02:00
Kubernetes Prow Robot
a9eded097d
Merge pull request #123917 from DamianSawicki/dns-1-23-0
Update kube-dns and nodelocaldns to 1.23.0
2024-04-29 06:21:41 -07:00
Wojciech Tyczyński
6d9edcc694 Deflake watchcache tests 2024-04-29 15:15:24 +02:00
Kubernetes Prow Robot
bac1a0ce1b
Merge pull request #124532 from aojea/netpol2.0
use a stable release for network policies
2024-04-29 05:15:50 -07:00
Kubernetes Prow Robot
3192f7489d
Merge pull request #123796 from saschagrunert/kube-features-remote-runtime
Decouple `kubelet/cri/remote` package from `pkg/features`
2024-04-29 05:15:41 -07:00
Kubernetes Prow Robot
da890f071b
Merge pull request #123463 from k82cn/cri_grpc_rs
grpc: set localhost Authority to unix client calls
2024-04-29 05:15:32 -07:00
Kubernetes Prow Robot
4946c1fde2
Merge pull request #124483 from ah8ad3/etcd_feature_support
Add FeatureSupportChecker for etcd storage
2024-04-29 03:20:33 -07:00
Kubernetes Prow Robot
3a68b84d8e
Merge pull request #120202 from sttts/sttts-controlplane-config-split
Step 2 – generic controlplane: split server
2024-04-29 02:17:42 -07:00
carlory
06d3cd33b2 use slices library instead 2024-04-29 16:50:53 +08:00
Dr. Stefan Schimanski
3b6d2a66a4
pkg/controlplane: split apart generic server part of instance.go
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-29 10:15:02 +02:00
Kubernetes Prow Robot
c6b6163e2e
Merge pull request #124576 from sttts/sttts-peer-proxy-generic-move
controlplane/apiserver: move peer proxy code to allow generic aggregator construction
2024-04-29 01:11:06 -07:00
ah8ad3
70e65eee46 Add FeatureSupportChecker for etcd storage 2024-04-29 11:23:48 +03:30
wackxu
a4bfaae8a4 implement QueueingHint in TaintToleration 2024-04-29 07:18:35 +00:00
Sascha Grunert
7b14e0e382
Decouple kubelet/cri/remote package from pkg/features
Importing the `k8s.io/kubernetes/pkg/features` package in the remote
runtime implementation makes it harder to separate the functionalities
at some later point in time.

We now decouple them by checking if the feature is enabled directly in
the kubelet service creation path.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-04-29 08:37:02 +02:00
Dr. Stefan Schimanski
c252ebe50c
controlplane/apiserver: move peer proxy code to allow aggregator construction
This reverts commit 0bb6ff5e454cfc99c0b611e22162391eaa31e103.

Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-29 08:13:43 +02:00
Kubernetes Prow Robot
97332c1edc
Merge pull request #124599 from aroradaman/agnhost-2.52
promote agnhost to v2.52
2024-04-28 11:19:35 -07:00
Daman Arora
a6d3a1b4fc promote agnhost to v2.52
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-04-28 22:26:45 +05:30
Dan Winship
f1f390f13b
clean up LocalTrafficDetector construction / tests (#124582)
* LocalTrafficDetector construction and test improvements

* Reorder getLocalDetector unit test fields so "input" args come before "output" args

* Don't pass DetectLocalMode as a separate arg to getLocalDetector

It's already part of `config`

* Clarify test names in preparation for merging

* Merge single-stack/dual-stack LocalTrafficDetector construction

Also, only warn if the *primary* IP family is not correctly configured
(since we don't actually know if the cluster is really dual-stack or
not), and pass the pair of detectors to the proxiers as a map rather
than an array.

* Remove the rest of Test_getDualStackLocalDetectorTuple
2024-04-28 08:51:23 -07:00
TessaIO
487f83500f fix: add whitespace for drain error message
Signed-off-by: ahmed.g <ahmed.g@adjoe.io>
2024-04-28 17:51:06 +02:00