Commit Graph

108455 Commits

Author SHA1 Message Date
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
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
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
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
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
Kubernetes Prow Robot
6dc592e347
Merge pull request #108787 from 249043822/cadvisor_stat_provider_filter_0
filter out terminated containers in cadvisor_stats_provider
2022-05-20 16:50:00 -07:00
Wojciech Tyczyński
7060953b92 Clear shutdown of scheduler metrics recorder 2022-05-20 20:23:29 +02:00
Kubernetes Prow Robot
0f8b0e14ae
Merge pull request #110141 from chymy/kubeadm-remove-imagespull
kubeadm: remove unused ImagesPull
2022-05-20 03:45:12 -07:00
scott
85b027e6fa fix audit union loop variables in closures 2022-05-20 17:51:25 +08:00
Kubernetes Prow Robot
5debaee45e
Merge pull request #110132 from tkashem/refactor-test
apiserver: improve graceful termination tests
2022-05-19 23:41:13 -07:00
Kubernetes Prow Robot
3308ce1caf
Merge pull request #110137 from neolit123/1.25-update-master-label-taint
kubeadm: cleanup OldControlPlaneTaint from unit tests
2022-05-19 22:05:13 -07:00
chymy
525b8cc4b2 kubeadm: remove unused ImagesPull
Signed-off-by: chymy <chang.min1@zte.com.cn>
2022-05-20 10:49:52 +08:00
Kubernetes Prow Robot
4ab90ccebb
Merge pull request #109719 from stlaz/e2e_nodeauthn_nosasecret
auth e2e: node_authn test: don't expect a SA secret
2022-05-19 15:13:53 -07:00
Kubernetes Prow Robot
e34f51e9b2
Merge pull request #110134 from mk46/crictl_env_parse
kubeadm: Parse ENV vars to crictl command
2022-05-19 14:04:05 -07:00
Kubernetes Prow Robot
ccaf683b9f
Merge pull request #110010 from deads2k/remove-serve-by-default-legacy
remove enabled by default beta resources that have been removed
2022-05-19 14:03:54 -07:00
Abu Kashem
f28710bc46
apiserver: refactor graceful termination test 2022-05-19 15:55:27 -04:00
Guillaume Le Biller
f681821fcf
Update managedFields time when value is modified 2022-05-19 21:08:31 +02:00
Lubomir I. Ivanov
9c68116461 kubeadm: cleanup OldControlPlaneTaint from unit tests
The OldControlPlaneTaint taint (master) can be replaced
with the new ControlPlaneTaint (control-plane) taint.

Adapt unit tests in markcontrolplane_test.go
and cluster_test.go.
2022-05-19 22:00:39 +03:00
Kubernetes Prow Robot
6ca849f1f2
Merge pull request #109835 from cici37/celUpdate
Use CEL EagerlyValidateDeclarations to improve compilation performance
2022-05-19 11:35:53 -07:00
Manish Kumar
58cc7e7d43 Parse ENV vars to crictl command 2022-05-19 21:53:50 +05:30
Kubernetes Prow Robot
32773d61c4
Merge pull request #110129 from wojtek-t/fix_notify_signal
Fix stop signal to drained signal in genericapiserver config
2022-05-19 09:21:32 -07:00
Kubernetes Prow Robot
a608fba48c
Merge pull request #110055 from brianpursley/vol-limit-flake
Increase csiNodeInfoTimeout from 1 minute to 2 minutes
2022-05-19 09:21:20 -07:00
Steve Kuznetsov
6e6ec6c0ee
customresource: stop shallow-copying metadata
We no longer mutate anything in the genericregistry.Store, and the
self-link is deprecated, unset and not persisted in etcd. There is no
need to do the shallow-copies of metadata any longer.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-19 08:29:02 -07:00