Dr. Stefan Schimanski
89bafb2fed
controlplane/apiserver: unify options package name
...
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com >
2024-05-01 20:08:20 +02:00
Dr. Stefan Schimanski
1aa24b0951
Make linter happy
...
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com >
2024-05-01 19:44:20 +02:00
Dr. Stefan Schimanski
1d0c72d15a
aggregator: move construction to generic controlplane
...
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com >
2024-05-01 19:44:20 +02:00
Kubernetes Prow Robot
84a6ed4862
Merge pull request #124638 from sttts/sttts-kube-apiserver-config-split-up
...
kube-apiserver: split up config creation into generic and non-generic part
2024-05-01 08:51:39 -07: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
Davanum Srinivas
efdb2961b6
drop unused code pointed out by linter
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-05-01 09:03:57 -04:00
Davanum Srinivas
bf268f02a3
Remove gcp in-tree cloud provider and credential provider
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-05-01 09:03:53 -04:00
Mikalai Radchuk
80b5dcc1df
admission-control: fix error message formatting
...
Signed-off-by: Mikalai Radchuk <radchuk.m@gmail.com >
2024-05-01 14:19:03 +02:00
Dr. Stefan Schimanski
d8c5f71403
kube-apiserver: split up config creation into generic and non-generic part
...
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com >
2024-05-01 11:28:25 +02: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
Gabe
9a8ec13505
make linter happy
2024-04-30 12:06:26 +00: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
Dan Winship
05e14799db
Cache EndpointSlices directly rather than copying the data
...
Given that we are no longer modifying any of the EndpointSlice data,
we can just work with pointers to the actual EndpointSlice objects.
(The informer cache is already holding on to them, so they'll be
taking up memory whether or not the EndpointSliceCache points to
them.)
2024-04-29 17:07:21 -04:00
Dan Winship
f956fdf240
Don't sort endpointSliceData objects
...
EndpointSliceCache cached EndpointSlices into endpointSliceData
objects, in part so it could sort the ports and addresses, so that if
those fields got reordered without otherwise changing, it would not
trigger an OnEndpointSliceUpdate().
However, the EndpointSlice controller and mirroring controller always
output the ports in the same order, and they never reorder the
addresses of an existing slice unless the set of addresses actually
changed. So in the normal case, sorting the data adds more work than
it saves.
2024-04-29 17:07:21 -04: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
Gabe
4e99ada05f
Filter gated pods before calling isPodWorthRequeueing
2024-04-29 16:54:40 +00: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
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
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
wackxu
a4bfaae8a4
implement QueueingHint in TaintToleration
2024-04-29 07:18:35 +00:00
Christoph Mewes
e8b03d92d0
codegen
2024-04-29 09:14:59 +02: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
Iceber Gu
498bebee6d
fix the version order of 'discovery.k8s.io'
...
Signed-off-by: Iceber Gu <caiwei95@hotmail.com >
2024-04-29 14:31:58 +08: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
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
Kubernetes Prow Robot
38c2a963b4
Merge pull request #123984 from carlory/volume-remove-cloud-provider
...
Remove cloud provider dependency from volume host and volume controllers
2024-04-28 02:54:14 -07:00
liyuerich
98dfaed4be
drop deprecated workqueue NewNamed package
...
Signed-off-by: liyuerich <yue.li@daocloud.io >
2024-04-28 14:04:51 +08:00
Kubernetes Prow Robot
0b9118b583
Merge pull request #124577 from sttts/sttts-split-out-system-namespaces
...
prefactoring: generic controlplane: split out SystemNamespaces
2024-04-27 07:53:10 -07:00
Dr. Stefan Schimanski
3daae717c3
controlplane: split out SystemNamespaces
...
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com >
2024-04-27 14:19:56 +02:00
Antonio Ojea
dbfa387922
tag service.spec.TrafficDistribution field as alpha
2024-04-27 11:19:06 +00:00
Kensei Nakada
c72b688e12
support scheduler_plugin_execution_duration_seconds in scheduler_perf
2024-04-27 08:22:53 +00:00
Daman Arora
3363ec4ba1
pkg/proxy/iptables: track ct state invalid dropped packets
...
Track packets dropped by proxy which were marked invalid by conntrack
using nfacct netfilter extended accounting infrastructure.
Signed-off-by: Daman Arora <aroradaman@gmail.com >
2024-04-27 12:25:14 +05:30
Daman Arora
6b5291654f
pkg/proxy/util/nfacct: utility to interact with nfacct subsystem
...
nfacct is netfilter's accounting subsystem. This utility allows
interactions with the subsystem using lower level netlink API.
Signed-off-by: Daman Arora <aroradaman@gmail.com >
2024-04-27 12:17:50 +05:30
Kubernetes Prow Robot
ae8474adcd
Merge pull request #124557 from danwinship/metrics-and-stuff
...
kube-proxy metrics cleanup (and stuff)
2024-04-26 18:31:57 -07:00