Commit Graph

117807 Commits

Author SHA1 Message Date
zach593
e3d5feb76c fix HPA plain metric calculate
fix inconsistency in plain metric replica calculator when usageRatio == 1.0, keep same with resource replicas
2023-05-10 11:14:29 +08:00
Tim Hockin
6607834207
Use the same report files as before 2023-05-09 19:33:21 -07:00
RuquanZhao
9150e6b55a s/of referencedFrom/from referenceFrom/
Signed-off-by: Ruquan Zhao <ruquan.zhao@arm.com>
2023-05-10 10:22:52 +08:00
Kubernetes Prow Robot
cd648c9c7d
Merge pull request #117114 from pohly/test-integration-race-detection-logs-registry
component-base: avoid data race in log format registry
2023-05-09 18:50:58 -07:00
Tim Hockin
4bbf611773
Retool validation for pod HostNetwork ports
This will ensure that HostPort == ContainerPort for pods and that
HostPort == 0 || HostPort == ContainerPort for embedded PodSpecs.
2023-05-09 18:10:44 -07:00
Tim Hockin
ec3379a717
Do hostNet Pod-ports -> hostPorts in Pod defaults
Rather than doing it in PodSpec defaulting, which triggers in
Deployments and DaemonSets, do it only when a Pod is actually in play.
2023-05-09 18:10:20 -07:00
Tim Hockin
ef796dca9b
Simpler openapi gen - subprojects do themselves
This involves moving the report files, but it allows me to delete the
indirect variable and indirect array code in update-codgen.  As proud as
I was of figuring that out, I am also ashamed of myself for doing it.

This is my atonement.
2023-05-09 16:24:18 -07:00
Tim Hockin
93b2845bec
Codegen: subprojects openapi
Use the "subprojects" aspect of update-codegen to generat openapi for
the subprojects.  Next we can simplify and remove the generic support.

apiextensions-apiserver seems like it was ALWAYS broken:
k8s.io/apiextensions/ doesn't exist, but k8s.io/apiextensions-apiserver
does.

Fixing that causes different openapi results, obviously.
2023-05-09 16:24:17 -07:00
Tim Hockin
4909dbd0d7
Deprecate generate*groups.sh -> kube_codegen.sh 2023-05-09 16:14:48 -07:00
Dan Winship
c3971002c9 MinimizeIPTablesRestore to GA 2023-05-09 18:19:00 -04:00
Varsha Prasad Narsing
8f22905748 [refactor] refactoring flags and options in Expose cmd
This PR decouples the command options from the input flags.
The input flags from the command are then translated to
options which are further used while running the command.

Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
2023-05-09 17:36:47 -04:00
Kubernetes Prow Robot
4c45313c3f
Merge pull request #115704 from AkihiroSuda/cri-rprivate
cri-api: fix comment lines about PROPAGATION_PRIVATE
2023-05-09 13:31:54 -07:00
Kubernetes Prow Robot
44a93d0b9d
Merge pull request #117792 from dlipovetsky/kubeadm-etcd-client-refactor
kubeadm: Add etcd client unit tests
2023-05-09 11:02:20 -07:00
Kubernetes Prow Robot
7cdf67ebf8
Merge pull request #117262 from thockin/codegen_new_script_for_subprojects
Codegen: a new script for subprojects to use
2023-05-09 11:02:09 -07:00
Kubernetes Prow Robot
b277afdf46
Merge pull request #116506 from HirazawaUi/fix-events-field
generate ReportingInstance and ReportingController in Event
2023-05-09 11:01:57 -07:00
Kubernetes Prow Robot
c75ac4cb2e
Merge pull request #117885 from xmudrii/export-gomaxprocs
Export GOMAXPROCS environment variable
2023-05-09 09:36:08 -07:00
Kubernetes Prow Robot
a9b08f4cc2
Merge pull request #117642 from carlory/fix-001
remove ability to re-enable serving deprecated node.k8s.io/v1beta1 types
2023-05-09 09:35:56 -07:00
Kubernetes Prow Robot
d96993fc1c
Merge pull request #117688 from liggitt/dynamic-version
Allow override of prerelease/buildID portions of version at runtime
2023-05-09 07:35:58 -07:00
HirazawaUi
82e3fa0930 fix fd leaks and failed file removing for main pkg and cmd 2023-05-09 09:24:11 -05:00
HirazawaUi
5289a7b029 fix fd leaks and failed file removing for test directory 2023-05-09 09:22:31 -05:00
HirazawaUi
b94c6daa0b fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-09 09:22:31 -05:00
HirazawaUi
982d2966cd fix fd leaks and failed file removing for pkg controller-manager and apiserver 2023-05-09 09:22:31 -05:00
HirazawaUi
73aeed8766 fix fd leaks and failed file removing for pkg client-go 2023-05-09 09:22:30 -05:00
HirazawaUi
f49cc5eb11 add remove_file in client-go util directory 2023-05-09 09:22:30 -05:00
Marko Mudrinić
c8737346db
Export GOMAXPROCS environment variable
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2023-05-09 15:43:32 +02:00
Min Ni
e865b30abd
update serial number to a valid non-zero number in ca certificate (#117791)
* update serial number to a valid non-zero number in ca certificate

* fix the existing problem (0 SerialNumber in all certificate) as part of this PR in a separate commit
2023-05-09 06:34:08 -07:00
Kubernetes Prow Robot
9e9ec8f62c
Merge pull request #117539 from TommyStarK/fix-flaky/mount-utils-TestFormat
mount-utils: fix flaky test 'TestFormat'
2023-05-09 06:33:56 -07:00
Kubernetes Prow Robot
714221dbaa
Merge pull request #117879 from kkkkun/fix-make-etcd-image-failed
Fix make etcd image failed
2023-05-09 05:28:16 -07:00
RuquanZhao
308ab380d7 Add unit testcases of refMap.
Signed-off-by: Ruquan Zhao <ruquan.zhao@arm.com>
2023-05-09 18:05:43 +08:00
Wojciech Tyczyński
23ac0fdaa5 APF: Dynamically compute retry-after based on history 2023-05-09 11:40:03 +02:00
Kubernetes Prow Robot
dee34b7076
Merge pull request #117858 from wojtek-t/debug_kubemark
Tweak annotating kubemark nodes on startup
2023-05-09 02:26:54 -07:00
Wojciech Tyczyński
99ebc8d9f8 Tweak annotating kubemark nodes on startup 2023-05-09 10:29:12 +02:00
kkkkun
aab02d52f4 Fix make etcd image failed
Signed-off-by: kkkkun <scuzk373x@gmail.com>
2023-05-09 15:45:26 +08:00
Kubernetes Prow Robot
b248684334
Merge pull request #117741 from mowangdk/chore/clearify_testcases
Chore: clarify need update test cases
2023-05-09 00:18:52 -07:00
xuzhenglun
91570a3661
promote ServiceNodePortStaticSubrange to beta 2023-05-09 11:38:16 +08:00
Kubernetes Prow Robot
b32941f60d
Merge pull request #117861 from SataQiu/fix-20230508
kubeadm: fix a bug where file copy(backup) could not be executed correctly on Windows platform during upgrade
2023-05-08 20:06:52 -07:00
mowangdk
e79daae682 Chore: clearify need update test cases 2023-05-09 10:46:32 +08:00
Tim Hockin
fb4d0150b9
Convert apiextensions-apiserver to new codegen 2023-05-08 14:36:26 -07:00
Tim Hockin
29913a8973
Convert code-generator/examples to new codegen 2023-05-08 14:36:25 -07:00
Tim Hockin
643bf1b036
Convert kube-aggregator to new codegen
This caused some of the generated code to be sorted where it wasn't
before.
2023-05-08 14:36:24 -07:00
Tim Hockin
1e0b7aab75
Convert metrics to new codegen 2023-05-08 14:36:23 -07:00
Tim Hockin
e368f1b25b
Convert sample-controller to new codegen 2023-05-08 14:36:22 -07:00
Tim Hockin
d0e5adb58b
Add a new way for subprojects to do codegen
This script (k8s.io/code-generator/kube_codegen.sh) should be somewhat
easier to understand and maintain.

This commit converts one caller (sample-apiserver) to use it, which
exercises all 3 functions.  More to follow.
2023-05-08 14:36:21 -07:00
Daniel Lipovetsky
05b3449346
kubeadm: Add etcd client unit tests 2023-05-08 13:35:03 -07:00
Daniel Lipovetsky
fc1b228779
kubeadm: Use internal etcd client through an interface 2023-05-08 13:35:03 -07:00
Kubernetes Prow Robot
5fd29596ef
Merge pull request #117862 from p0lyn0mial/upstream-watchlist-etcd-impl-compatibility
storage/etcd: skip SendInitialEvents if the request is backward compatible
2023-05-08 11:53:03 -07:00
Kubernetes Prow Robot
76552fac38
Merge pull request #114764 from claudiubelu/unittests-7
unittests: Fixes unit tests for Windows (part 7)
2023-05-08 11:52:51 -07:00
Kubernetes Prow Robot
6442024f1c
Merge pull request #116779 from jpbetz/cel-ratcheting
Controlled rollout of CEL libraries and language feautres
2023-05-08 09:51:40 -07:00
Joe Betz
e740f8340e Introduce CEL EnvSets for managing safe rollout of new CEL features, libraries and expression variables 2023-05-08 11:52:31 -04:00
Yuki Iwai
235c261196 Job: Fix a misspelling
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2023-05-09 00:25:45 +09:00