Commit Graph

49709 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
48dbcf641e Merge pull request #124731 from dims/enforce-the-minimum-kernel-version-6.3-check-for-UserNamespacesSupport-feature
Enforce the Minimum Kernel Version 6.3 for UserNamespacesSupport feature
2024-05-07 18:27:14 -07:00
Kubernetes Prow Robot
41958b3c16 Merge pull request #124626 from danwinship/endpointslicecache
simplify EndpointSliceCache caching
2024-05-07 16:59:42 -07:00
Kubernetes Prow Robot
d2e6c51b05 Merge pull request #123537 from kaisoz/commonize-job-util-functions
Add the util pkg to commonize job util functions
2024-05-07 16:59:28 -07:00
Davanum Srinivas
8597b343fa Enforce the Minimum Kernel Version 6.3 for UserNamespacesSupport feature
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-05-07 16:01:42 -04:00
Kubernetes Prow Robot
e6547701f1 Merge pull request #124681 from jpbetz/field-selector-beta
Promote custom resource field selectors to beta
2024-05-07 10:39:05 -07:00
Kubernetes Prow Robot
e798b9c269 Merge pull request #124714 from sanposhiho/prealloc
scheduler: preallocation for NodeToStatusMap
2024-05-07 07:07:58 -07:00
Tomas Tormo
c856c412b9 Add util pkg to commonize job util functions 2024-05-07 09:27:46 +00:00
Kensei Nakada
9fcd791c01 scheduler: preallocation for NodeToStatusMap 2024-05-07 00:01:24 +00:00
Kubernetes Prow Robot
1dc30bf90f Merge pull request #124600 from alvaroaleman/typed-wq
Use the generic/typed workqueue throughout
2024-05-06 16:18:31 -07:00
Kubernetes Prow Robot
54687f317b Merge pull request #124673 from jpbetz/retry-beta
Promote RetryGenerateName to beta
2024-05-06 15:11:56 -07:00
Joe Betz
d16ff3d77f Promote CRD field selectors to beta 2024-05-06 11:53:03 -04:00
Kubernetes Prow Robot
4d17d30029 Merge pull request #124519 from dims/drop-all-the-providery-things-take-2
Remove gcp in-tree cloud provider and credential providers
2024-05-06 08:03:14 -07:00
Kubernetes Prow Robot
8240d882ab Merge pull request #124500 from carlory/scheduler-deprecate-non-csi-plugins
scheduler deprecates non-csi volumelimit plugins
2024-05-06 08:03:04 -07:00
Kubernetes Prow Robot
2c7bda528f Merge pull request #124590 from xrstf/fix-optional-comment
Fix +optional in comment for persistentVolumeClaimRetentionPolicy
2024-05-06 06:58:33 -07:00
Kubernetes Prow Robot
fdefcb43d1 Merge pull request #124589 from carlory/dra-resourceclaim-controller
the resourceclaim controller forgot to wait for podSchedulingSynced and templatesSynced
2024-05-06 06:58:26 -07:00
carlory
76aa289608 bugfix: resourceclaim forgot to wait for podSchedulingSynced and templatesSynced 2024-05-06 16:56:16 +08:00
Kubernetes Prow Robot
d83cd48e5e Merge pull request #124131 from zyjhtangtang/master
Correct variable names in EndpointSliceMirroring controller
2024-05-05 14:40:13 -07:00
Kubernetes Prow Robot
ade0d2140a Merge pull request #124578 from sanposhiho/scheduler_perf_scheduler_plugin_execution_duration_seconds
support `scheduler_plugin_execution_duration_seconds` in scheduler_perf
2024-05-05 06:40:44 -07:00
Alvaro Aleman
6d0ac8c561 Use the generic/typed workqueue throughout
This change makes us use the generic workqueue throughout the project in
order to improve type safety and readability of the code.
2024-05-04 14:33:12 -04:00
Kubernetes Prow Robot
1ab06efe92 Merge pull request #124531 from irsl/master
gitRepo volume: directory must be max 1 level deep
2024-05-03 17:17:02 -07:00
Patryk Małek
8dbeaa5786 fix(api): make LocalObjectReference.Name and HostAlias.IP required (#124553)
* fix(api): LocalObjectReference Name a "" default and make HostAlias.IP required

* chore(api): add LocalObjectReference comment

* chore(api): add omitempty to LocalObjectReference's Name

* chore(api): add kubebuilder:default annotation

* chore(api): ./hack/update-codegen.sh
2024-05-03 15:21:14 -07:00
Joe Betz
1b59f3678f Promote RetryGenerateName to beta 2024-05-03 15:20:10 -04:00
Davanum Srinivas
7f9a0ef5d2 Fixes from review by Jan Šafránek/Andrew/Michael
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-05-03 15:11:36 -04:00
Kubernetes Prow Robot
f97ac220fd Merge pull request #124666 from chengjoey/ut-for-123465
add integration test for pod with pvc has node-affinity to non-existent/illegal nodes
2024-05-03 05:50:00 -07:00
joey
a56cc6b100 add integration test for pod with pvc has node-affinity to non-existent/existent nodes
Signed-off-by: joey <zchengjoey@gmail.com>
2024-05-03 19:45:31 +08:00
Kubernetes Prow Robot
de662bb8e0 Merge pull request #124669 from gabesaba/test_gated
Add unit test which checks QueuedPodInfo.Gated matches its source
2024-05-02 05:54:25 -07:00
Gabe
9a8197d0c3 Add unit test which checks Gated is set/unset properly 2024-05-02 10:41:19 +00:00
Imre Rad
c7846fd24c gitRepo volume: directory must be max 1 level deep
More details on Hackerone #2266560
2024-05-02 08:26:26 +00:00
Davanum Srinivas
7187d9af81 address comments during review
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-05-01 18:01:25 -04:00
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
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
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