Commit Graph

130861 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
aeb7a8bc19 Merge pull request #132739 from ylink-lfs/chore/autoscaling_utilpointer_removal
chore: remove utilpointer usage in pkg/apis/autoscaling
2025-07-05 18:59:24 -07:00
Kubernetes Prow Robot
4103375bee Merge pull request #132113 from liangyuanpeng/drop-ptr-wrappers-pkg-kubeapiserver
pkg/kubeapiserver: use utils/ptr package instead of utils/pointer
2025-07-05 17:51:31 -07:00
Kubernetes Prow Robot
c02dee7920 Merge pull request #129785 from toVersus/chore/cleanup-named-port-func
Cleanup duplicate function to get port number from named port
2025-07-05 17:51:25 -07:00
Kubernetes Prow Robot
26135216e7 Merge pull request #132726 from PatrickLaabs/132086-apiext-apiserver-validation
chore: depr. pointer pkg replacement for apiext. apiservers validations
2025-07-05 16:41:24 -07:00
Kubernetes Prow Robot
38f534fc4c Merge pull request #132743 from PatrickLaabs/132086-psa-policy
chore: depr. pointer pkg replacement for psa policy
2025-07-05 14:13:37 -07:00
Kubernetes Prow Robot
95b18e4d42 Merge pull request #132742 from PatrickLaabs/132086-podsecadmission-admissiontest
chore: depr. pointer pkg replacement for psa admissiontest
2025-07-05 14:13:30 -07:00
Kubernetes Prow Robot
d79c1e7eaa Merge pull request #132721 from PatrickLaabs/132086-apiext-integration
chore: depr. pointer pkg replacement for apiext. integration
2025-07-05 14:13:23 -07:00
Kubernetes Prow Robot
f5e136df9d Merge pull request #132724 from PatrickLaabs/132086-apiext-controller
chore: depr. pointer pkg replacement for apiext. pkg/cntroller
2025-07-05 12:19:24 -07:00
PatrickLaabs
c5b0c9fdc0 chore: depr. pointer pkg replacement for psa policy 2025-07-05 12:23:02 +02:00
PatrickLaabs
88d885e407 chore: depr. pointer pkg replacement for psa admissiontest 2025-07-05 12:13:28 +02:00
PatrickLaabs
35e118a479 chore: depr. pointer pkg replacement for apiext. apiservers validations 2025-07-05 09:51:57 +02:00
PatrickLaabs
4a205cc7fd chore: depr. pointer pkg replacement for apiext. pkg/cntroller 2025-07-05 09:50:03 +02:00
PatrickLaabs
b8ec161d7f chore: depr. pointer pkg replacement for apiext. integration 2025-07-05 09:39:02 +02:00
ylink-lfs
ca1d7fff7f chore: remove utilpointer usage in pkg/apis/autoscaling 2025-07-05 11:45:52 +08: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
Tsubasa Nagasawa
0ad351281b Cleanup duplicate function to get port number from named port
Currently, the function to translate named port to port number is
located in two places (pod utils and endpointslice lib).
When fixing the bug in restartable init containers, one part of the code
was fixed, but the other part was not, leaving the bug unresolved.
To prevent such partial fixes in the future, we will make the function
in the endpointslice lib public and remove the other part of the code
from pod utils. Then consume the endpointslice lib in k/k.

Signed-off-by: Tsubasa Nagasawa <toversus2357@gmail.com>
2025-07-05 10:03:30 +09: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