Commit Graph

109434 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
5d7fdf1f12
Merge pull request #111065 from chendave/cleanup_measure
Stop using the deprecated `Measure` method
2022-07-12 19:57:50 -07:00
Kubernetes Prow Robot
59842a5f0a
Merge pull request #110974 from kidddddddddddddddddddddd/cleanup/handle-two-default-FooClass
Handle two or more default IngressClasses more cleanly
2022-07-12 19:57:38 -07:00
saltbo
d2bab218dd
fix: update the typo code comment 2022-07-13 10:16:51 +08:00
falser101
f07d8d396f fix:remove Redundant type conversion
Signed-off-by: jianfei.zhang <jianfei.zhang@daocloud.io>
2022-07-13 10:03:38 +08:00
Kubernetes Prow Robot
63106196df
Merge pull request #111064 from sftim/20220711_update_kube_aggregator_readme
Update kube aggregator readme
2022-07-12 18:38:06 -07:00
Kubernetes Prow Robot
cb0f09275e
Merge pull request #111036 from Huang-Wei/rm-MakeDefaultErrorFunc
merge MakeDefaultErrorFunc into handleSchedulingFailure
2022-07-12 18:37:59 -07:00
Kubernetes Prow Robot
e85dcc5337
Merge pull request #108532 from cbandy/status-cause
Use errors.As to detect wrapping in StatusCause
2022-07-12 18:37:47 -07:00
Kubernetes Prow Robot
ec849f4d51
Merge pull request #103523 from divyenpatel/enable-vsphere-csi-migration
enabling CSIMigrationvSphere feature by default
2022-07-12 18:37:36 -07:00
R0CKSTAR
d9294dfff7 Resolve review comments
Signed-off-by: R0CKSTAR <yeahdongcn@gmail.com>
2022-07-13 08:44:07 +08:00
Kubernetes Prow Robot
f58d83777f
Merge pull request #111063 from chendave/revert_workaround
Revert the workaround needed to cleanup for Ginkgo V1
2022-07-12 16:21:36 -07:00
Wei Huang
4f77732540
merge MakeDefaultErrorFunc into handleSchedulingFailure 2022-07-12 12:11:16 -07:00
Kubernetes Prow Robot
71481bf247
Merge pull request #111075 from ii/fix-controllerrevision-test
Fix ControllerRevision e2e test flake
2022-07-12 11:35:56 -07:00
Kubernetes Prow Robot
d46399f788
Merge pull request #111087 from HecarimV/fix-22071205
Fix: import the same package multiple times
2022-07-12 08:32:21 -07:00
Kubernetes Prow Robot
098c733373
Merge pull request #111032 from kerthcet/cleanup/remove-validation-of-removed-plugins
Remove validation of removedPlugins in KubeSchedulerConfiguration
2022-07-12 08:32:14 -07:00
Yubao Liu
834ce75f88 Make sure auto-mounted subpath mount source is already mounted
For example, we have two filesystems, one is embedded into another:

/a/test		# first filesystem with a directory "/a/test/b2"
/a/test/b2	# not auto mounted yet second filesystem, notice "/a/test/b2" is
	        # a new directory on this filesystem after this filesystem is mounted

For subpath mount "/a/test/b2",  `openat("/a/test", "b2")` gets directory "b2" on the first
filesystem, then "mount -c" will use this wrong directory as source directory.

`fstatat("/a/test", "b2/")` forces triggering auto mount of second filesystem, so
`openat("/a/test", "b2")` gets correct source directory for "mount -c".

This fixes issue https://github.com/kubernetes/kubernetes/issues/110818#issuecomment-1175736550

References:

1. https://man7.org/linux/man-pages/man2/openat.2.html

   If pathname refers to an automount point that has not yet
   been triggered, so no other filesystem is mounted on it,
   then the call returns a file descriptor referring to the
   automount directory without triggering a mount.

2. https://man7.org/linux/man-pages/man2/open_by_handle_at.2.html

   name_to_handle_at() does not trigger a mount when the final
   component of the pathname is an automount point.  When a
   filesystem supports both file handles and automount points, a
   name_to_handle_at() call on an automount point will return with
   error EOVERFLOW without having increased handle_bytes.  This can
   happen since Linux 4.13 with NFS when accessing a directory which
   is on a separate filesystem on the server.  In this case, the
   automount can be triggered by adding a "/" to the end of the
   pathname.
2022-07-12 22:09:11 +08:00
Kubernetes Prow Robot
29705ce027
Merge pull request #110879 from ping035627/k8s-220630
Handle os.MkdirAll error
2022-07-12 06:06:51 -07:00
Kubernetes Prow Robot
15beb41423
Merge pull request #110538 from hwdef/update-kubectl-trans
Update the Chinese translation of kubectl
2022-07-12 04:04:50 -07:00
HaoJie Liu
4f0a0ec81c Fix:import the same package multiple times
Signed-off-by: HaoJie Liu <liuhaojie@beyondcent.com>
2022-07-12 17:41:37 +08:00
Michal Wozniak
778b8300bc fix nits 2022-07-12 10:16:00 +02:00
Michal Wozniak
2730d285cf do not store context 2022-07-12 10:13:47 +02:00
Michal Wozniak
4a3d51359a Refact GC controller to do not use stub deletePod 2022-07-12 10:13:47 +02:00
HaoJie Liu
ab4ede19f0
Fix: some typo in apimachinery/pkg
Signed-off-by: HaoJie Liu <liuhaojie@beyondcent.com>
2022-07-12 11:17:15 +08:00
zhoumingcheng
e590ab77dc Correct some wrong syntax
Signed-off-by: zhoumingcheng <zhoumingcheng@beyondcent.com>
2022-07-12 10:46:56 +08:00
R0CKSTAR
b8ecf6fbfe Add unit test - TestDescribePodRuntimeClass
Signed-off-by: R0CKSTAR <yeahdongcn@gmail.com>
2022-07-12 09:34:04 +08:00
Kubernetes Prow Robot
15f111f78f
Merge pull request #110980 from xing-yang/test_ci
Change snapshot-controller image to v4.2.1
2022-07-11 18:22:50 -07:00
Kubernetes Prow Robot
44e403f5bb
Merge pull request #111017 from SataQiu/fix-kubeadm-20220708
kubeadm: respect user specified image repository when using Kubernetes ci version
2022-07-11 16:59:01 -07:00
Kubernetes Prow Robot
a455c296fd
Merge pull request #111015 from xmcqueen/master
Capture the Container Logs for a Flaky Test
2022-07-11 16:58:50 -07:00
Kubernetes Prow Robot
3f630c415d
Merge pull request #111016 from HecarimV/fix-kobj-pod-220708
Improve the accuracy of error msg in /pkg/scheduler/internal/queue
2022-07-11 11:49:47 -07:00
Xinqi Li
d6f729995a add service port mutation test 2022-07-11 11:44:49 -07:00
Cici Huang
a421fd4834 Bump cel-go to v0.12.1 2022-07-11 17:05:32 +00:00
Brian McQueen
37d246bac1 capture the container logs on pod error to assist in debugging test failures #109295 2022-07-11 09:46:46 -07:00
Cici Huang
772a252b06 Bump cel-go to v0.12.0 2022-07-11 08:40:34 -07:00
Kensei Nakada
c328841159 Update doc comment 2022-07-11 15:11:04 +00:00
Kubernetes Prow Robot
aebe28b5cf
Merge pull request #111059 from aojea/ginkgo2
migrate deprecate flags from ginkgo v1 to v2
2022-07-11 07:20:00 -07:00
Kubernetes Prow Robot
cb56b40d32
Merge pull request #109477 from Monokaix/golint
remove excluded staticcheck that were already fixed
2022-07-11 07:19:49 -07:00
Dave Chen
d61adab518 Stop using the deprecated Measure method
As what suggested by Ginkgo migration guide, `Measure` node was
deprecated and replaced with `It` node which creates `gmeasure.Experiment`.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-11 17:40:33 +08:00
Tim Bannister
fe66c05a30
Fix link to design-proposals archive 2022-07-11 10:07:55 +01:00
Tim Bannister
facc028968
Update kube-aggregator deliverables 2022-07-11 10:07:34 +01:00
Kubernetes Prow Robot
be53d94595
Merge pull request #108792 from wongearl/modify-todo
fix CustomArgs annotation, todo describe
2022-07-11 00:21:50 -07:00
SataQiu
234dbf0318 scheduler: using math.MinInt64 instead of -math.MaxInt64 2022-07-11 14:53:18 +08:00
Dave Chen
6a82ba82b1 Revert the workaround needed to cleanup for Ginkgo V1
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-11 14:49:40 +08:00
Kubernetes Prow Robot
a3f777603b
Merge pull request #110825 from zhoumingcheng/master-unit-v4
add unit test coverage for pkg/util/node and Remove duplicate testcases for func TestGetNodeHostIPs
2022-07-10 20:55:46 -07:00
kidddddddddddddddddddddd
60b18fbf9d ingressclass 2022-07-11 09:48:45 +08:00
Kubernetes Prow Robot
b0d5769535
Merge pull request #111048 from alingse-forks/fix-with-asasalint
fix pass []any as any in variadic function
2022-07-10 18:39:47 -07:00
Stephen Heywood
6c320b2991 Fix ControllerRevision e2e test 2022-07-11 13:38:24 +12:00
Antonio Ojea
e3ded9c8d6 migrate deprecate flags from ginkgo v1 to v2 2022-07-11 00:11:35 +02:00
Kensei Nakada
a21d53564e Update v1 package to graduate minDomains to beta 2022-07-09 14:09:03 +00:00
alingse
3bf9a559b6 fix pass []any as any in variadic function 2022-07-09 18:53:54 +08:00
SataQiu
723cadf750 kubeadm: respect user specified image repository when using Kubernetes ci version 2022-07-09 16:24:51 +08:00
Kubernetes Prow Robot
9d577d8a29
Merge pull request #110576 from DangerOnTheRanger/cel-e2e-part2
Add second set of additional CRD validation E2E tests
2022-07-08 21:41:58 -07:00