Commit Graph

118912 Commits

Author SHA1 Message Date
Prince Pereira
7dea3d6c3b New mock test framework for windows kubeproxy. 2023-09-08 08:38:46 +05:30
devincd
975da2fb23 fix typo in client-go package
Signed-off-by: devincd <505259926@qq.com>
2023-09-08 10:31:07 +08:00
Kubernetes Prow Robot
fba0802836
Merge pull request #120504 from andrewsykim/fix-scheduler-tests
reduce CPU requests for fluentd-gcp to fix failing tests
2023-09-07 17:27:56 -07:00
Kubernetes Prow Robot
b685f5204a
Merge pull request #120471 from ii/create-storageclass-lifecycle-test
Write e2e test for StorageClass Endpoints + 7 Endpoints
2023-09-07 14:40:57 -07:00
Antonio Ojea
3a1a67e33d add aojea as controplane reviewer
Change-Id: Ie1aa38791c1cf1399c762120e687fedd360f6067
2023-09-07 21:26:32 +00:00
Antonio Ojea
cc77b97c5e add aojea as client-go approver
After 12 months as reviewer, constantly reviewing and contributing
to client-go, I think is fair to move to the next ladder.

Change-Id: I49e579dcefcd39c6f0b29400c90467df00719cca
2023-09-07 21:16:19 +00:00
Alexander Zielenski
7a13b11af0 update e2e import restrictions 2023-09-07 12:20:29 -07:00
Andrew Sy Kim
6c973f01d2 reduce CPU requests for fluentd-gcp to fix failing tests
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2023-09-07 17:58:57 +00:00
Alexander Zielenski
8451c80b60 pin gengo 2023-09-07 09:49:30 -07:00
Kubernetes Prow Robot
6c39a3724d
Merge pull request #120493 from cpanato/golang1211
[go] Bump images, dependencies and versions to go 1.21.1
2023-09-07 09:37:08 -07:00
Kubernetes Prow Robot
c1628f3b6f
Merge pull request #119934 from letmerecall/fix-testgrid-links
Fix broken links to testgrid dashboard
2023-09-07 09:36:57 -07:00
Kubernetes Prow Robot
440eb7eadb
Merge pull request #119495 from bzsuni/cleanup/api/legacyBetaEnabledByDefaultResources
remove resource flowschemas and prioritylevelconfigurations from legacyBetaEnabledByDefaultResources in v1.29
2023-09-07 08:10:58 -07:00
guangli.bao
93d93258b1 bump: upgrade gorilla/websocket from v1.4.2 to v1.5.0 2023-09-07 22:27:58 +08:00
Kubernetes Prow Robot
58ce734223
Merge pull request #120255 from likakuli/feat-addreferenceonlyfirsttime
feat: minimize unnecessary API requests to the API server for the configmap/secret get API
2023-09-07 06:42:57 -07:00
cpanato
98af8befe2
[go] Bump images, dependencies and versions to go 1.21.1
Signed-off-by: cpanato <ctadeu@gmail.com>
2023-09-07 14:56:56 +02:00
Kubernetes Prow Robot
1a1a3d0a87
Merge pull request #120482 from carlory/cleanup-1
HandleRetry has already called in the GetObject
2023-09-07 03:53:08 -07:00
Kubernetes Prow Robot
0c7e1fbe9d
Merge pull request #118677 from ardaguclu/local-support-empty-config
Gracefully handle empty config error when local flag is used
2023-09-07 03:52:57 -07:00
SataQiu
dbd3eb5419 remove logcheck.yaml 2023-09-07 18:24:13 +08:00
carlory
2d1877c97b fix breaking pv creation when the validation webhook exists 2023-09-07 16:45:53 +08:00
Kubernetes Prow Robot
163553bbe0
Merge pull request #120479 from carlory/cleanup-e2e-apimachinery-framework-equal
fix typecast missing
2023-09-07 01:26:58 -07:00
carlory
f33265cf5d HandleRetry has already called in the GetObject 2023-09-07 15:48:18 +08:00
Kubernetes Prow Robot
2d5b6f16f5
Merge pull request #120213 from pohly/dra-scheduler-resourceclass-missing
dra: resourceclass missing
2023-09-06 23:47:09 -07:00
Kubernetes Prow Robot
b27670dfbd
Merge pull request #118740 from saschagrunert/kubelet-label-types
Make kubelet label types public
2023-09-06 23:46:57 -07:00
carlory
fc51a27c03 fix typecast missing 2023-09-07 14:25:29 +08:00
Francesco Romani
2ea47038b9 podresources: e2e: force eager connection
Add and use more facilities to the *internal* podresources client.
Checking e2e test runs, we have quite some
```
rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix /var/lib/kubelet/pod-resources/kubelet.sock: connect: connection refused": rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix /var/lib/kubelet/pod-resources/kubelet.sock: connect: connection refused"
```

This is likely caused by kubelet restarts, which we do plenty in e2e tests,
combined with the fact gRPC does lazy connection AND we don't really
check the errors in client code - we just bubble them up.

While it's arguably bad we don't check properly error codes, it's also
true that in the main case, e2e tests, the functions should just never
fail besides few well known cases, we're connecting over a
super-reliable unix domain socket after all.

So, we centralize the fix adding a function (alongside with minor
cleanups) which wants to trigger and ensure the connection happens,
localizing the changes just here. The main advantage is this approach
is opt-in, composable, and doesn't leak gRPC details into the client
code.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2023-09-07 08:24:49 +02:00
Kubernetes Prow Robot
4f303d1236
Merge pull request #117326 from akhilerm/update-selinux
dependencies: update opencontainers/selinux to v1.11.0
2023-09-06 21:48:56 -07:00
Kubernetes Prow Robot
cc1c416edd
Merge pull request #120374 from liggitt/cloud-deps
Track vendored status of unwanted deps, add more cloud dependencies
2023-09-06 19:52:55 -07:00
Jordan Liggitt
6cd446a206
Add cloud library to unwanted deps 2023-09-06 21:48:30 -04:00
Jordan Liggitt
9f76d8d45a
Track vendor status of unwanted deps 2023-09-06 21:48:30 -04:00
Kubernetes Prow Robot
04fd79d7d8
Merge pull request #120472 from sanposhiho/flake-fix
fix(queue_test): make sure the first bind failure via counter
2023-09-06 14:18:56 -07:00
Kensei Nakada
87d49a51be fix(queue_test): make sure the first bind failure via counter 2023-09-06 19:47:54 +00:00
Kubernetes Prow Robot
9f3cfbbcdb
Merge pull request #120448 from aroradaman/revert-103174-rancher-33360
Revert "Do not attempt to overwrite higher system (sysctl) values"
2023-09-06 12:35:16 -07:00
Kubernetes Prow Robot
eb0724a699
Merge pull request #120404 from kerthcet/flaky-test/bind
Output the error message for better analysis
2023-09-06 12:35:08 -07:00
Kubernetes Prow Robot
cf8f9a8d07
Merge pull request #119334 from kmala/serverapply
update the dependency sigs.k8s.io/structured-merge-diff/v4 to latest tag
2023-09-06 12:34:55 -07:00
Kubernetes Prow Robot
3ed537ab46
Merge pull request #119988 from bzsuni/cleanup/e2e/app
[e2e_app] stop using deprecated framework.ExpectNotEqual
2023-09-06 11:08:51 -07:00
Todd Neal
94afd6e3a4 skip the reason check for OOM tests if it will fail
This is currently flaking badly due to a race between cgroup deletion
and the runtime detecting the OOM kill.
2023-09-06 12:20:02 -05:00
Matthias Riegler
d7b7a85fbc
feat: make user-defined plugins discoverable with e.g. kubectl help (#116752)
* feat: make user-defined plugins discoverable with e.g. kubectl help

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* fix: make help text localizable & rename it

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* chore: address CRs, cleanup

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* fix: plugin execution

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

---------

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2023-09-06 09:12:52 -07:00
Gunju Kim
b468e4eb1c
e2e_node: Assign enough time to finish the postStart hook
This deflakes the "Containers Lifecycle should not launch second
container before PostStart of the first container completed" test by
assigning enough time to finish the postStart hook.
2023-09-07 00:42:54 +09:00
Kubernetes Prow Robot
56cc5e77a1
Merge pull request #120441 from tzneal/revert-npd-update
Revert "bump npd to v0.8.14"
2023-09-06 06:39:04 -07:00
Kubernetes Prow Robot
c0a38d01aa
Merge pull request #120433 from enj/enj/f/kmsv2_default_enable_kdf
kmsv2: enable KMSv2KDF feature gate by default
2023-09-06 06:38:52 -07:00
Kubernetes Prow Robot
a759bf2b1e
Merge pull request #119461 from carlory/cleanup-e2e-auth-framework-equal
e2e_auth: stop using deprecated framework.ExpectEqual
2023-09-06 05:35:19 -07:00
Kubernetes Prow Robot
ea5862ca4e
Merge pull request #119459 from carlory/cleanup-e2e-apimachinery-framework-equal
e2e_apimachinery: stop using deprecated framework.ExpectEqual
2023-09-06 05:35:12 -07:00
Kubernetes Prow Robot
8703ca2413
Merge pull request #118996 from cpanato/golang121
[go] Bump images, dependencies and versions to go 1.21.0
2023-09-06 05:34:54 -07:00
Patrick Ohly
c4dd16a1f8 golangci-lint: warn about deprecated APIs only as hints
This particualar warning didn't make it into
https://github.com/kubernetes/kubernetes/issues/117288.  Discussion on Slack
concluded that "it's hard to have a universal policy for all functions marked
deprecated" and thus this can only be a hint which must be considered on a
case-by-case basis.

For example, APIs like sets.String are very unlikely to ever go away, therefore
it is entirely up to developers whether they switch to sets.Set even though
sets.String is marked as deprecated.

Ideally, the deprecation message should explain this. It doesn't for sets ("use
generic Set instead"), so a better message in that case would have been
"consider using generic Set instead".
2023-09-06 13:30:51 +02:00
Kubernetes Prow Robot
a8aa3621f2
Merge pull request #120407 from shijinye/e2ecleanup-storage-errwaittimeout
cleanup:e2e:stop using deprecated wait.ErrWaitTimeout
2023-09-06 04:20:51 -07:00
carlory
36d3672249 e2e_auth: stop using deprecated framework.ExpectEqual 2023-09-06 18:29:28 +08:00
cpanato
9c1df5ff0a
move back to bullseye
Signed-off-by: cpanato <ctadeu@gmail.com>
2023-09-06 12:06:54 +02:00
cpanato
67858e1ff0
Bump images, dependencies and versions to go 1.21.0
Signed-off-by: cpanato <ctadeu@gmail.com>
2023-09-06 12:06:51 +02:00
Patrick Ohly
c682d2b8c5 scheduler: add ResourceClass events
When filtering fails because a ResourceClass is missing, we can treat the pod
as "unschedulable" as long as we then also register a cluster event that wakes
up the pod. This is more efficient than periodically retrying.
2023-09-06 11:14:08 +02:00
carlory
15a402eefb e2e_apimachinery: stop using deprecated framework.ExpectEqual 2023-09-06 14:43:45 +08:00