Dan Winship
217f720c72
Fix up some kubernetes service reconciling code organization.
...
When the endpoint reconcilers got split out of pkg/controlplane,
GetMasterServiceUpdateIfNeeded() got moved to
pkg/controlplane/reconcilers, even though it needs to be kept in sync
with CreateOrUpdateMasterServiceIfNeeded() which stayed in
pkg/controlplane. (And everything else in pkg/controlplane/reconcilers
is about the Endpoints not the Service anyway.) So move it back.
On the flip side, the implementation of masterCountEndpointReconciler
got moved to pkg/controlplane/reconcilers, but its unit tests didn't.
So belatedly fix that.
2022-05-26 13:39:54 -04:00
Kubernetes Prow Robot
ee0a070865
Merge pull request #110082 from twilight0620/addTest2
...
add test case TestValidateServiceNodePort for validateServiceNodePort method
2022-05-26 08:45:35 -07:00
Kubernetes Prow Robot
4a2391caf3
Merge pull request #108259 from carlosdamazio/refactor/roundrobin
...
pkg/proxy/userspace/roundrobin: Make `lb.services` nil check standardized
2022-05-26 08:45:23 -07:00
Kubernetes Prow Robot
fa7309438f
Merge pull request #110223 from RaunakShah/snapv1beta1
...
Add v1beta1 snapshot CRDs to cluster addons
2022-05-26 07:37:34 -07:00
Kubernetes Prow Robot
029b1bb8da
Merge pull request #110207 from wojtek-t/clean_shutdown_managers
...
Clean shutdown of kcm, ccm and scheduler
2022-05-26 07:37:23 -07:00
Kubernetes Prow Robot
f9f9e7177a
Merge pull request #84145 from bells17/fix-typo
...
Fix typo: type -> eventtype
2022-05-26 05:13:22 -07:00
Wojciech Tyczyński
fe3616cafb
Clean shutdown of kcm, ccm and scheduler
2022-05-26 12:36:59 +02:00
Wojciech Tyczyński
55130ae2ab
Make contextForChannel public
2022-05-26 12:35:58 +02:00
Kubernetes Prow Robot
eb37a5d9c1
Merge pull request #110000 from wojtek-t/fix_shutdown_sequence
...
Fix apiserver shutdown in integration tests
2022-05-26 02:53:22 -07:00
Wojciech Tyczyński
6f706775bc
Clean shutdown of test apiserver
2022-05-26 10:42:48 +02:00
Raunak Pradip Shah
39cf002690
Add v1beta1 snapshot CRDs to cluster addons
2022-05-26 12:54:12 +05:30
Kubernetes Release Robot
9ad41812e5
CHANGELOG: Update directory for v1.24.1 release
2022-05-26 03:31:02 +00:00
Kubernetes Release Robot
69e4f875bb
CHANGELOG: Update directory for v1.23.7 release
2022-05-25 21:48:51 +00:00
Kubernetes Prow Robot
60481c944e
Merge pull request #109946 from tallclair/ps-e2e
...
Restricted Pod E2E tests
2022-05-25 14:45:22 -07:00
Kubernetes Prow Robot
1e7fa3478e
Merge pull request #110214 from aojea/agnhost_2.39
...
agnhost: bump version 2.39
2022-05-25 13:36:02 -07:00
Kubernetes Prow Robot
f08c680d2f
Merge pull request #110192 from RomanBednar/gcp-bump
...
bump gcp driver and sidecar versions
2022-05-25 13:35:54 -07:00
Kubernetes Prow Robot
cf314d689e
Merge pull request #110162 from MikeSpreitzer/untwist-apf-metrics
...
Untwist apf metrics
2022-05-25 13:35:47 -07:00
Kubernetes Prow Robot
5432883490
Merge pull request #110130 from stevekuznetsov/skuznets/clean-up-crd-storage
...
customresouce: clean up the storage constructor
2022-05-25 13:35:35 -07:00
Kubernetes Prow Robot
b0991517e5
Merge pull request #110127 from jwtty/boolcheck
...
test/e2e/common/node: enhance assertions
2022-05-25 13:35:23 -07:00
Kubernetes Release Robot
20deba3dcd
CHANGELOG: Update directory for v1.22.10 release
2022-05-25 19:07:06 +00:00
Kubernetes Prow Robot
68fc207cd9
Merge pull request #110027 from zlabjp/fix-ipallocator-metrics
...
Fix cluster IP allocator metrics
2022-05-25 11:48:31 -07:00
Kubernetes Prow Robot
e0dbea2443
Merge pull request #110026 from tkashem/graceful-test
...
apiserver: fix preshutdown hook behavior with graceful termination
2022-05-25 09:38:57 -07:00
Antonio Ojea
7397e60477
agnhost: bump version 2.39
2022-05-25 16:02:10 +02:00
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
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
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
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