Commit Graph

130846 Commits

Author SHA1 Message Date
PatrickLaabs
dc947510da chore: depr. pointer pkg replacement for psa tests 2025-07-05 12:09:17 +02:00
Kubernetes Prow Robot
22f5e01a37 Merge pull request #132720 from PatrickLaabs/132086-cloud-provider
chore: depr. pointer pkg replacement for the cloud-provider
2025-07-04 19:13:31 -07:00
Kubernetes Prow Robot
f1190f1d35 Merge pull request #132716 from ylink-lfs/chore/lb_test_utilpointer_removal
chore: remove utilpointer usage in test/integration/service/loadbancer_test.go
2025-07-04 19:13:24 -07:00
Kubernetes Prow Robot
35fd91229a Merge pull request #132725 from PatrickLaabs/132086-apiext-registry
chore: depr. pointer pkg replacement for apiext. pkg/registry
2025-07-04 16:53:24 -07:00
Kubernetes Prow Robot
3fdc11cbe0 Merge pull request #130230 from carlory/cleanup-CSIDriverRegistry
clean up CSIDriverRegistry
2025-07-04 15:25:31 -07:00
Kubernetes Prow Robot
84c00d8538 Merge pull request #124318 from liangyuanpeng/drop-ptr-wrappers-pkg-util
pkg/util: drop pointer wrapper functions.
2025-07-04 15:25:24 -07:00
Kubernetes Prow Robot
0fe23942fd Merge pull request #128653 from saschagrunert/cri-gogo
Remove gogo from proto bindings (part 1: CRI)
2025-07-04 07:21:25 -07:00
PatrickLaabs
27812e44bc chore: depr. pointer pkg replacement for apiext. pkg/registry 2025-07-04 10:47:12 +02:00
PatrickLaabs
b72ab8a4e1 chore: depr. pointer pkg replacement for the cloud-provider 2025-07-04 09:51:22 +02:00
Sascha Grunert
b464bbeb8f Remove gogo-protobuf from CRI
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-07-04 08:55:57 +02:00
ylink-lfs
ce7b3694f7 chore: remove utilpointer usage in package test/integration/service/loadbancer_test.go 2025-07-04 12:54:52 +08:00
Kubernetes Prow Robot
60e7f66dba Merge pull request #132693 from ylink-lfs/chore/conversion_utilpointer_removal
chore: remove utilpointer usage in conversion package
2025-07-03 21:35:25 -07:00
ylink-lfs
9016f9cb1b chore: remove utilpointer usage in conversion package 2025-07-04 09:29:47 +08:00
Kubernetes Prow Robot
6ace4832c2 Merge pull request #132701 from PatrickLaabs/132086-kube-aggregator
chore: depr. pointer pkg replacement for the kube-aggregator
2025-07-03 14:43:32 -07:00
Kubernetes Prow Robot
8947e2fae0 Merge pull request #132115 from liangyuanpeng/drop-ptr-wrappers-pkg-apps
pkg/appis/apps: use utils/ptr package instead of utils/pointer
2025-07-03 14:43:25 -07:00
Kubernetes Prow Robot
de74ab716e Merge pull request #132699 from PatrickLaabs/132086-csr
chore: depr. pointer pkg replacement for the csr
2025-07-03 13:37:32 -07:00
Kubernetes Prow Robot
52787dd1d0 Merge pull request #132683 from pohly/dra-resourceslice-recreate-fix
DRA resourceslice controller: fix recreation after quick delete
2025-07-03 13:37:25 -07:00
Kubernetes Prow Robot
0ce9a03285 Merge pull request #132698 from PatrickLaabs/132086-reflector
chore: depr. pointer pkg replacement for the reflector
2025-07-03 12:31:24 -07:00
Kubernetes Prow Robot
f93a8c58d7 Merge pull request #132674 from jsafrane/fix-volumelimit-cleanup
Fix volume limit e2e test cleanup
2025-07-03 08:37:25 -07:00
Federico Bongiovanni
43b22a2439 Apply fix to namespace deletion test (#132691)
* Apply fix to namespace deletion test

* Update test/e2e/apimachinery/namespace.go

Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>

* Update namespace.go

oops

---------

Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2025-07-03 05:07:24 -07:00
PatrickLaabs
0766a3c6b1 chore: depr. pointer pkg replacement for the kube-aggregator apiregistration 2025-07-03 11:58:42 +02:00
Kubernetes Prow Robot
0617903e9d Merge pull request #131344 from pohly/dra-taint-unit-test-flake-minimal
DRA: work around fake.ClientSet informer deficiency in unit test
2025-07-03 02:51:25 -07:00
PatrickLaabs
6c3146e355 chore: depr. pointer pkg replacement for the csr 2025-07-03 11:34:13 +02:00
PatrickLaabs
9345552274 chore: depr. pointer pkg replacement for the reflactor 2025-07-03 11:27:00 +02:00
Jan Safranek
ebea328f17 Fix volume limit e2e test cleanup
Pass the local test state to cleanupTest() as a pointer. It is mostly empty
at the point of calling `DeferCleanup(cleanupTest)`, so using
`ginkgo.DeferCleanup(cleanupTest, ..., l.podNames, ...)` will pass empty
podNames to the cleanup.

And now that the cleanup actually does something, fix the error handling in
it.
2025-07-03 10:46:45 +02:00
Kubernetes Prow Robot
2a4b5f6476 Merge pull request #132314 from thockin/jp_nicer_api_errors
Nicer value rendering in API errors
2025-07-03 01:33:33 -07:00
Kubernetes Prow Robot
2c2530c3dd Merge pull request #131902 from liuxu623/fix-storage-objects-metrics
remove apiserver_storage_objects metrics after crd deleted
2025-07-03 01:33:26 -07:00
Patrick Ohly
2e966244ed DRA resourceslice controller: fix recreation after quick delete
If a ResourceSlice got published by the ResourceSlice controller in a DRA
driver and then that ResourceSlice got deleted quickly (within one minute, the
mutation cache TTL) by someone (for example, the kubelet because of a restart),
then the controller did not react properly to the deletion unless some other
event triggered the syncing of the pool.

Found while adding upgrade/downgrade tests with a driver which keeps running
across the upgrade/downgrade.

The exact sequence leading to this were:
- controller adds ResourceSlice, schedules a sync for one minute in the future (the TTL)
- someone else deletes the ResourceSlice
- add and delete events schedule another sync 30 seconds in the future (the delay),
  *overwriting* the other scheduled sync
- sync runs once, finds deleted slices in the mutation cache,
  does not re-create them, and also does not run again

One possible fix would be to set a resync period. But then work is done
periodically, whether it's necessary or not.

Another fix is to ensure that the TTL is shorter than the delay. Then when a
sync occurs, all locally stored additional slices are expired. But that renders
the whole storing of recently created slices in the cache pointless.

So the fix used here is to keep track of when another sync has to run because
of added slices. At the end of each sync, the next sync gets scheduled if (and
only if) needed, until eventually syncing can stop.
2025-07-03 08:20:39 +02:00
Kubernetes Prow Robot
7f4f1c29a9 Merge pull request #132688 from pohly/dra-e2e-load-fix
DRA E2E: serialize costly test
2025-07-02 22:01:24 -07:00
liuxu
8c6c7df736 remove apiserver_storage_objects metrics after crd deleted 2025-07-03 09:57:15 +08:00
Gemma Hou
a7e8a505c2 Improve ignore-not-found behavior (#132542)
* Improve ignore-not-found behavior

* ignore lint errcheck
2025-07-02 18:53:24 -07:00
Kubernetes Prow Robot
e47ac3eb6f Merge pull request #132675 from dims/bump-sigs-k8s-io-json-no-code-changes
Bump sigs.k8s.io/json to latest - no code changes
2025-07-02 15:03:23 -07:00
Kubernetes Prow Robot
305c0e06c9 Merge pull request #132677 from dims/update-github.com/emicklei/go-restful/v3-to-v3.12.2
Update github.com/emicklei/go-restful/v3 to v3.12.2
2025-07-02 13:41:23 -07:00
Kubernetes Prow Robot
b109e0fe10 Merge pull request #132685 from gnufied/fix-offline-expansion-tests
Fix offline expansion tests for case where no node expansion tests is required
2025-07-02 11:27:31 -07:00
Kubernetes Prow Robot
0a51ae2254 Merge pull request #132049 from googs1025/fix/data_race_patch
fix: data race for patchResource func
2025-07-02 11:27:24 -07:00
Patrick Ohly
ad0b2bf4f5 DRA E2E: serialize costly test
After enabling more tests in 00dd610c93,
periodic ci-kind-dra-all became unstable, with random flakes at the time when
the "supports sharing a claim sequentially". Probably the cluster became
overwhelmed by the number of pods which wanted to run in parallel. Running this
tests in the serial phase of a Ginkgo run should fix this.
2025-07-02 18:11:46 +02:00
Arthur Befumo
33cd2e1ba0 Fix AuthInfo godoc for Token / TokenFile precedence (#132659)
* Fix AuthInfo godoc for Token / TokenFile precedence

* nit

* update
2025-07-02 08:55:24 -07:00
Kubernetes Prow Robot
01c03ae9cf Merge pull request #132676 from dims/bump-go.yaml.in/yaml/v3-to-v3.0.4
Bump go.yaml.in/yaml/v3 to v3.0.4
2025-07-02 07:43:25 -07:00
Hemant Kumar
c6f87f6e64 Fix offline expansion tests for case where no node expansion tests is required 2025-07-02 10:17:26 -04:00
Davanum Srinivas
b44b0fbf12 Update github.com/emicklei/go-restful/v3 to v3.12.2
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-07-02 08:00:43 -04:00
Davanum Srinivas
58e620cc44 Bump go.yaml.in/yaml/v3 to v3.0.4
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-07-02 07:37:06 -04:00
Davanum Srinivas
00f8cbae6b Bump sigs.k8s.io/json to latest - no code changes
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-07-02 07:32:24 -04:00
Kubernetes Prow Robot
95bff1b249 Merge pull request #132003 from tchap/kubectl-apply-cache-openapi-schema
kubectl: Cache Verifier.HasSupport calls
2025-07-02 04:03:26 -07:00
Kubernetes Prow Robot
4186edc4d1 Merge pull request #132615 from mimowo/commonize-pod-indexing
Commonize filtering of Pods by Owner with all orphans in namespace
2025-07-02 02:03:32 -07:00
Kubernetes Prow Robot
a735818b7a Merge pull request #132533 from nojnhuh/dra-orphan-claim
DRA: fix deleting orphaned ResourceClaim on startup
2025-07-02 02:03:25 -07:00
Ondra Kupka
9043afae6d kubectl: Cache Verifier.HasSupport calls
The underlying implementation decodes OpenAPI schema on every HasSupport
call. This causes these calls to be expensive and noticable when many
resources are being applied.

This patch wraps the verifier with a thread-safe cache so that when many
resources of the same kind are being checked, only the first call
includes schema decoding.

This solution is specifically limited to the kubectl codebase without
any changes required in client-go, for now, although that is where the
issue is actually originating.
2025-07-02 08:40:37 +02:00
Kubernetes Prow Robot
cc1fc3eea0 Merge pull request #132380 from gnufied/move-recovery-tests-ga
Move recovery tests ga
2025-07-01 15:21:24 -07:00
Kubernetes Prow Robot
4dbfe24404 Merge pull request #132541 from acpana/acpana/helpers-tests
tests: add more units
2025-07-01 14:15:24 -07:00
Kubernetes Prow Robot
db49c25956 Merge pull request #132654 from Jefftree/b-openapi
Bump kube-openapi
2025-07-01 12:43:30 -07:00
Kubernetes Prow Robot
d3296eac97 Merge pull request #132614 from mimowo/fix-job-controller-edge
Fix validation for Job with suspend=true,completions=0 to set Complete condition
2025-07-01 12:43:24 -07:00