Commit Graph

120136 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
e13f098c8e
Merge pull request #121387 from KunWuLuan/SidercarContainerChecking
move SidecarContainers featureGate checking
2023-12-13 21:26:09 +01:00
Kubernetes Prow Robot
d187ea3d03
Merge pull request #121043 from calvin0327/cleanup-return
cli: cleanup the retrun style for cp execute function
2023-12-13 21:26:00 +01:00
Kubernetes Prow Robot
26e2cc5299
Merge pull request #119923 from cvvz/fix-119921
fix: Mount point may become local without calling `NodePublishVolume` after node rebooting
2023-12-13 21:25:51 +01:00
Kubernetes Prow Robot
3c1356bc9b
Merge pull request #119764 from linxiulei/reservedTypo
Fix error message for invalid resource reservation
2023-12-13 21:25:42 +01:00
Kubernetes Prow Robot
74afd1a06f
Merge pull request #119539 from HirazawaUi/remove-not-register-event-code
remove unregistered event code
2023-12-13 21:25:33 +01:00
Kubernetes Prow Robot
510b49a406
Merge pull request #118431 from testwill/plugin_slice
chore: loop optimization
2023-12-13 21:25:24 +01:00
Kubernetes Prow Robot
c5473f1710
Merge pull request #117667 from carlory/fix-009
Remove ability to re-enable serving deprecated storage APIs
2023-12-13 21:25:15 +01:00
Kubernetes Prow Robot
db82260c65
Merge pull request #117046 from howardjohn/client/add-indexer-after-start
client-go: allow adding indexes after informer starts
2023-12-13 21:25:06 +01:00
Kubernetes Prow Robot
d2fc690421
Merge pull request #116209 from haoruan/feature-csidriver-fields-mutable
Allow FSGroupPolicy and PodInfoOnMount to be mutable in CSIDriver.Spec
2023-12-13 21:24:57 +01:00
Kubernetes Prow Robot
c02f5bc0f8
Merge pull request #115768 from AxeZhan/volumebinding
feature(volumebinding): Implement PreScore for VolumeBinding plugin to skip score
2023-12-13 21:24:43 +01:00
Kubernetes Prow Robot
87ab4d9741
Merge pull request #122299 from xmudrii/pub-bot-1.20.12
Update publishing-bot rules to Go 1.20.12
2023-12-13 19:58:06 +01:00
Peter Schuurman
16aad468b6 Replace test.name with test.namespace 2023-12-13 10:28:26 -08:00
Peter Schuurman
a3a4192eb9 Move expensive test setup (apiserver and running controller) to be run once in TestAutodeleteOwnerRefs parameterized tests 2023-12-13 10:28:24 -08:00
Marko Mudrinić
8f5efce8e0
Update publishing-bot rules to Go 1.20.12
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2023-12-13 18:00:34 +01:00
Kubernetes Release Robot
221897d751 CHANGELOG: Update directory for v1.29.0 release 2023-12-13 09:09:47 +00:00
Kubernetes Prow Robot
f2e85bc364
Merge pull request #122289 from sanposhiho/ff-disable
fix: disable SchedulerQueueingHints feature flag by default
2023-12-13 06:19:48 +01:00
Kensei Nakada
3b8f25dfdd fix: disable SchedulerQueueingHints feature flag by default 2023-12-13 04:16:43 +00:00
Kensei Nakada
7aeecc42a4 Revert "scheduler/NodeUnschedulable: reduce pod scheduling latency"
This reverts commit 28dbe8a34d.
2023-12-13 03:18:02 +00:00
Kensei Nakada
329b873e4e Revert "scheduler/nodeaffinity: reduce pod scheduling latency"
This reverts commit 1d88bf9789.
2023-12-13 02:57:45 +00:00
孔令飞
917027b42e fix incorrect function comment
Change-Id: I7d5e908f979026faa467fdd77049b6aa3087fd7c
2023-12-12 17:38:03 +08:00
Tim Hockin
87c6b0d69f
Smallish update-vendor cleanup 2023-12-11 13:29:47 -08:00
Michal Wozniak
34bc590418 Add unit test for Job Controller for panic when PodFailurePolicy is used on 1.28 2023-12-11 11:08:46 +01:00
Eric Lin
1e54c05093 leaderelection: Instrument for when slowpath is exercised
Signed-off-by: Eric Lin <exlin@google.com>
2023-12-11 09:59:06 +00:00
Eric Lin
1d9f7fd516 leaderelection: optimistically update leader lock
Signed-off-by: Eric Lin <exlin@google.com>
2023-12-11 09:59:01 +00:00
Tim Hockin
7dfe3d866b
Fix verify-licenses.sh
This still feels like a hack, but less horrible now.  Running this pases
without error.
2023-12-09 17:48:48 -08:00
Tim Hockin
6fee657d3a
Makefile: enable warn-undefined-variables 2023-12-08 20:51:47 -08:00
Tim Hockin
b9ff6b25f2
Simpler and less noisy make-clean 2023-12-08 09:20:44 -08:00
Dave Chen
39417e9d44 kubeadm: update the help msg for kubeadm upgrade plan
Explictly show the help msg that `kubeadm upgrade plan` can only run
on the node where "admin.conf" exists, normally, this is the control
plane node.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2023-12-08 16:22:17 +08:00
Patrick Ohly
1d11bc4aca e2e framework: provide more guidance to developers
Developers who are unaware of the Ginkgo wrappers in the framework might end up
passing the label decorators directly to Ginkgo. Previously, this led to an
error that was hard to understand without background knowledge:

    Unknown Decorator
    ginkgo.It("must deallocate on non graceful node shutdown", f.WithSerial(), f.WithDisruptive(), f.WithSlow(), func(ctx context.Context) {
    /nvme/gopath/src/k8s.io/kubernetes/test/e2e/dra/dra.go:527
      [It] node was passed an unknown decorator:
      'framework.label{parts:[]string{"Serial"}, extra:""}'

    Learn more at: http://onsi.github.io/ginkgo/#node-decorators-overview

When including a special field that Ginkgo dumps the message gets a bit better:

    Unknown Decorator
    ginkgo.It("must deallocate on non graceful node shutdown", f.WithSerial(), f.WithDisruptive(), f.WithSlow(), func(ctx context.Context) {
    /nvme/gopath/src/k8s.io/kubernetes/test/e2e/dra/dra.go:527
      [It] node was passed an unknown decorator:
      'framework.label{parts:[]string{"Serial"}, extra:"", explanation:"If you see
      this as part of an \"Unknown Decorator\" error from Ginkgo, then you need to
      replace the ginkgo.It/Context/Describe call with the corresponding
      framework.It/Context/Describe or (if available) f.It/Context/Describe."}'

    Learn more at: http://onsi.github.io/ginkgo/#node-decorators-overview
2023-12-08 08:04:18 +01:00
Tim Hockin
28f8e56d55
Fix prerelease codegen log string 2023-12-07 19:26:16 -08:00
Cici Huang
44898f7909 Address comment 2023-12-07 22:39:45 +00:00
Kubernetes Release Robot
0c645922ed CHANGELOG: Update directory for v1.29.0-rc.2 release 2023-12-07 12:00:56 +00:00
Kubernetes Prow Robot
89dfbebe2e
Merge pull request #122206 from xmudrii/update-distroless-1.21.5
Bump distroless-iptables to v0.4.2
2023-12-06 20:30:09 +01:00
Marko Mudrinić
0ca3089bee
Bump distroless-iptables to v0.4.2
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2023-12-06 19:19:46 +01:00
Cici Huang
048cb8b2ed Keep presence cost to 0 to ensure backward compatibility. 2023-12-06 17:26:19 +00:00
Kubernetes Prow Robot
9e028b40b9
Merge pull request #122201 from xmudrii/go1.21.5-1.20.12
[go] Bump images, dependencies and versions to go 1.21.5
2023-12-06 15:37:07 +01:00
xin.li
20b67a4d1a kubeadm: increase ut coverage of util/config
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-12-06 21:21:52 +08:00
olderTaoist
78b4ab11d5 also report scheduling_algorithm_duration_seconds metric when the pods is unschedulable 2023-12-06 19:17:03 +08:00
Marko Mudrinić
1c1347a3e7
[go] Bump images, dependencies and versions to go 1.21.5
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2023-12-06 10:36:35 +01:00
AxeZhan
210ed2ebbd add preScore for volumeBinding 2023-12-06 15:35:35 +08:00
Kubernetes Prow Robot
7fe31be11f
Merge pull request #122188 from kannon92/terminating-pod-beta
add beta comment for terminating pods and pod replacement policy
2023-12-06 01:54:58 +01:00
Kevin Hannon
4e5321c92e add beta comment for pod replacement policy 2023-12-05 13:17:24 -05:00
SataQiu
56262ca56a kubeadm: cleanup unused CreateCSR and associated functions 2023-12-05 18:17:14 +08:00
KubeKyrie
2fd4758359 change func WithTracing parameter naming
Signed-off-by: KubeKyrie <shaolong.qin@daocloud.io>
2023-12-05 10:41:55 +08:00
Robert Svarinskis
ceb7ca9387 Fix etcd storage_events_received_total metric not being registered 2023-12-04 09:12:21 +00:00
ii2day
4b1408c2e7 Fix typos: update registerCidrsetMetrics to registerCIDRSetMetrics
Signed-off-by: ii2day <ji.li@daocloud.io>
2023-12-04 10:09:52 +08:00
Dan Winship
2d952528cf belated updates to feature-approvers for SIG Network leads changes 2023-12-03 10:10:20 -05:00
Patrick Ohly
a23b26913f DRA helper: 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.
2023-12-01 10:49:16 +01:00
Jerry-yz
0c33ada850 update func CreateJoinControlPlaneKubeConfigFiles variable name 2023-12-01 17:08:36 +08:00
bzsuni
a20093aa07 Remove GA featuregate about IPTablesOwnershipCleanup in 1.30
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2023-12-01 15:03:51 +08:00