Wojciech Tyczyński
e1aa521c14
Minor refactor of DeleteCollection
2023-02-23 20:20:37 +01:00
Kubernetes Prow Robot
05f451b58f
Merge pull request #115645 from vaibhav2107/test-registry
...
Updated the change in registry
2023-02-09 04:56:24 -08:00
Kubernetes Prow Robot
19eddfc567
Merge pull request #110953 from Abirdcfly/220705
...
cleanup kubectl describe cronjob v1beta1 in 1.26
2023-02-09 02:40:24 -08:00
vaibhav2107
6ab8a8fbec
Updated the change in registry
2023-02-09 09:37:44 +05:30
Kubernetes Prow Robot
119dc95369
Merge pull request #114472 from danwinship/kep-3178-to-beta
...
update IPTablesOwnershipCleanup to beta
2023-02-08 19:44:35 -08:00
Kubernetes Prow Robot
9b09d0600a
Merge pull request #115569 from Huang-Wei/psr-unconditional-validation
...
Enforce nodeName cannot be set along with non-empty schedulingGates
2023-02-08 16:16:47 -08:00
Kubernetes Prow Robot
468ce59183
Merge pull request #115557 from MikeSpreitzer/cleanup-path-hack
...
Simplify construction of /metrics request
2023-02-08 09:28:58 -08:00
Dan Winship
1e8cc4b4a1
update IPTablesOwnershipCleanup to beta
2023-02-08 08:26:10 -05:00
Kubernetes Prow Robot
b0171f77f6
Merge pull request #115514 from pohly/event-broadcaster-shutdown
...
client-go: don't wait too long after EventBroadcaster.Shutdown
2023-02-08 04:38:58 -08:00
Kubernetes Prow Robot
b7ad17978e
Merge pull request #115601 from mattcary/no-lssd-test
...
Remove obsolete GKE local SSD test
2023-02-07 18:36:58 -08:00
Matthew Cary
69808b74ec
Remove obsolete GKE local SSD test
...
Change-Id: I156bd03ac740c2ebe394081d3106851f7182269f
2023-02-07 17:33:32 -08:00
Kubernetes Prow Robot
afee91ff65
Merge pull request #115597 from Riaankl/remove-four-csidrive-endpoints
...
Remove 4 CSIDriver endpoints with conformance test from the Ineligible endpoint list
2023-02-07 16:06:59 -08:00
Riaan Kleinhans
999e9f14f7
remove conformance tested endpoints
2023-02-08 11:55:44 +13:00
Wei Huang
feed8c683d
Enforce nodeName cannot be set along with non empty schedulingGates
2023-02-07 13:53:28 -08:00
Kubernetes Prow Robot
dfb976e25a
Merge pull request #114376 from baomingwang/serialization-error-metric
...
Added serialization from etcd error metric
2023-02-07 13:46:59 -08:00
Kubernetes Prow Robot
e4c8802407
Merge pull request #115577 from princepereira/ppereira-kubeproxy-ipv6-ut
...
[#115501 ] Unit testcase for the fix for issue with missing Loadbalancer policies for IPV6 endpoints in Dualstack mode.
2023-02-07 12:11:00 -08:00
Kubernetes Prow Robot
5437d493da
Merge pull request #114364 from bart0sh/PR102-prepare-DRA-resources-before-CNI-setup
...
kubelet: prepare DRA resources before CNI setup
2023-02-07 08:09:04 -08:00
Kubernetes Prow Robot
090025f5e6
Merge pull request #115548 from pohly/e2e-wait-for-pods-with-gomega
...
e2e: wait for pods with gomega, II
2023-02-07 07:01:21 -08:00
Kubernetes Prow Robot
22b88dea36
Merge pull request #115315 from enj/enj/i/kas_kubelet_conn_close
...
kubelet/client: collapse transport wiring onto standard approach
2023-02-07 07:01:14 -08:00
Kubernetes Prow Robot
b30ff25fdb
Merge pull request #112662 from Iceber/fix_sample_apiserver_readme
...
sample-apiserver: create the client cert with SHA256
2023-02-07 07:01:01 -08:00
Kubernetes Prow Robot
4f321041bd
Merge pull request #115537 from MadhavJivrajani/bump-tools-deps-go120
...
*: Bump golangci-lint version and adapt to new linters
2023-02-07 05:53:12 -08:00
Kubernetes Prow Robot
4b0d433dd9
Merge pull request #115536 from pwschuurman/kep-3335-enable-disable-unit-test
...
Add enablement/disablement unit test for StatefulSetStartOrdinal feature
2023-02-07 05:53:00 -08:00
Kubernetes Prow Robot
fc002b2f07
Merge pull request #115529 from aojea/ipam_reconile
...
replace nodeipam custom logic by a workqueue
2023-02-07 03:33:00 -08:00
Prince Pereira
83e9565dc6
[ #115501 ] Unit testcase for the fix for issue with missing Loadbalancer policies for IPV6 endpoints in Dualstack mode.
2023-02-07 16:13:14 +05:30
Kubernetes Prow Robot
8e20effbb7
Merge pull request #114695 from chendave/fix_cross_move
...
kubeadm: backup kubelet config for "upgrade node" and "upgrade apply"
2023-02-07 02:18:58 -08:00
Madhav Jivrajani
5e1f440d0a
*: Fix linter warnings
...
Adapt to newly improved linters in golangci-lint v1.51.1
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2023-02-07 13:01:41 +05:30
Kubernetes Prow Robot
e944fc28ca
Merge pull request #115443 from torredil/master
...
Add windows nodeSelector to e2e storage testing pods
2023-02-06 18:27:09 -08:00
Kubernetes Prow Robot
6eb008620c
Merge pull request #115379 from artemvmin/serial-mkfs
...
Add an option to limit the number of concurrent mkfs calls
2023-02-06 18:26:58 -08:00
Monis Khan
754cb3d601
kubelet/client: collapse transport wiring onto standard approach
...
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-02-06 20:34:49 -05:00
Kubernetes Prow Robot
2ab3151936
Merge pull request #108396 from tkashem/retry-metric
...
client-go: add a metric to count request retries
2023-02-06 15:30:58 -08:00
Artem Minyaylov
d2dd415f00
Add option to limit the number of concurrent mkfs calls
2023-02-06 14:27:57 -08:00
Mike Spreitzer
e9973979d0
Simplify construction of /metrics request
2023-02-06 16:20:34 -05:00
baomingwang
92c490f0bc
Added serialization from etcd error metric
2023-02-06 12:27:31 -08:00
Antonio Ojea
3bb203e7eb
replace nodeipam custom logic by a workqueue
...
Change-Id: I242174b9d92606b1225a4af29a0730b7cd7d3c03
2023-02-06 19:34:29 +00:00
Kubernetes Prow Robot
daf0d8d14f
Merge pull request #115542 from SataQiu/clean-apiserver-20230206
...
Using BuildOpenAPISpecFromRoutes instead of deprecated BuildOpenAPISpec
2023-02-06 11:30:58 -08:00
Ed Bartosh
4f88332ab4
kubelet: prepare DRA resources before CNI setup
2023-02-06 20:40:11 +02:00
Kubernetes Prow Robot
31d6d9a275
Merge pull request #108984 from LittleFox94/cloud-provider/logging-format
...
cloud-provider: add log options, allow setting logging-format via CLI option
2023-02-06 10:15:01 -08:00
torredil
25389ee0ee
Add nodeSelector to e2e storage testing pods
...
Signed-off-by: torredil <torredil@amazon.com>
2023-02-06 16:00:51 +00:00
Patrick Ohly
136f89dfc5
e2e: use error wrapping with %w
...
The recently introduced failure handling in ExpectNoError depends on error
wrapping: if an error prefix gets added with `fmt.Errorf("foo: %v", err)`, then
ExpectNoError cannot detect that the root cause is an assertion failure and
then will add another useless "unexpected error" prefix and will not dump the
additional failure information (currently the backtrace inside the E2E
framework).
Instead of manually deciding on a case-by-case basis where %w is needed, all
error wrapping was updated automatically with
sed -i "s/fmt.Errorf\(.*\): '*\(%s\|%v\)'*\",\(.* err)\)/fmt.Errorf\1: %w\",\3/" $(git grep -l 'fmt.Errorf' test/e2e*)
This may be unnecessary in some cases, but it's not wrong.
2023-02-06 15:39:13 +01:00
Patrick Ohly
9878e735dd
e2e pod: unit test for pod status + API error
...
This covers new behavior in gomega.
2023-02-06 15:39:13 +01:00
Patrick Ohly
1bd1167d56
e2e pod: remove dead code
2023-02-06 15:39:13 +01:00
Patrick Ohly
3bb735e6fa
e2e pod: use gomega.Eventually in WaitForRestartablePods
2023-02-06 15:39:13 +01:00
Patrick Ohly
1e346c4e4a
e2e pod: convert ProxyResponseChecker into matcher
...
Instead of pod responses being printed to the log each time polling fails, we
get a consolidated failure message with all unexpected pod responses if (and
only if) the check times out or a progress report gets produced.
2023-02-06 15:39:13 +01:00
Patrick Ohly
c3266cde77
e2e: consolidate pod response checking
...
This renames PodsResponding to WaitForPodsResponding for the sake of
consistency and adds a timeout parameter. That is necessary because some other
users of NewProxyResponseChecker used a much lower timeout (2min vs. 15min).
Besides simplifying some code, it also makes it easier to rewrite
ProxyResponseChecker because it only gets used in WaitForPodsResponding.
2023-02-06 15:39:13 +01:00
Patrick Ohly
89a5d6d8af
e2e pod: use gomega.Eventually in WaitForPodNotFoundInNamespace
2023-02-06 15:39:13 +01:00
Patrick Ohly
9df3e2a47a
e2e: replace WaitForPodToDisappear with WaitForPodNotFoundInNamespace
...
WaitForPodToDisappear was always called such that it listed all pods, which
made it less efficient than trying to get just the one pod it was checking for.
Being able to customize the poll interval in practice wasn't useful, therefore
it can be replaced with WaitForPodNotFoundInNamespace.
2023-02-06 15:39:12 +01:00
Patrick Ohly
45d4631069
e2e: consolidate checking a pod list
...
WaitForPods is now a generic function which lists pods and then checks the pods
that it found against some provided condition. A parameter determines how many
pods must be found resp. match the condition for the check to succeed.
2023-02-06 15:39:12 +01:00
Patrick Ohly
d8428c6fb1
e2e pod: use gomega.Eventually in WaitTimeoutForPodReadyInNamespace/WaitForPodCondition
...
These get converted together because they relied on FinalErr which now isn't
needed anymore.
2023-02-06 15:39:12 +01:00
Patrick Ohly
01a40d9d6b
e2e framework: support getting list of objects
...
This is similar to the previous support for getting a single object.
2023-02-06 15:39:12 +01:00
Patrick Ohly
3dd185aa40
e2e pod: use gomega.Eventually in WaitForPodsRunningReady
...
The code becomes simpler (78 insertions, 91 deletions), easier to read (all
code entirely inside WaitForPodsRunningReady, no need to declare and later
overwrite variables) and possibly more correct (if all API calls failed,
the resulting error was ignored when allowedNotReadyPods > 0).
2023-02-06 15:39:12 +01:00