Commit Graph

108490 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
e66a016b73
Merge pull request #110337 from logicalhan/deprecate-metrics
cleanup deprecated metrics and usages
2022-06-01 17:55:58 -07:00
Kubernetes Prow Robot
901434942c
Merge pull request #107878 from danwinship/apiserver-endpointslice-cleanup
Clean up some EndpointSlice-related code in apiserver endpoint reconciler
2022-06-01 17:55:45 -07:00
Kubernetes Prow Robot
cb0e460343
Merge pull request #107872 from danwinship/apiserver-extra-ports
Remove unused and un-enable-able apiserver multiple ports feature
2022-06-01 15:49:58 -07:00
Kubernetes Prow Robot
a1b81ca06a
Merge pull request #101997 from shawnhanx/pvcquota
Add unit tests for pvc quota
2022-06-01 15:49:46 -07:00
Han Kang
f223b90090 cleanup deprecated metrics and usages 2022-06-01 13:45:03 -07:00
Kubernetes Prow Robot
d9eb7c4c6c
Merge pull request #110333 from liurupeng/rupliu/addwin22
Add Windows Server 2022 support for GKE
2022-06-01 13:40:09 -07:00
Kubernetes Prow Robot
ffcbe6c7d7
Merge pull request #108974 from ArangoGutierrez/devel/typos/windows
Fix typo at pkg/windows/service/service.go:94
2022-06-01 13:39:58 -07:00
Kubernetes Prow Robot
b4fbd12c3a
Merge pull request #106441 from yjjy0921/master
create resultsDir if the folder not exists
2022-06-01 13:39:46 -07:00
Kubernetes Prow Robot
19ca12cb3e
Merge pull request #109820 from fromanirh/e2e-node-enable-device-plugin-test
e2e: node: re-enable the device plugin tests
2022-06-01 12:03:40 -07:00
Kubernetes Prow Robot
737f706b1c
Merge pull request #108803 from SergeyKanzhelev/httpProbeMinorCleanup
remove TODOs from http package and prober
2022-06-01 12:03:28 -07:00
Kubernetes Prow Robot
875d48b66b
Merge pull request #108195 from SergeyKanzhelev/unusedMetadataKeys
there is no need for gci-docker-version and gci-ensure-gke-docker - t…
2022-06-01 12:03:16 -07:00
Kubernetes Prow Robot
22fda4e7ee
Merge pull request #108232 from qmloong/qmloong/chore
fix: remove the redundant count variable
2022-06-01 10:53:40 -07:00
Rupeng Liu
89b76dd156 Add Windows Server 2022 support for GKE 2022-06-01 17:47:40 +00:00
Kubernetes Prow Robot
ba502ee555
Merge pull request #110180 from gnufied/add-ephemeral-expansion-tests
Enable volume expansion tests for generic ephemeral volumes
2022-06-01 06:11:02 -07:00
Kubernetes Prow Robot
8415ae647d
Merge pull request #110313 from SergeyKanzhelev/minorRegistryConfigFix
fix the registry configuration
2022-05-31 17:23:00 -07:00
Sergey Kanzhelev
6f5661f139 fix the registry configuration 2022-05-31 23:12:16 +00:00
Kubernetes Prow Robot
62d9f8ba80
Merge pull request #110311 from logicalhan/fix-continue-tests
add explicit typing for continue tests
2022-05-31 13:45:35 -07:00
Kubernetes Prow Robot
78fb1fa9a2
Merge pull request #109938 from dims/move-from-k8s.gcr.io-to-registry.k8s.io
Move from k8s.gcr.io to registry.k8s.io
2022-05-31 13:45:23 -07:00
Kubernetes Prow Robot
5219122d0c
Merge pull request #110310 from logicalhan/deprecate-and-promote
remove deprecated metric and promote the replacement to STABLE
2022-05-31 11:00:52 -07:00
Han Kang
213e380a2e add explicit typing for continue tests
Our tests are mostly error based and explicit error typing allows
us to test against error types directly. Having made this change also
makes it obvious that our test coverage was lacking in two branches,
specifically, we were previously not testing empty start keys nor were
we testing for invalid start RVs.
2022-05-31 10:30:02 -07:00
Han Kang
731397086b remove deprecated metric and promote the replacement to STABLE 2022-05-31 09:53:28 -07:00
Kubernetes Prow Robot
135ac17f20
Merge pull request #110297 from kerthcet/cleanup/revise-unmatch-comments
Cleanup: modify unmatch comments with stopCh
2022-05-31 08:44:52 -07:00
Davanum Srinivas
50bea1dad8
Move from k8s.gcr.io to registry.k8s.io
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-05-31 10:16:53 -04:00
kerthcet
186470abd4 Cleanup: modify unmatch comments with stopCh
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-05-31 11:28:02 +08:00
Kubernetes Prow Robot
aae07c6f7b
Merge pull request #110287 from neolit123/1.25-add-url-scheme-e2e-test-for-cri-socket
test/e2e_kubeadm: add URL scheme test for node CRI annotations
2022-05-30 19:52:52 -07:00
Lubomir I. Ivanov
2a18a2d59b test/e2e_kubeadm: add URL scheme test for node CRI annotations
The tests in nodes_test.go check if the Node objects
in a kubeadm cluster are annotated with a CRI socket
path. It is used by kubeadm to store a CRI socket per node.

Add a new test condition to verify if the CRI socket path
is prefixed with URL scheme "unix://".
2022-05-30 17:10:14 +03:00
Kubernetes Prow Robot
7e3c98fd30
Merge pull request #96771 from soltysh/shortcut_expander
restmapper: re-try shortcut expander after not-found error
2022-05-30 05:14:51 -07:00
Maciej Szulik
f7d1eb7726
restmapper: re-try shortcut expander after not-found error 2022-05-30 13:09:22 +02:00
Kubernetes Prow Robot
92263ee0dd
Merge pull request #110072 from neolit123/1.25-kubeadm-etcd-liveness-probe
kubeadm: add serializable health checks for etcd probes
2022-05-30 00:40:52 -07:00
Kubernetes Prow Robot
c6970e6452
Merge pull request #110250 from wojtek-t/fix_leaking_goroutines_3
Fix leaking goroutines in scheduler integration tests
2022-05-28 05:51:02 -07:00
Kubernetes Prow Robot
4f851ebffb
Merge pull request #110145 from sxllwx/fix/audit-union-var-closures
fix audit union loop variables in closures
2022-05-28 05:50:50 -07:00
Kubernetes Prow Robot
dfefd5a698
Merge pull request #110244 from humblec/feature-gate
CSINodeExpandSecret featuregate has to be 1.25 based
2022-05-28 03:06:50 -07:00
Kubernetes Prow Robot
f3264dd0b3
Merge pull request #110031 from mk46/etcd-image-v3.5.4
etcd: Build image 3.5.4-0
2022-05-27 21:16:16 -07:00
Kubernetes Prow Robot
8b6dd065d7
Merge pull request #110255 from robscott/fix-pod-eviction-ip
Endpoints and EndpointSlices should not publish IPs for terminal pods
2022-05-27 16:24:42 -07:00
Kubernetes Prow Robot
016a7bbc0b
Merge pull request #110131 from stevekuznetsov/skuznets/stop-copying-metadata
customresource: stop shallow-copying metadata
2022-05-27 14:30:42 -07:00
Rob Scott
aa02b7a434
Updating e2e test to check EndpointSlices and Endpoints as well 2022-05-27 21:10:59 +00:00
Kubernetes Prow Robot
de449881fd
Merge pull request #109892 from jlsong01/add_annotation_comments
clarify a comment on annotation key validation
2022-05-27 11:36:41 -07:00
Kubernetes Prow Robot
6c2265cdab
Merge pull request #110246 from wojtek-t/fix_leaking_goroutines_2
Fix leaking goroutines in QuotaEvaluator
2022-05-27 07:45:07 -07:00
Kubernetes Prow Robot
f161dde085
Merge pull request #109977 from JohnTitor/remove-poddelete-use
Remove the use of derecated `PodDeleteTimeout` const
2022-05-27 06:21:08 -07:00
Wojciech Tyczyński
c802118e81 Update scheduler tests 2022-05-27 14:57:21 +02:00
Dan Winship
c44f5467a2 Remove unused and un-enable-able apiserver multiple ports feature
Theoretically, the apiserver could be told to advertise additional
ports on the kubernetes service, but there was no way to enable this
functionality without forking/vendoring the apiserver code. This was
apparently added in the distant past for OpenShift to use, but it has
not been used in OpenShift since Kubernetes 1.11.
2022-05-27 08:46:44 -04:00
Dan Winship
80e9d948e3 Add more Endpoints vs EndpointsSlices reconciler tests 2022-05-27 08:46:24 -04:00
Dan Winship
07de59ab60 Remove unused endpointSlicesEnabled fields 2022-05-27 08:46:23 -04:00
Dan Winship
91338c13df Use EndpointSlices in all reconciler unit tests
EndpointSlice is always enabled now, so make it non-optional in the
EndpointsAdapter, make all of the test cases pass an EndpointSlice
client, and remove the "EndpointSlices disabled"-specific tests.

By changing makeEndpointsArray() to return both an Endpoints and an
EndpointsSlice, the "initialObjects" and "expectCreate"/"expectUpdate"
fields of (almost) all of the existing unit tests are automatically
switched to be EndpointSlice-aware; instead of having an initial state
with just Endpoints (or nothing), and testing that just the Endpoints
is created/updated correctly, they now have an initial state with both
Endpoints and EndpointSlice (or nothing), and test that both objects
are created/updated correctly.

The handful of existing test cases that used inconsistent Endpoints
and EndpointSlice state have been modified to create the objects
separately.
2022-05-27 08:46:23 -04:00
Dan Winship
f543e7434a Improve reconciler test result checking
Consistently verify creates/updates based on the fake client's action
tracking, not based on the return values of the reconciler functions.
(This will also let us check that both Endpoints and EndpointSlices
were created/updated correctly.)
2022-05-27 08:46:23 -04:00
Dan Winship
4033de2034 Simplify endpoint creation in reconciler unit tests
Also make the expectCreate / expectUpdate fields into arrays while
we're rewriting their values anyway, to avoid additional churn in the
next commit.
2022-05-27 08:46:23 -04:00
Dan Winship
b07fe3a974 Simplify reconciler unit test setup
Pass initial state objects to fake.NewSimpleClientSet() rather than
calling Create() by hand.

(This will make it easier to have an initial state that is a mix of
Endpoints and EndpointSlices later on.)
2022-05-27 08:46:23 -04:00
Dan Winship
007ca4f69d Use t.Run() consistently in reconciler unit tests 2022-05-27 08:46:23 -04:00
Kubernetes Prow Robot
ad06854e5e
Merge pull request #110228 from mysunshine92/HPA-log-optimization
Error message optimization for podautoscaler controller
2022-05-27 05:13:18 -07:00
Kubernetes Prow Robot
40543b77b5
Merge pull request #110183 from lokichoggio/doc
complete doc
2022-05-27 05:13:07 -07:00