Commit Graph

101708 Commits

Author SHA1 Message Date
tanjing2020
f80f9eeb6d Destroy the created runtimeclass resources at the end of the test case. 2021-06-29 09:20:40 +08:00
Kubernetes Prow Robot
859004b271
Merge pull request #103161 from MikeSpreitzer/comment-apf-types
Fix commenting oversights in APF types
2021-06-24 22:32:45 -07:00
Mike Spreitzer
179e48c4be Add missing comments in APF API types 2021-06-25 00:27:40 -04:00
Kubernetes Prow Robot
7a9c8940fd
Merge pull request #102682 from chendave/e2e_storage
Check empty zone after the validation of providers
2021-06-24 18:56:44 -07:00
Kubernetes Prow Robot
7eae33cb0e
Merge pull request #101464 from Nick-Triller/deflake_assert_events
e2e: deflake test by not relying on events
2021-06-24 17:44:45 -07:00
Kubernetes Prow Robot
042472d02d
Merge pull request #103152 from navist2020/remove/deprecatedFlags
kubeadm:remove deprecated flags CSROnly and CSRDir
2021-06-24 16:38:19 -07:00
Kubernetes Prow Robot
68ec927725
Merge pull request #103106 from wzshiming/fix/remove-errors-pkg
update to remove github.com/pkg/errors
2021-06-24 16:38:12 -07:00
Kubernetes Prow Robot
89ebe77aeb
Merge pull request #95472 from ahmedtd/lru-remove-mpl
Remove MPL-licensed dep from lruexpirecache
2021-06-24 16:38:00 -07:00
Kubernetes Prow Robot
82fe27a041
Merge pull request #103080 from krak7602/feat-test
Stop using github.com/pkg/errors
2021-06-24 15:27:40 -07:00
Kubernetes Prow Robot
49ab9ac160
Merge pull request #103154 from jsafrane/fix-asw-mounter
Update mounter interface in volume manager
2021-06-24 14:18:05 -07:00
Kubernetes Prow Robot
36a4904af2
Merge pull request #103111 from muma378/master
uses native errors instead of github.com/pkg/errors
2021-06-24 14:17:53 -07:00
Kubernetes Prow Robot
b27ad15779
Merge pull request #102540 from jpbetz/apply-client-docs
Add doc.go explaining client-go apply support
2021-06-24 14:17:41 -07:00
Kubernetes Prow Robot
2e93b3924a
Merge pull request #101943 from saschagrunert/seccomp-default
Add kubelet `SeccompDefault` alpha feature
2021-06-24 13:07:41 -07:00
Taahir Ahmed
ecc5318247 Remove MPL-licensed dep from lruexpirecache
github.com/hashicorp/golang-lru is MPL 2 licensed, which means that
anyone who distributes code or binaries that incorporates it needs to
include its source code, even if they haven't made any modifications.

Since lrucacheexpire is picked up as a dependency of using the shared
informers in client-go, that's potentially a lot of distributors.
Most other deps of client-go are Apache 2.0, MIT, or BSD-like
licensed, which only requires including the license.

Rather than reverting to groupcache/lru, I just reimplemented the
functionality we need, which isn't much.
2021-06-24 12:36:35 -07:00
Kubernetes Prow Robot
79494183b7
Merge pull request #102869 from mengjiao-liu/json-register-move
Remove default JSON logging format registration from k8s.io/component-base/logs package
2021-06-24 11:59:41 -07:00
Kubernetes Prow Robot
132e3c4020
Merge pull request #103125 from ehashman/lilic-instr-reviewer
Add lilic as SIG Instrumentation reviewer
2021-06-24 10:49:41 -07:00
Joe Betz
7f893f6bd6 Split documentation according to both mechanisms available for migration 2021-06-24 08:53:02 -07:00
Kubernetes Prow Robot
06dfe683ce
Merge pull request #103123 from dims/remove-fakefs-to-drop-spf13/afero-dependency
Remove fakefs to drop spf13/afero dependency
2021-06-24 07:57:41 -07:00
Davanum Srinivas
5feff280e1
remove fakefs to drop spf13/afero dependency
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-06-24 09:51:34 -04:00
Kubernetes Prow Robot
6d27e234ba
Merge pull request #90112 from KentaTada/use-libcontainer-getcgroup-function
kubelet: modify the function of getCgroupSubsystemsV2 to use libconta…
2021-06-24 06:49:41 -07:00
Kubernetes Prow Robot
164ce31e7f
Merge pull request #103074 from wongma7/volumelimitsmigration
Disable deprecated volume limits test when CSI migration enabled and replace with CSI-specific test
2021-06-24 05:41:53 -07:00
Kubernetes Prow Robot
73eac7ae66
Merge pull request #102986 from mengjiao-liu/rename-master
Rename master to apiserver in test/integration
2021-06-24 05:41:41 -07:00
Mengjiao Liu
af825b4357 Remove default JSON logging format registration from component-base/logs package 2021-06-24 20:37:09 +08:00
Jan Safranek
d3dfe124da Update mounter interface in volume manager
Update mounter interface in volume manager's ActualStateOfWorld every time.
Otherwise kubelet uses the first mounter it gets, which may not have the
latest information.

This fixes set up of CSI volumes, which store information about SELinux
support in their `mounter` interface implementation. With each MountVolume()
retry, a new mounter is instantiated and only the final mounter that succeeds
has the right info if the volume supports SELinux or not and can later
return the right attributes on GetAttributes() call.
2021-06-24 14:11:31 +02:00
Kubernetes Prow Robot
902e507824
Merge pull request #102883 from liggitt/etcd-embed
Simplify embedded etcd server
2021-06-24 04:27:40 -07:00
navist2020
538e7777c3 kubeadm:remove deprecated flags CSROnly and CSRDir 2021-06-24 18:28:43 +08:00
Kubernetes Prow Robot
aae9c3418f
Merge pull request #103109 from niulechuan/cleanup/test-e2e-framework
Remove usage of github.com/pkg/errors
2021-06-24 01:57:40 -07:00
Kenta Tada
89a4d4b071 kubelet: modify the function of getCgroupSubsystemsV2 to use libcontainer API 2021-06-24 16:58:05 +09:00
肖旸
cf07d42337 removes unused libraries 2021-06-24 09:43:09 +08:00
Kubernetes Prow Robot
b0010c2d9e
Merge pull request #103066 from MikeSpreitzer/apf-no-00
Add config checking for inflight limits
2021-06-23 18:25:40 -07:00
Kubernetes Prow Robot
41c3f5b58d
Merge pull request #100287 from pacoxu/structure-log/clean
structure log related: use %v for error as it is already quoted
2021-06-23 17:19:40 -07:00
Kubernetes Prow Robot
de04c067ad
Merge pull request #101581 from carlory/remove-fg-RunAsGroup
remove RunAsGroup feature gate
2021-06-23 16:09:41 -07:00
Kubernetes Prow Robot
3a07d96d25
Merge pull request #99412 from enj/enj/i/ttl_backdate
csr: correctly handle backdating of short lived certs
2021-06-23 15:00:10 -07:00
Kubernetes Prow Robot
53592b3222
Merge pull request #103079 from youhonglian/update-native-error-in-staging
update github.com/pkg/errors to go native errors pkg in staging
2021-06-23 12:48:10 -07:00
Monis Khan
7e891e5d6c
csr: correctly handle backdating of short lived certs
This change updates the backdating logic to only be applied to the
NotBefore date and not the NotAfter date when the certificate is
short lived. Thus when such a certificate is issued, it will not be
immediately expired.  Long lived certificates continue to have the
same lifetime as before.

Consolidated all certificate lifetime logic into the
PermissiveSigningPolicy.policy method.

Signed-off-by: Monis Khan <mok@vmware.com>
2021-06-23 15:36:11 -04:00
Elana Hashman
70c0fdda0c
Add lilic as Instrumentation reviewer 2021-06-23 12:08:11 -07:00
Kubernetes Prow Robot
15a60d1a19
Merge pull request #100180 from fromanirh/tm-e2e-fix-wait
e2e: TM: wait for SRIOV devices in pod scope tests
2021-06-23 11:42:10 -07:00
Mike Spreitzer
0762f492c5 Add config checking for inflight limits
When API Priority and Fairness is enabled, the inflight limits must
add up to something positive.
This rejects the configuration that prompted
https://github.com/kubernetes/kubernetes/issues/102885

Update help for max inflight flags
2021-06-23 14:06:50 -04:00
Kubernetes Prow Robot
0ae157df39
Merge pull request #100641 from mauriciopoppe/external-storage-multivolume-windows
Enable GCE PD CSI multivolume tests with windows nodes
2021-06-23 10:36:11 -07:00
Joe Betz
5d461adb3b
Apply suggestions from code review
Co-authored-by: Daniel Smith <dbsmith@google.com>
2021-06-23 10:18:17 -07:00
Shiming Zhang
674802147c update to remove github.com/pkg/errors 2021-06-23 22:56:48 +08:00
Jordan Liggitt
730c21d386 Drop etcd tests dependency 2021-06-23 10:22:58 -04:00
Jordan Liggitt
01760927b8 Simplify running embedded etcd server in tests 2021-06-23 10:22:57 -04:00
肖旸
e7a240395e uses native errors instead of github.com/pkg/errors 2021-06-23 18:13:44 +08:00
Niu Lechuan
12dcd2f84d Remove usage of github.com/pkg/errors
Signed-off-by: Niu Lechuan <lechuan.niu@daocloud.io>
2021-06-23 17:46:23 +08:00
Kubernetes Prow Robot
7b24c7e4a7
Merge pull request #101256 from Jiawei0227/length2
Relax csiNodeIDMaxLength length limit to 256
2021-06-23 02:10:10 -07:00
Sascha Grunert
8b7003aff4
Add SeccompDefault feature
This adds the gate `SeccompDefault` as new alpha feature. Seccomp path
and field fallbacks are now passed to the helper functions, whereas unit
tests covering those code paths have been added as well.

Beside enabling the feature gate, the feature has to be enabled by the
`SeccompDefault` kubelet configuration or its corresponding
`--seccomp-default` CLI flag.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>

Apply suggestions from code review

Co-authored-by: Paulo Gomes <pjbgf@linux.com>
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-06-23 10:22:57 +02:00
youhonglian
4b14021874 update github.com/pkg/errors to go native errors pkg in staging 2021-06-23 16:20:45 +08:00
Kubernetes Prow Robot
56efa75173
Merge pull request #102418 from m14815/commit-21.5.4
Remove Redundant alias
2021-06-22 21:00:22 -07:00
Kubernetes Prow Robot
af60bebde3
Merge pull request #97028 from knabben/e2e-restart-kubelet
Adding restart kubelet flag on e2e test
2021-06-22 21:00:09 -07:00