Commit Graph

47210 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
32703dec0f Merge pull request #117623 from skitt/intstr-fromint32-api-machinery
API machinery: use new intstr functions
2023-05-01 11:18:07 -07:00
Kubernetes Prow Robot
540f478774 Merge pull request #117622 from skitt/intstr-fromint32-api
API: use new intstr functions
2023-05-01 11:17:55 -07:00
Stephen Kitt
026e7c7cb3 registry: replace intstr.FromInt with intstr.FromInt32
This touches cases where FromInt() is used on numeric constants, or
values which are already int32s, or int variables which are defined
close by and can be changed to int32s with little impact.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2023-05-01 09:17:45 +02:00
Stephen Kitt
94410ee807 api-machinery: replace intstr.FromInt with intstr.FromInt32
This touches cases where FromInt() is used on numeric constants, or
values which are already int32s, or int variables which are defined
close by and can be changed to int32s with little impact.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2023-05-01 09:16:27 +02:00
Stephen Kitt
4911e9de4a api: replace intstr.FromInt with intstr.FromInt32
This touches cases where FromInt() is used on numeric constants, or
values which are already int32s, or int variables which are defined
close by and can be changed to int32s with little impact.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2023-05-01 09:16:15 +02:00
carlory
da922f0af6 Remove ability to re-enable serving deprecated discoveryv1beta1 APIs 2023-04-30 19:21:46 +08:00
Kubernetes Prow Robot
f47d7f3a16 Merge pull request #117690 from pacoxu/revert-117297-proxy-startup-config
Revert "proxy startup-time config handling cleanup"
2023-04-30 03:08:17 -07:00
Kubernetes Prow Robot
7278eaddca Merge pull request #117661 from carlory/fix-004
Remove ability to re-enable serving deprecated autoscalingapiv2beta APIs
2023-04-29 19:52:23 -07:00
Paco Xu
e28f3de656 Revert "proxy startup-time config handling cleanup" 2023-04-30 09:05:42 +08:00
Kubernetes Prow Robot
8353d4623b Merge pull request #117427 from cbandy/pkg-testing-setenv
Replace os.Setenv with testing.T.Setenv in tests
2023-04-29 08:28:16 -07:00
carlory
944a4cd311 Remove ability to re-enable serving deprecated autoscalingapiv2beta APIs 2023-04-29 16:51:48 +08:00
Kubernetes Prow Robot
d8bdddcab4 Merge pull request #117531 from mfordjody/master
remove validation GCE-ism
2023-04-28 18:28:16 -07:00
Kubernetes Prow Robot
e8130ba572 Merge pull request #117297 from danwinship/proxy-startup-config
proxy startup-time config handling cleanup
2023-04-28 17:32:16 -07:00
Kubernetes Prow Robot
4ca7bcec24 Merge pull request #117665 from carlory/fix-007
Remove ability to re-enable serving deprecated eventv1beta1 APIs
2023-04-28 11:08:27 -07:00
Kubernetes Prow Robot
f2073fff6c Merge pull request #117662 from carlory/fix-005
Remove ability to re-enable serving deprecated batchapiv1beta1 APIs
2023-04-28 11:08:15 -07:00
Kubernetes Prow Robot
51edcd963e Merge pull request #115019 from Nordix/nodeip-as-lbip
Allow node addresses to be used as loadBalancer addresses for proxy-mode=ipvs
2023-04-28 09:14:16 -07:00
Kubernetes Prow Robot
f66e1a3386 Merge pull request #116685 from czybjtu/fix_lease_remove_endpoints
Remove last endpoint for kubernetes Service during graceful shutdown of final kube-apiserver
2023-04-28 06:02:16 -07:00
carlory
f81b49d873 Remove ability to re-enable serving deprecated eventv1beta1 APIs 2023-04-28 14:58:59 +08:00
carlory
48d01d6d9b Remove ability to re-enable serving deprecated batchapiv1beta1 APIs 2023-04-28 14:08:31 +08:00
Kubernetes Prow Robot
7077491f68 Merge pull request #117237 from yulng/cleanpolicy
Remove GA feature gates in 1.28 about network
2023-04-27 20:48:15 -07:00
yulng
0dbeff4b6e remove GA feature gates in 1.28 about network
Signed-off-by: yulng <wei.yang@daocloud.io>
2023-04-28 10:51:37 +08:00
Dan Winship
258c4c4251 Remove duplicated config fields from ProxyServer
Rather than duplicating some of the KubeProxyConfiguration into
ProxyServer, just store the KubeProxyConfiguration itself so later
code can reference it directly.

For the fields that get platform-specific defaults (Mode,
DetectLocalMode), fill the defaults directly into the
KubeProxyConfiguration rather than keeping the original there and the
defaulted version in the ProxyServer.
2023-04-27 15:43:35 -04:00
Dan Winship
9d4f10f5d2 Fix up detect-local-mode validation
Validate the --detect-local-mode value in the API object validation
rather than doing it separately later. Also, remove runtime checks and
unit tests for cases that would be blocked by validation
2023-04-27 15:43:35 -04:00
Kubernetes Prow Robot
b44482a37c Merge pull request #116797 from mengjiao-liu/contextual-looging-scheduler-plugin-podtopologyspread
Migrated `pkg/scheduler/framework/plugins/podtopologyspread` to contextual logging
2023-04-27 12:28:27 -07:00
Kubernetes Prow Robot
a38efaccc0 Merge pull request #116748 from mengjiao-liu/contextual-logging-scheduler-plugin-noderesource
Migrated `pkg/scheduler/framework/plugins/noderesources` to contextual logging
2023-04-27 12:28:15 -07:00
Lars Ekman
5ece6541b8 proxy/ipvs: don't bind nodeips to the dummy device 2023-04-27 21:02:25 +02:00
Lars Ekman
5310305098 proxy/ipvs: add a GetAllLocalAddressesExcept() function 2023-04-27 21:02:20 +02:00
Kubernetes Prow Robot
5170c25609 Merge pull request #116835 from mengjiao-liu/contextual-logging-scheduler-plugin-preemption
Migrated `pkg/scheduler/framework/preemption & defaultpreemption` to use contextual logging
2023-04-27 11:10:16 -07:00
Kubernetes Prow Robot
87f3acf7f6 Merge pull request #115398 from tangwz/add_NodeVolumeLimits_PreFilter
feat(NodeVolumeLimits): return Skip in PreFilter
2023-04-27 01:44:14 -07:00
Mengjiao Liu
7f370d651d Migrated pkg/scheduler/framework/plugins/podtopologyspread to contextual logging 2023-04-27 15:55:09 +08:00
Mengjiao Liu
54e6f609ce Migrated pkg/scheduler/framework/plugins/noderesources to contextual logging 2023-04-27 14:46:13 +08:00
Mengjiao Liu
37a9260d5c Migrate pkg/scheduler/framework/plugins/defaultpreemption/default_preemption.go to use contextual logging 2023-04-27 11:28:19 +08:00
Mengjiao Liu
eeb1399383 Migrated pkg/scheduler/framework/preemption to use contextual logging 2023-04-27 11:28:14 +08:00
Kubernetes Prow Robot
c4f6c47169 Merge pull request #117594 from tosi3k/sched-regression
Fix scheduler performance regression after adding plugin metrics
2023-04-26 07:38:13 -07:00
tangwz
8ed861889a feat(NodeVolumeLimits): return Skip in PreFilter 2023-04-26 20:17:04 +08:00
Antoni Zawodny
28519e240e Fix scheduler performance regression after adding plugin metrics 2023-04-26 14:11:48 +02:00
Sheng Zhan
892ebf2d25 Ensure version "*" is passed instead of "" for all authz checks (#116937)
* ensure version * is passed instead of  for all authz checks

* unexport match function

* remove allversion constant
2023-04-25 09:06:18 -07:00
Kubernetes Prow Robot
3125009dd1 Merge pull request #115487 from tongpu/docs/roleRef_immutable
Add a comment to document that roleRef is immutable
2023-04-25 03:36:27 -07:00
Kubernetes Prow Robot
56e17d6d67 Merge pull request #115168 from HirazawaUi/delte-pkg-apis-other-unused-functions
remove unused not api functions in the pkg/apis directory
2023-04-24 14:23:01 -07:00
Lukas Grossar
d76f5dae67 Add a comment to roleRef to document that it is immutable 2023-04-24 22:35:20 +02:00
Kubernetes Prow Robot
6662b2921a Merge pull request #117488 from mborsz/point
Avoid volume copy in checkAttachableInlineVolume
2023-04-24 12:33:20 -07:00
mfordjody
c3384191ea remove validation GCE-ism
update testing

update testing

update testing

update core and testing

update testing
2023-04-24 14:27:37 +08:00
Kubernetes Prow Robot
b1f901acf4 Merge pull request #117229 from yanggangtony/duplicate-code-schedule
Delete duplicate code in schedule.go
2023-04-22 21:35:14 -07:00
Kubernetes Prow Robot
5f22ab3c5f Merge pull request #117390 from lowang-bh/less-funcations-calls-for-schedule-util
enhancemanet: reduce calculation calls
2023-04-22 20:41:12 -07:00
Kubernetes Prow Robot
25a25e27a9 Merge pull request #110477 from halfcrazy/feat/hostnetwork-fieldsel
support fieldSelector spec.hostNetwork
2023-04-21 18:13:11 -07:00
Kubernetes Prow Robot
7fe63a9b1a Merge pull request #116902 from sourcelliu/cast
Remove unnecessary int type conversion
2023-04-20 19:15:10 -07:00
Kubernetes Prow Robot
9d34ca5b66 Merge pull request #117276 from pacoxu/image-pull-event
kubelet: truncate the precision at a millisecond for image pull event message
2023-04-20 17:45:10 -07:00
Kubernetes Prow Robot
8d494c49d1 Merge pull request #114068 from cyclinder/feature_gate
remove GA feature-gate for 1.28
2023-04-20 09:25:11 -07:00
Maciej Borsz
5c584269a7 avoid volume copy in checkAttachableInlineVolume 2023-04-19 20:10:22 +00:00
Kubernetes Prow Robot
ff4eff24ac Merge pull request #116104 from daman1807/conntrack
Unified Conntrack Cleaning
2023-04-19 00:42:47 -07:00