Commit Graph

102041 Commits

Author SHA1 Message Date
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
Lubomir I. Ivanov
70a524659a kubeadm: add {Init|Join}Configuration.Patches.Directory to v1beta3
Add {Init|Join}Configuration.Patches, which is a structure that
contains patch related options. Currently it only has the "Directory"
field which is the same option as the existing --experimental-patches
flag.

The flags --[experimental-]patches value override this value
if both a flag and config is passed during "init" or "join".
2021-06-23 22:24:10 +03:00
Lubomir I. Ivanov
a4402122b4 kubeadm: add the --patches flag and deprecate --experimental-patches
The feature of "patches" in kubeadm has been in Alpha for a few
releases. It has not received major bug reports from users.
Deprecate the --experimental-patches flag and add --patches.

Both flags are allowed to be mixed with --config.
2021-06-23 22:22:41 +03:00
Elana Hashman
70c0fdda0c
Add lilic as Instrumentation reviewer 2021-06-23 12:08:11 -07:00
Matthew Cary
b259686b36 tests for statefulset PersistentVolumeClaimDeletePolicy api change
Change-Id: I07c8e31a8c76a6a1022c08fb749af7e353b731de
2021-06-23 11:55:35 -07:00
sanwishe
43f8f58895 add containers starttime metrics for metrics/resource endpoint
Signed-off-by: sanwishe <jiang.mingzhi35@zte.com.cn>
2021-06-24 02:53:21 +08: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
Matthew Cary
e4e735cd1c statefulset PersistentVolumeClaimDeletePolicy api change 2021-06-23 10:33:05 -07:00
Matthew Cary
0feba0c4ee Add StatefulSetAutoDeletePVC feature gate
Change-Id: Iacb48932bd5402bf7e95431ffb95b0896421f88a
2021-06-23 10:33:05 -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
Matthew Wong
cd318aec0b Disable deprecated volume limits test when migration enabled and replace with CSI-specific test 2021-06-22 11:31:00 -07:00
Mauricio Poppe
6583b05f07 replace more powershell commands with /bin/sh in volume/fixtures.go 2021-06-22 18:27:55 +00:00
Mauricio Poppe
7aa8a497df replaced usage of powershell commands with linux commands 2021-06-22 18:27:55 +00:00
Mauricio Poppe
f0d7e9c9d1 undo windows compatibility changes because the linux commands work 2021-06-22 18:27:54 +00:00
Mauricio Poppe
9a146bc3e9 Remove [LinuxOnly] string from ginkgo tests 2021-06-22 18:27:54 +00:00
Mauricio Poppe
54070a6628 Enable another test in windows, use a /bin/sh command instead of a PS one 2021-06-22 18:27:53 +00:00
Mauricio Poppe
ee34cd640a enable gcpdcsi multivolume tests with windows nodes 2021-06-22 18:27:50 +00:00
Khaled (Kal) Henidak
58a83ecbdb integeration tests 2021-06-22 17:40:21 +00:00
Khaled (Kal) Henidak
2c6bba2936 fix auto upgraded preferDualStack services (in cluster upgrade) 2021-06-22 17:40:21 +00:00