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
Joseph Burnett
4233056f80
Move HPA v2beta2 deprecation to 1.23.
2021-06-24 13:31:17 +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
Rishabh Jain
8f08db9164
Change log level to Debug
2021-06-24 14:23:06 +05:30
lzj
7cf30d5690
fix/remove-errors-pkg
2021-06-24 16:09:59 +08: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
njuptlzf
93365919b5
Fix staticcheck failures
2021-06-23 23:27:43 +08: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
ravisantoshgudimetla
cf9510751d
StatefulSet minReadySeconds e2e
2021-06-23 08:23:23 -04:00
Francesco Romani
47615c2020
e2e: node: remove obsolete AlphaFeature tag
...
The CPUManager graduated to beta a while ago (k8s 1.10?)
so let's get rid of the obsolete Alpha tag on its e2e tests.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-06-23 12:34:45 +02: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
Kubernetes Prow Robot
c8f9186ccf
Merge pull request #103102 from neolit123/1.22-fix-image-pull-policy-bug
...
kubeadm: fix image pull policy integration
2021-06-22 19:52:10 -07:00
Kubernetes Prow Robot
c48adbb3e8
Merge pull request #103071 from aojea/esipp_nodepor
...
wait for endpoints to be available
2021-06-22 18:28:38 -07:00
Kubernetes Prow Robot
13e7cba5ca
Merge pull request #103050 from ardaguclu/fix-node-auth-dualstack
...
Fix NodeAuthenticator tests in dual stack
2021-06-22 18:28:29 -07:00
Kubernetes Prow Robot
e120459000
Merge pull request #102952 from wpedrak/master
...
Specify etcdctl version in livenessProbe
2021-06-22 18:28:22 -07:00
Kubernetes Prow Robot
f371ee21d3
Merge pull request #102755 from PushkarJ/master
...
Transitive dependency: high CVE fix (CVE-2020-26160)
2021-06-22 18:28:09 -07:00
Kubernetes Prow Robot
268cab5f44
Merge pull request #102022 from adtac/sbeta
...
graduate SuspendJob to beta
2021-06-22 17:18:10 -07:00
Lubomir I. Ivanov
3b36e6bcea
kubeadm: fix image pull policy integration
...
If the user has not specified a pull policy we must assume a default of
v1.PullIfNotPresent.
Add some extra verbose output to help users monitor what policy is
used and what images are skipped / pulled.
Use "fallthrough" and case handle "v1.PullAlways".
Update unit test.
2021-06-23 00:52:35 +03:00
Anago GCB
b4dddbafa2
CHANGELOG: Update directory for v1.22.0-beta.0 release
2021-06-22 21:27:01 +00:00
Kubernetes Prow Robot
2453f07e93
Merge pull request #102396 from odinuge/restart_test
...
Restart test: Kill container runtime with SIGKILL
2021-06-22 13:10:10 -07:00
songxiao-wang87
c5498744c9
Making a run test.
...
Signed-off-by: songxiao-wang87 <wang.xiaosong23@zte.com.cn>
2021-06-22 15:33:21 -04:00
Kubernetes Prow Robot
72fc6d9ea0
Merge pull request #103089 from chendave/ratio_cleanup
...
Simplify the formula used in the `RequestedToCapacityRatio` plugin
2021-06-22 12:00:23 -07:00
Kubernetes Prow Robot
5f285e9eae
Merge pull request #102578 from payall4u/payall4u/cri-cgroupv2
...
Feature: add unified on CRI to support cgroup v2
2021-06-22 12:00:10 -07:00