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
肖旸
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
Kubernetes Prow Robot
a3f24e8459
Merge pull request #102443 from ravisantoshgudimetla/remove-bnv
...
Remove balanced attached node volumes
2021-06-22 09:29:58 -07:00
ravisantoshgudimetla
b6c75bee15
Remove balanced attached node volumes
...
kubernetes#60525 introduced
Balanced attached node volumes feature gate to include volume
count for prioritizing nodes. The reason for introducing this
flag was its usefulness in Red Hat OpenShift Online environment
which is not being used any more. So, removing the flag
as it helps in maintainability of the scheduler code base
as mentioned at kubernetes#101489 (comment)
2021-06-22 11:19:30 -04:00
Kubernetes Prow Robot
6dd9deea3d
Merge pull request #103038 from aojea/ips_panics
...
don't panic (just fail) if nodeIPs are not found
2021-06-22 07:44:11 -07:00
Kubernetes Prow Robot
c864f2357d
Merge pull request #102901 from wangyysde/add-support-imagePullPolicy-fix524
...
kubeadm: add support of imagePullPolicy to kubeadm
2021-06-22 07:43:59 -07:00
Pushkar Joglekar
63a23f1ed7
Transitive dependency: high CVE fix
...
heketi that is dependency for glusterfs was updated to import a fork of jwt-go that fixes
a high severity CVE-2020-26160 by importing a forked repo (form3tech-oss/jwt-go) that fixes
the CVE as the original repo (dgrijalva/jwt-go) has a fix with breaking changes and
the repo is generally loosely maintained.
This fork is already being used in other places in kubernetes. Heketi 10.3.0 includes this fix.
NOTE: The vulnerable function is not used by heketi or kubernetes. So the vulnerable package is a
transitive dependency and this fix will reduce false postive CVE alerts on kubernetes
Bumped github.com/auth0/go-jwt-middleware to v1.0.0 which removes dgrijalva/jwt-go cleanly
Fixing test failures: pull-kubernetes-dependencies
Removing unused dependencies in replace block to fix test failures: pull-kubernetes-dependencies
Bump go-jwt-middleware to v1.0.1 to *not* pull in examples only deps
2021-06-22 07:35:13 -07:00
Kubernetes Prow Robot
985ac8ae50
Merge pull request #101030 from cynepco3hahue/pod_resources_memory_interface
...
Extend pod resource API response to return the information from memory manager
2021-06-22 06:35:58 -07:00
Kubernetes Prow Robot
b524334105
Merge pull request #98287 from lala123912/log_format_registry
...
staging/src/k8s.io/apiserver/pkg/registry:migrate to structured logs
2021-06-22 04:25:58 -07:00
Artyom Lukianov
681905706d
e2e node: provide tests for memory manager pod resources metrics
...
- verify memory manager data returned by `GetAllocatableResources`
- verify pod container memory manager data
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-06-22 13:06:32 +03:00
Artyom Lukianov
03830db82d
Implement all necessary methods to provide memory manager data under pod resources metrics
...
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-06-22 13:06:32 +03:00
Kubernetes Prow Robot
ae666361cd
Merge pull request #103025 from serathius/logr-simplify
...
Simplify zap logger initialization
2021-06-22 02:59:58 -07:00
Artyom Lukianov
24023f9fcc
Extend pod resource API response to return the memory manager information
...
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-06-22 12:59:04 +03:00
Dave Chen
0f922b200f
Simplify the formula used in the RequestedToCapacityRatio plugin
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-06-22 17:11:26 +08:00
krak7602
ec93b3b0be
Stop using github.com/pkg/errors
2021-06-22 10:43:30 +05:30
Kubernetes Prow Robot
f4e7828674
Merge pull request #103028 from serathius/example-caller
...
Update logging example with caller
2021-06-21 20:44:10 -07:00
Kubernetes Prow Robot
e78e692f33
Merge pull request #101449 from CaoDonghui123/fix5
...
kubeadm: allow passing the flag --log-file if --config is passed
2021-06-21 20:43:57 -07:00
Kubernetes Prow Robot
2495ec7f11
Merge pull request #102967 from aojea/goaway
...
deflake TestClientReceivedGOAWAY test
2021-06-21 19:24:05 -07:00