Commit Graph

108810 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
1290d6a4c0
Merge pull request #110212 from aojea/fix_agnhost_sigterm
agnhost: fix sigterm shutdown
2022-05-25 06:38:44 -07:00
Kubernetes Prow Robot
072148d339
Merge pull request #110194 from p0lyn0mial/hardens-test-aggregated-api-server
hardens TestAggregatedAPIServer
2022-05-25 04:58:45 -07:00
Roman Bednar
5c16ce257f bump gcp driver and sidecar versions 2022-05-25 13:54:27 +02:00
Antonio Ojea
2b822161f0 agnhost: fix sigterm shutdown 2022-05-25 12:50:23 +02:00
Lukasz Szaszkiewicz
c4e337c57c hardens TestAggregatedAPIServer
Since ClientCAs are provided by "client-ca::kube-system::extension-apiserver-authentication::client-ca-file" controller
we need to wait until it picks up the configmap (via a lister) before checking the CAs otherwise the response might contain an empty result.
2022-05-25 12:41:26 +02:00
wupengpeng
872be44775 Fix: Add test cases for method IsZeroCIDR() in pkg/proxy/util/utils_test.go 2022-05-25 10:47:33 +08:00
kerthcet
67b0ce87fe Using inherited context in utils
This PR focus on utils in scheduler. When to patch pod status or delete pod,
it is better to use an inherited context.
Although this do not take a big effect in preventing goroutine leak, but it is a best practice

Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-05-25 10:14:40 +08:00
Kubernetes Prow Robot
d5579bf778
Merge pull request #109424 from gkarthiks/master
Refactor kube-proxy internal naming for Service Port Name string
2022-05-24 18:42:43 -07:00
Kubernetes Release Robot
cc71683fda CHANGELOG: Update directory for v1.21.13 release 2022-05-25 00:32:11 +00:00
Kubernetes Prow Robot
e1d92980e3
Merge pull request #107419 from sanposhiho/non-need-e2e-queue-move
Delete non-need `AddUnschedulableIfNotPresent` calling in `TestCoreResourceEnqueue`
2022-05-24 17:06:43 -07:00
Tim Allclair
702ab97722 Run common pod E2Es as restricted 2022-05-24 16:10:16 -07:00
Tim Allclair
ccc69b1e9a Add MixinRestrictedPodSecurity e2e util 2022-05-24 16:10:16 -07:00
Kubernetes Prow Robot
f8c77fda0c
Merge pull request #110176 from deads2k/try-new-image
update to new level of agnhost
2022-05-24 14:27:25 -07:00
Hemant Kumar
50f1e16e4d Log new size and old sizes 2022-05-24 14:57:29 -04:00
areller
a6943ad863
[fix] fix and refactor TestValidateStatefulSet and TestValidateStatefulSet test cases (#109809)
* restructure tests

restructure TestValidateStatefulSet and TestValidateStatefulSetUpdate to be an array and accept list of expected errors. in this commits, no tests were changed and expected errors are not filled yet

* add expected errors

adding expected errors and making the tests pass, without making any changes to the tests

* clean up TestValidateStatefulSet error cases

* clean up TestValidateStatefulSetUpdate cases

* validate new statefulset as part of update validation

* address PR comments
2022-05-24 11:55:24 -07:00
Abu Kashem
9644edc321
fix preshutdown hook behavor with graceful termination 2022-05-24 13:21:07 -04:00
Kubernetes Prow Robot
114cdea709
Merge pull request #110079 from ash2k/dial-with-context
Always dial using a context
2022-05-24 08:52:17 -07:00
Kubernetes Prow Robot
1ad8613d5c
Merge pull request #109790 from p0lyn0mial/users-watchtools-informerwatcher
users of watchtools.NewIndexerInformerWatcher should wait for the informer to sync
2022-05-24 08:52:05 -07:00
Mike Spreitzer
cd33c7cf22 Remove unhelpful pairing of members of read_vs_write_request_count_samples
Members are not used in (waiting,executing) pairs, so stopped
using the wrapper that adds such pairing.
2022-05-24 11:18:56 -04:00
David Eads
c1a891c661 update to the latest agnhost image 2022-05-24 11:12:37 -04:00
Kubernetes Prow Robot
78a4ba6af8
Merge pull request #110174 from deads2k/readyz-agnhost
add readyz handling to netexec
2022-05-24 07:26:18 -07:00
Kubernetes Prow Robot
c3d550d4e7
Merge pull request #110101 from MikeSpreitzer/rename-observers
Give apf metrics abstractions more familiar names
2022-05-24 07:26:06 -07:00
Kubernetes Prow Robot
97baaf100c
Merge pull request #109749 from p0lyn0mial/harden-test-suspend-job
hardens integration job tests
2022-05-24 05:56:06 -07:00
Lukasz Szaszkiewicz
59a5c1a6ea hardens integration job tests
the job controller used by the tests must wait for the caches to sync
since the tests don't check /readyz there is no way
the tests can tell it is safe to call the server and requests won't be rejected
2022-05-24 13:47:38 +02:00
Mike Spreitzer
a4c18fa7fc Rename observer.go to interface.go 2022-05-24 07:28:54 -04:00
Lukasz Szaszkiewicz
4a7845b485 users of watchtools.NewIndexerInformerWatcher should wait for the informer to sync
previously users of this method were relying on the fact that a call to LIST was made.
Instead, users should use the dedicated `HasSynced` method.
2022-05-24 13:05:40 +02:00
lokichoggio
57d1c2d5cd
complete doc 2022-05-24 11:26:15 +08:00
Hemant Kumar
fb9db79d3f Enable volume expansion tests for generic ephemeral volumes 2022-05-23 21:58:34 -04:00
Mikhail Mazurskiy
2d62c57533 Always dial using a context 2022-05-24 11:51:08 +10:00
Kubernetes Prow Robot
fdb2d54475
Merge pull request #108210 from jlsong01/update_kubectl_warning
coordinate the kubectl warning style
2022-05-23 15:57:09 -07:00
Jefftree
d0bf411cc7 Prune defaults for CRD serving 2022-05-23 14:37:53 -07:00
Mike Spreitzer
7d64a93a14 Give apf metrics abstractions more familiar names
The logic is similar to Prometheus gauges and vectors,
adopt that terminology.
2022-05-23 16:09:43 -04:00
David Eads
566394467e add readyz handling to netexec 2022-05-23 14:26:09 -04:00
Kubernetes Prow Robot
31a10245d6
Merge pull request #110058 from glebiller/managed-fields-time
Update managedFields time when field value is modified
2022-05-23 10:32:02 -07:00
Kubernetes Prow Robot
aa49dffc7f
Merge pull request #110148 from wojtek-t/metrics_recorder_shutdown
Clear shutdown of scheduler metrics recorder
2022-05-23 07:18:15 -07:00
Kubernetes Prow Robot
1131fb95fc
Merge pull request #110125 from wojtek-t/fix_resource_quota_shutdown
Fix resource quota shutdown
2022-05-23 07:18:03 -07:00
Dingzhu Lurong
2499c240a9 remove duplicate checks for number of enabled queue sort plugin 2022-05-23 21:13:32 +08:00
Kubernetes Prow Robot
cfd69463de
Merge pull request #109975 from wojtek-t/cleanup_repair_controllers
Cleanup portallocator/ipallocator interfaces
2022-05-23 06:08:01 -07:00
acumino
a86b7ad8c5 Cleanup release note 2022-05-23 17:17:51 +05:30
jlsong01
272e245f06 add a warning printer in cli-runtime to coordinate warning style
modified:   staging/src/k8s.io/kubectl/pkg/cmd/auth/auth.go
2022-05-23 19:10:15 +08:00
Kubernetes Prow Robot
e9f1c9cc7c
Merge pull request #110138 from wojtek-t/fix_leaking_goroutines_in_kubelet_test
Fix leaking goroutines in kubelet integration test
2022-05-23 04:06:01 -07:00
Wojciech Tyczyński
f8211d7e44 Fix ResourceQuota admission shutdown 2022-05-23 12:34:50 +02:00
Wojciech Tyczyński
b5550a3452 Cleanup portallocator/ipallocator interfaces 2022-05-23 12:19:24 +02:00
Wojciech Tyczyński
0d41d2921e Fix leaking goroutines in kubelet integration test 2022-05-23 11:50:29 +02:00
Kubernetes Prow Robot
9997897f44
Merge pull request #110100 from tkashem/client-go-backoff-fix
client-go: fix backoff delay
2022-05-22 23:26:01 -07:00
Wantong Jiang
93692ef57d enhance assertions in test/e2e/common/node 2022-05-23 00:39:09 +00:00
gkarthiks
1fd959e256 refactor: serviceNameString to svcptNameString
Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

refactor: svc port name variable #108806

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

refactor: rename struct for service port information to servicePortInfo and fields for more redability

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

fix: drop chain rule

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>
2022-05-22 03:31:00 -07:00
sanposhiho
bbd5f19497 Delete non-need AddUnschedulableIfNotPresent in e2e 2022-05-22 06:54:49 +00:00
Abu Kashem
60e74a9ff7
client-go: fix backoff delay 2022-05-21 09:46:00 -04:00
Kubernetes Prow Robot
fbb5717279
Merge pull request #110069 from FillZpp/fix-statefulset-maxunavailable-less-than-one
Fix maxUnavailable of StatefulSet should not less than 1
2022-05-20 16:50:12 -07:00