Commit Graph

120091 Commits

Author SHA1 Message Date
Tim Hockin
e9bd9262dc
Fix list_type_missing in apiextensions-apiserver 2023-11-27 12:06:21 -08:00
Tim Hockin
dd80194d96
Re-run codegen with new kube-openapi 2023-11-27 12:06:20 -08:00
Tim Hockin
1f55357d99
Re-vendor k8s.io/kube-openapi
./hack/pin-dependency.sh k8s.io/kube-openapi 778a5567bc1edaed92a4de9c07f90199c67953fa

./hack/update-vendor.sh
2023-11-27 12:06:19 -08:00
Tim Hockin
44060fb1f3
Fix "list_type_missing" API violations in meta/v1
This assumes that any such field is atomic, except:
  * OwnerReferences: because it has a `+patchStrategy=merge`, but it
    probably needs a `+listMapKey=...` ?
  * Finalizers: because it hs a `+patchStrategy=merge`, but is a
    primitive type (string).
  * []byte fields, which should not be failing this anyway (fixed
    subsequently).

An alternative approach could be just to turn off the API warnings for
these fields, but it felt more correct to declare the semantics.
2023-11-27 12:05:52 -08:00
carlory
2315d3fed5 uncomment ktesting.AnyToString 2023-11-28 00:35:29 +08:00
Lubomir I. Ivanov
f86249c68e kubeadm: remove outdated notes during upgrade
The notes printed to the user from common.go when
loadConfig fails are outdated and incorrect.
If the config cannot be loaded the user should not be instructed
to re-upload the config with kubeadm commands. Instead they
should do it manually with kubectl.

On loadConfig() error just wrap the error in a simple message
and show it to the user.

The current setup stomps missing IsNotFound errors for Node objects.
The underlying fetching of init configuration uses
the node object to construct an initconfiguration for this
upgrade process, so if the Node is missing the kube-config CM
will be reported as missing, which is incorrect.
2023-11-27 16:11:45 +02:00
Alexey Fomenko
e38362501b dynamic-resource-allocation Update API comments 2023-11-27 13:15:23 +02:00
kerthcet
e5b86c1034 Fix node update event will miss some potential changes
Signed-off-by: kerthcet <kerthcet@gmail.com>
2023-11-27 15:33:47 +08:00
Kubernetes Prow Robot
ad9b60e2c9
Merge pull request #122020 from Vyom-Yadav/fixOverridingVarInVerify
Fix verify target to not update env var if already set
2023-11-27 04:06:16 +01:00
hub-Prateek
a601ebd6b6 Changed the log message 2023-11-26 11:41:42 +05:30
Ukri Niemimuukko
02b0dc98dd remove unnecessary fmt.Sprintf call
default_preemtion.go has an unnecessary fmt.Sprintf call which
triggers common code checkers. This removes it.

Signed-off-by: Ukri Niemimuukko <ukri.niemimuukko@intel.com>
2023-11-25 21:36:04 +02:00
hub-Prateek
eb45a8f2f5 Added comments 2023-11-24 11:01:15 +05:30
hub-Prateek
76be319571 Optimzed the code 2023-11-24 10:58:33 +05:30
hub-Prateek
5c99f3a24e Logged the return value of ListPlugins 2023-11-24 00:19:42 +05:30
Kensei Nakada
f221098d2c Fix: modify a flag doc of pod-max-in-unschedulable-pods-duration 2023-11-23 13:24:38 +00:00
Kensei Nakada
468e2dac81 fix: requeue pods rejected by Extenders properly 2023-11-23 13:20:02 +00:00
Vyom-Yadav
f730dc39f9
Fix verify target to not update env var if already set
Signed-off-by: Vyom-Yadav <jackhammervyom@gmail.com>
2023-11-23 14:57:35 +05:30
Kensei Nakada
03b8241fce put storage related plugins under SIG-Storage reviewing 2023-11-23 08:35:49 +00:00
Kensei Nakada
4d9df1134f fix(doc): elaborate the documentation of SnapshotSharedLister 2023-11-23 08:19:26 +00:00
hub-Prateek
9cb2d1cf6d Removed Comments 2023-11-22 22:32:19 +05:30
Kubernetes Prow Robot
d61cbac69a
Merge pull request #121992 from jeremyrickard/bump-publishing-129
releng: update publishing bot rules for 1.29
2023-11-22 17:13:51 +01:00
Kubernetes Prow Robot
c876b30c2b
Merge pull request #122000 from MadhavJivrajani/fix-verify-openapi
api: run hack/update-api-spec.sh
2023-11-22 13:25:42 +01:00
Madhav Jivrajani
51daa8cbd5 api: run hack/update-api-spec.sh
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2023-11-22 16:24:34 +05:30
Jeremy Rickard
f042994cb0
releng: update publishing bot rules for 1.29
Signed-off-by: Jeremy Rickard <jeremyrrickard@gmail.com>
2023-11-21 18:05:46 -07:00
hub-Prateek
1dca49157a Utilized ListPlugins method 2023-11-22 02:13:55 +05:30
Kubernetes Release Robot
bacac25479 CHANGELOG: Update directory for v1.29.0-rc.0 release 2023-11-21 19:21:29 +00:00
andyzhangx
59c75b001a cleanup: remove getStorageAccountName warning messages 2023-11-21 13:14:01 +00:00
Kubernetes Prow Robot
ec5096fa86
Merge pull request #121963 from pohly/code-generator-klog-replace-fix
code-generator: fix invalid replace of klog
2023-11-20 17:11:03 +01:00
xin.li
1dcb31aebb kubeadm: fix flaky test TestRetrieveValidatedConfigInfo
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-11-20 23:42:54 +08:00
Kevin Hannon
7ba546cfeb drop alpha comment on ephemeral storage 2023-11-20 09:58:13 -05:00
Patrick Ohly
af34f62170 code-generator: fix invalid replace of klog
The replace statement must have come from a experimental draft PR. It wasn't
meant to be merged as part of 878d037d3b.
2023-11-20 15:51:04 +01:00
utam0k
aba817ac1d
return not-found errors properly from fake listeres
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-11-20 19:14:08 +09:00
Patrick Ohly
f0aab8c984 encoding: avoid setting GVK unnecessarily
Setting the group/version/kind is not necessary when the object already has it.
In that particular case some extra work and the data race when the
same object is used multiple times in parallel can be avoided.
2023-11-20 10:08:34 +01:00
Kubernetes Prow Robot
46f4248d56
Merge pull request #121951 from aojea/fix_rc_e2e
fix flake on Conformance test should ResourceQuota apply changes to a…
2023-11-20 00:01:00 +01:00
Antonio Ojea
d203bb54f8 fix flake on conformance e2e test ResourceQuota controller should apply changes to a resourcequota status
The e2e test patch the status of a ResourceQuota resources and tries to
verify the controller reset its status, however, the controller ignores
the updates and only reconcile the objects every a predefined interval,
by default 5 minutes.

Since the test polls for 5 minutes, there are some edge cases that the
time to reconcile the object by the reconcile loop is greater than 5
minutes failing the test.

To take into account the time to reconcile the objects and the reconcile
loop period, we increase by one minute the poll loop.

Change-Id: I30f7fda36cdfb47c543b5b2b120e39f7d6c2442d
2023-11-18 20:23:59 +00:00
Kubernetes Prow Robot
94f15bbbcb
Merge pull request #121948 from sanposhiho/patch-8
fix(framework): remove the mention about what happens with nil from EventsToRegister
2023-11-18 18:42:11 +01:00
Kensei Nakada
005e85c4d3
fix(framework): remove the mention about what happens with nil from EventsToRegister 2023-11-18 15:47:31 +09:00
Kubernetes Prow Robot
1f07da7575
Merge pull request #121943 from dims/replace-E-with-setenv-for-systemd-run-parameter
Replace -E with --setenv for systemd-run parameter
2023-11-17 19:38:35 +01:00
Davanum Srinivas
64f8c6939f
Replace -E with --setenv for systemd-run parameter
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-11-17 10:50:11 -05:00
Alexander Constantinescu
dd6e286a1a TestSlowNodeSync: fix flake by allowing informer cache to get populated 2023-11-17 15:21:16 +01:00
Kubernetes Prow Robot
c28c200918
Merge pull request #121790 from pwschuurman/fix-framework-test-describe
Pass External Storage label parameters as individual arguments in framework variadic function
2023-11-17 11:38:35 +01:00
Yuki Iwai
a85f587984 Job: Use built-in min function instead of integer package
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2023-11-17 14:10:00 +09:00
Kubernetes Prow Robot
8509ab82b9
Merge pull request #121851 from andyzhangx/fix-smb-IsCorruptedMnt
fix: statle smb mount issue when smb file share is deleted and then unmount
2023-11-16 17:02:35 +01:00
Kubernetes Release Robot
c3ff08250e CHANGELOG: Update directory for v1.25.16 release 2023-11-16 11:30:31 +00:00
Kubernetes Prow Robot
94fe1b3b0c
Merge pull request #121867 from lianghao208/preeption
feat: Support score extension function in preemption.
2023-11-16 10:47:57 +01:00
Kubernetes Prow Robot
56d7898510
Merge pull request #121739 from ty-dc/runc/update-to-1.1.10
bump runc to v1.1.10
2023-11-15 23:29:35 +01:00
Kubernetes Release Robot
59c6318545 CHANGELOG: Update directory for v1.26.11 release 2023-11-15 20:43:52 +00:00
Siyuan Zhang
12c9bfc21d k8s.io/apiserver: refactor GenericAPIServer healthz code.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2023-11-15 12:43:16 -08:00
Kubernetes Release Robot
bb6c9ecb1a CHANGELOG: Update directory for v1.27.8 release 2023-11-15 20:05:52 +00:00
Jordan Liggitt
5164db066c
Drop testing dependency from shipped binaries 2023-11-15 15:05:18 -05:00