Commit Graph

105882 Commits

Author SHA1 Message Date
Philip Hamer
ea2dff12e6
add test case for issue 106277 (PR 106268) (#106532)
* add test case for issue 106277 - fix edit of non-registered custom API types

* remove unneeded struct, as suggested
2022-01-11 15:53:23 -08:00
Kubernetes Prow Robot
1f382b171e
Merge pull request #107080 from sivchari/fix-misspell
fix curent to current
2022-01-11 13:56:53 -08:00
Kubernetes Prow Robot
57d66b9aad
Merge pull request #106400 from mahendrabishnoi2/master
fix grammar
2022-01-11 13:56:41 -08:00
Kubernetes Prow Robot
f8bb35d76e
Merge pull request #107448 from saschagrunert/apparmor-e2e
Fix AppArmor unloaded profile e2e test
2022-01-11 12:23:15 -08:00
Kubernetes Prow Robot
9cb26b7a07
Merge pull request #107472 from alculquicondor/patch-3
Remove skip Multi-AZ test based on provider
2022-01-11 10:49:09 -08:00
Kubernetes Prow Robot
cadbe8dfb5
Merge pull request #107250 from cndoit18/use-errors
cleanup(kubelet): use errors.Is(err, os.ErrProcessDone)
2022-01-11 10:49:01 -08:00
Kubernetes Prow Robot
7082bb90ad
Merge pull request #107192 from SergeyKanzhelev/cri-api-readme
synced up v1 and v1alpha2 CRI API comments and updated the readme
2022-01-11 10:48:54 -08:00
Kubernetes Prow Robot
19069665f9
Merge pull request #107094 from adisky/d-container-runtime
Mark container-runtime kubelet flag as deprecated
2022-01-11 10:48:46 -08:00
Kubernetes Prow Robot
7eb5046064
Merge pull request #106470 from qmloong/qmloong/fix
fix: some typos and syncPod outdated workflow annotation
2022-01-11 10:48:38 -08:00
Kubernetes Prow Robot
5f4914604d
Merge pull request #106353 from gjkim42/remove-false-pleg-errors
kubelet: Remove false PLEG errors
2022-01-11 10:48:26 -08:00
Kubernetes Prow Robot
9c468ecf30
Merge pull request #107467 from SataQiu/kubeadm-cleanup-20220111
kubeadm: print warnings to stderr
2022-01-11 09:46:57 -08:00
Kubernetes Prow Robot
fa52d44037
Merge pull request #107466 from humblec/new-field
correct struct fields in various core storage structs
2022-01-11 09:46:49 -08:00
Kubernetes Prow Robot
8f453c9d79
Merge pull request #107044 from pohly/cli-invalid-command
cli: avoid logging command line errors in more cases
2022-01-11 09:46:37 -08:00
Kubernetes Prow Robot
8d8d3f03c0
Merge pull request #106766 from kerthcet/feature/add-test-to-multipoint
add test to cover multipoint with scoring extension
2022-01-11 09:46:25 -08:00
Kubernetes Prow Robot
d05e5c0e41
Merge pull request #107408 from awels/allow_greater_or_equal_capacity_in_provisioning_check
Allow greater or equal in storage provisioning check
2022-01-11 08:33:28 -08:00
Kubernetes Prow Robot
39136784a4
Merge pull request #107009 from kerthcet/feature/fix-wrong-calculate-in-podTopologySpread
nodeAffinity filtered nodes should be excluded when calculating skew …
2022-01-11 08:33:16 -08:00
Aldo Culquicondor
3f0de6b80e
Remove skip Multi-AZ test based on provider
The test only cares if there are multiple zones and that is independent of the provider
2022-01-11 10:38:41 -05:00
SataQiu
218b4dea9f kubeadm: print warnings to stderr 2022-01-11 23:08:59 +08:00
Humble Chirammal
1cb0dd028f correct struct fields in various core storage structs
The field names in godoc for various core storage structs have been
corrected with this commit.

Additional Ref# #105963 (comment)

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-01-11 20:35:04 +05:30
Kubernetes Prow Robot
f86ee5649b
Merge pull request #107468 from neolit123/1.24-remove-kubeadm-output-v1alpha1
kubeadm: remove the deprecated output/v1alpha1 API
2022-01-11 04:55:16 -08:00
Lubomir I. Ivanov
ad58393e19 kubeadm: remove the deprecated output/v1alpha1 API
The API was deprecated in 1.23 when output/v1alpha2 was
added. v1alpha1 is problematic since it embeds kubeadm/v1beta2
BootstrapToken related types directly. v1alpha2 imports
a new group dedicated to bootstrap tokens apis/bootstraptoken.
2022-01-11 12:51:46 +02:00
Patrick Ohly
798bdab3d0 kubectl: add integration test for result reporting
This currently covers two cases:
- "kubectl list" (the regression from https://github.com/kubernetes/kubernetes/issues/107012)
- "kubectl get pods/no-such-pod" (no particular reason except that the output
should be deterministic)

In contrast to some other tests that check for strings inside the
output (run_deprecated_api_tests) or compare after
sorting (run_kubectl_version_tests), stdout, stderr and the return code must
match exactly.

This ensures that there is no extra, unexpected output and that the right
output stream is used.
2022-01-11 09:04:56 +01:00
Kubernetes Prow Robot
a0dfd958d5
Merge pull request #107163 from cyclinder/fix_leak_goroutine
fix goroutine leaks in TestConfigurationChannels
2022-01-10 17:23:16 -08:00
Kubernetes Prow Robot
ca4af7a981
Merge pull request #104716 from sanposhiho/feature/scheduler_perf/unused-template-params
test/integration/scheduler_perf: check for unused template parameters
2022-01-10 16:21:16 -08:00
Kubernetes Prow Robot
3cec1d1a13
Merge pull request #107452 from liggitt/timeout_headers
Fix header mutation race in timeout filter
2022-01-10 14:36:37 -08:00
Kubernetes Prow Robot
5d950ceee4
Merge pull request #104669 from arekkusu/patch-3
Update GKE kubernetes sources download link
2022-01-10 14:36:25 -08:00
Kubernetes Prow Robot
e9e9bd0bf0
Merge pull request #107455 from aojea/invalid.com
use a community owned domain for the invalid registry
2022-01-10 13:34:48 -08:00
Kubernetes Prow Robot
10ded7501a
Merge pull request #107402 from anguslees/proxyzero
Reject proxy requests to 0.0.0.0 as well
2022-01-10 13:34:36 -08:00
Kubernetes Prow Robot
ccccd90bbc
Merge pull request #107389 from jlsong01/refine_comments_quota_monitor
refine comments of quota monitor
2022-01-10 13:34:25 -08:00
Mikhail Mazurskiy
0b8d725f5a
Close HTTP response body on failed GET attempts (#105591)
* Close response body when it's not needed

* Code cleanups
2022-01-10 11:40:26 -08:00
Antonio Ojea
742dd6b9c7 use a community owned domain for the invalid registry 2022-01-10 19:37:46 +01:00
Kubernetes Prow Robot
cc16e7792f
Merge pull request #106029 from astraw99/fix-workqueue-forget
Add GC workqueue `Forget` to stop the rate limiter
2022-01-10 10:07:24 -08:00
Kubernetes Prow Robot
0f84fa1e61
Merge pull request #104927 from zc2638/fix/in-tree-volume-test
fix the problem of using `%w` incorrectly
2022-01-10 10:07:12 -08:00
Jordan Liggitt
5b2a31f375 Fix header mutation race in timeout filter 2022-01-10 12:24:48 -05:00
Kubernetes Prow Robot
d1f559711d
Merge pull request #107441 from humblec/more-pv-source
correct struct fields in VolumeSource and PersistentVolumeSource
2022-01-10 09:07:24 -08:00
Kubernetes Prow Robot
d2fb197653
Merge pull request #99099 from eltociear/patch-3
Fix typo in empty_dir.go
2022-01-10 09:07:13 -08:00
Patrick Ohly
a5d2d6fec3 cli: let kubectl handle error printing
cli.Run was an attempt to elliminate error handling in Kubernetes
commands. However, it had to rely on heuristics that are not necessarily right
for all commands.

kubectl is one example which has its own error printing code that should be
used in all cases after a command failure. It now gets used also for
`--warnings-as-errors`. Previously, that caused the following message to be
logged at the end:

  E0110 16:56:01.987555  202060 run.go:120] "command failed" err="1 warning received"

Now it ends with:

 error: 1 warning received
2022-01-10 17:09:30 +01:00
Kubernetes Prow Robot
eb64a3e13a
Merge pull request #107384 from sanposhiho/math-round-in-pod-topology-spread
Use `math.Round` when convert float to int in PodTopologySpread
2022-01-10 07:13:24 -08:00
Kubernetes Prow Robot
20a5b335c5
Merge pull request #105853 from caden2016/master
restore NumPDBViolations info of nodes, when HTTPExtender ProcessPree…
2022-01-10 07:13:12 -08:00
Alexander Wels
8e29bb0454
Update test/e2e/storage/testsuites/provisioning.go
Add missing brackets

Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
2022-01-10 07:00:21 -06:00
Alexander Wels
59dcddae47
Update test/e2e/storage/testsuites/provisioning.go
Add missing brackets.

Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
2022-01-10 07:00:03 -06:00
Sascha Grunert
fcca81aeae
Fix AppArmor unloaded profile e2e test
With the removal of the kubelet AppArmor profile validation in
https://github.com/kubernetes/kubernetes/pull/97966 we passed the
responsibility of the desired behavior to the container runtime.
Therefore we have to change the e2e test which silently broke after the
PR merge.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-01-10 13:22:11 +01:00
cyclinder
928e686877 fix goroutine leaks in TestConfigurationChannels
Signed-off-by: cyclinder <qifeng.guo@daocloud.io>
2022-01-10 19:51:16 +08:00
Kubernetes Prow Robot
ba82add41a
Merge pull request #107420 from 21kyu/fix-typos
fix typos in comment
2022-01-10 00:07:11 -08:00
caden
f84c07e8f4 restore NumPDBViolations info of nodes, when HTTPExtender ProcessPreemption. This info will be used in subsequent filtering steps - pick OneNodeForPreemption.
add unit tests for HTTPExtender.ProcessPreemption - make sure the NumPDBViolations info of node is return as it is.
2022-01-10 13:37:46 +08:00
Humble Chirammal
ba7c4a9411 correct struct fields in VolumeSource and PersistentVolumeSource
The field names in godoc for PersistentVolumeSource and
VolumeSource have been corrected with this commit.

Additional Ref# #105963 (comment)

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-01-10 10:41:14 +05:30
Kubernetes Prow Robot
559091ba4f
Merge pull request #107339 from andrewsykim/internal-traffic-policy-external-name-validation
Add Service integration tests for internalTrafficPolicy when Type=ExternalName
2022-01-09 02:47:12 -08:00
Kubernetes Prow Robot
13a06cc479
Merge pull request #107427 from NikhilSharmaWe/remLog
removed unnecessary log line
2022-01-09 01:35:11 -08:00
astraw99
a5a54754d5 refactor garbagecollection controllers to make forget impossible to forget 2022-01-09 15:19:10 +08:00
Nikhil Sharma
c58fec6ccf removed unnecessary log line 2022-01-09 11:48:03 +05:30