Commit Graph

130636 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
7f4996ba39 Merge pull request #132517 from michaelasp/fixflake
fix: Add wait for cache sync for customresourcediscovery tests
v1.34.0-alpha.2
2025-06-25 08:26:37 -07:00
Kubernetes Prow Robot
b832d100f6 Merge pull request #132480 from pohly/kubectl-init-logging
kubectl: avoid logging during init
2025-06-25 08:26:30 -07:00
Kubernetes Prow Robot
1d932bd6cc Merge pull request #132504 from jpbetz/name-formats
Introduce OpenAPI format support for k8s-short-name and k8s-long-name
2025-06-25 06:46:38 -07:00
Kubernetes Prow Robot
56fd09057a Merge pull request #132485 from saschagrunert/lifecycle-test-improvement
Improve containers lifecycle test output parsing
2025-06-25 06:46:31 -07:00
Lukasz Szaszkiewicz
b8b3984874 client-go/reflector: stop exposing UseWatchList (#132453)
* client-go/reflector: stop exposing UseWatchList

* apiserver/cacher: stop setting reflector.UseWatchList

* test/integration/watchlist: fix TestReflectorWatchListFallback
2025-06-25 04:04:29 -07:00
Kubernetes Prow Robot
587aa60686 Merge pull request #132483 from serathius/active-poll
Activly poll for namespace termination instead of sleeping
2025-06-25 02:58:35 -07:00
Kubernetes Prow Robot
49bff137a7 Merge pull request #132374 from PatrickLaabs/132358
Fixed large resourceversion and limit for storages
2025-06-25 02:58:28 -07:00
Kubernetes Prow Robot
8eda367f27 Merge pull request #132497 from p0lyn0mial/upstream-watchlist-etcd-cacher
apiserver/storage/cacher/listwatcher: error when the WatchList FG is disabled
2025-06-25 01:04:28 -07:00
Sascha Grunert
0028ea8e99 Improve containers lifecycle test output parsing
This should fix the following test when running it with CRI-O:

```
[It] [sig-node] [Feature:SidecarContainers] [Serial] Containers
Lifecycle when A node running restartable init containers reboots should
restart the containers in right order with the proper phase after the
node reboot
```

The issue is that we have prefixed "unable to retrieve container logs
for …" outputs in the message to be parsed. We now skip that part and
leave the current behavior untouched.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-06-25 08:51:29 +02:00
Lukasz Szaszkiewicz
7e0d71fc14 apiserver/storage/cacher/listwatcher: error when the WatchList FG is disabled 2025-06-25 08:51:20 +02:00
Michael Aspinwall
35ecb00f1c fix: Add wait for cache sync for customresourcediscovery tests 2025-06-24 22:19:35 +00:00
Kubernetes Prow Robot
ec80dcaf38 Merge pull request #132467 from sdowell/ssa-terminating
fix: prevent SSA from creating CR while CRD terminating
2025-06-24 12:08:27 -07:00
Marek Siarkowicz
d6d186ece0 Activly poll for namespace termination instead of sleeping 2025-06-24 20:56:44 +02:00
Joe Betz
e1daa69de8 Add printer column validation tests 2025-06-24 14:52:37 -04:00
Joe Betz
369e6a25a2 Introduce k8s-short-name and k8s-long-name to the OpenAPI formats supported by CRDs 2025-06-24 14:52:27 -04:00
Sam Dowell
6f1295ae9d fix: prevent SSA from creating CR while CRD terminating
This change adds consistent validation for server side apply to prevent
new CustomResources from being creating while its
CustomResourceDefinition is in the terminating state.
2025-06-24 11:04:25 -07:00
Kubernetes Prow Robot
8d2a5a2c9c Merge pull request #132499 from liggitt/unwanted-json-patch-v5
Add json-patch v4 compatibility test
2025-06-24 09:54:35 -07:00
Kubernetes Prow Robot
5b1af0c8c2 Merge pull request #127655 from guozheng-shen/remove-usage
remove 'endpointsleases' and 'configmapsleases' from usage
2025-06-24 09:54:28 -07:00
Kubernetes Prow Robot
80474f7b4a Merge pull request #132470 from michaelasp/fixInvalidObj
fix: Improve error messaging on updating a deleted object
2025-06-24 08:24:36 -07:00
Kubernetes Prow Robot
c379296bd1 Merge pull request #132255 from likakuli/feat-nothingfastreturn
feat: optimize ListAll and ListAllByNamespace to return directly when nothing to select
2025-06-24 08:24:29 -07:00
Kubernetes Prow Robot
885db534ca Merge pull request #132376 from tico88612/cleanup/message-count-map
apimachinery/pkg/util/errors: deprecated MessageCountMap
2025-06-24 07:04:35 -07:00
Kubernetes Prow Robot
49c20d6f44 Merge pull request #132173 from dejanzele/feat/promote-job-pod-replacement-policy-ga
KEP-3939: Job Pod Replacement Policy; promote to GA
2025-06-24 07:04:28 -07:00
Joe Betz
dc323756ce Bump to latest kube-openapi 2025-06-24 09:24:27 -04:00
Jordan Liggitt
d180fe28ad Add json-patch v4 compatibility test 2025-06-24 09:23:39 -04:00
Stephen Kitt
2ca4ffe653 Add evanphx/json-patch/v5 to unwanted dependencies
This comes up periodically; bumping to v5 introduces issues with
replace operations in JSON patches. k/k relies on non-RFC-compliant
operations which v5 no longer allows.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2025-06-24 09:18:04 -04:00
likakuli
5a7e04b6cc feat: optimize ListAll and ListAllByNamespace to return directly when nothing to select
Signed-off-by: likakuli <1154584512@qq.com>
2025-06-24 21:12:56 +08:00
Kubernetes Prow Robot
ae15bc5613 Merge pull request #132479 from p0lyn0mial/upstream-watchlist-cacher-listwatcher
apiserver/cacher: properly wire listwatch options to the listwatcher
2025-06-24 03:48:29 -07:00
Lukasz Szaszkiewicz
dce69afade apiserver/cacher: properly wire listwatch options to the listwatcher 2025-06-24 11:39:44 +02:00
Patrick Ohly
0276769c2c kubectl: avoid logging during init
LoadTranslations gets called during the init phase:

     0  0x0000000005926c56 in k8s.io/kubectl/pkg/util/i18n.LoadTranslations
        at ./staging/src/k8s.io/kubectl/pkg/util/i18n/i18n.go:146
     1  0x0000000005926727 in k8s.io/kubectl/pkg/util/i18n.init.func1
        at ./staging/src/k8s.io/kubectl/pkg/util/i18n/i18n.go:60
     2  0x000000000592780f in k8s.io/kubectl/pkg/util/i18n.lazyLoadTranslations.func1
        at ./staging/src/k8s.io/kubectl/pkg/util/i18n/i18n.go:191
     3  0x0000000001b876e8 in sync.(*Once).doSlow
        at /nvme/gopath/go-1.24.0/src/sync/once.go:78
     4  0x0000000001b8753e in sync.(*Once).Do
        at /nvme/gopath/go-1.24.0/src/sync/once.go:69
     5  0x0000000005927565 in k8s.io/kubectl/pkg/util/i18n.lazyLoadTranslations
        at ./staging/src/k8s.io/kubectl/pkg/util/i18n/i18n.go:187
     6  0x00000000059275cd in k8s.io/kubectl/pkg/util/i18n.T
        at ./staging/src/k8s.io/kubectl/pkg/util/i18n/i18n.go:201
     7  0x000000000599fb6d in k8s.io/kubectl/pkg/cmd/apiresources.init
        at <autogenerated>:1
     8  0x0000000001b41bf4 in runtime.doInit1
        at /nvme/gopath/go-1.24.0/src/runtime/proc.go:7350
     9  0x0000000001b6bf8a in runtime.doInit
        at /nvme/gopath/go-1.24.0/src/runtime/proc.go:7317
    10  0x0000000001b33910 in runtime.main
        at /nvme/gopath/go-1.24.0/src/runtime/proc.go:254
    11  0x0000000001b72881 in runtime.goexit
        at /nvme/gopath/go-1.24.0/src/runtime/asm_amd64.s:1700

During init, klog verbosity is either zero (making the log call redundant
because it doesn't print anything) or some other init function reconfigures
logging, in which case the output is potentially confusing because it is not
guaranteed that logging is reconfigured before the log call is invoked.

In other scenarios, flag parsing might switch from klog text format to
something else entirely, which then leads to a mixture of text and e.g. JSON
output. In general, code running during init should not log.
2025-06-24 11:07:47 +02:00
Kubernetes Prow Robot
29ed1fb152 Merge pull request #132399 from carlory/fix-132397
Fix [Failing test] [sig-node] [Feature:GPUDevicePlugin] [Serial]-related tests
2025-06-24 00:24:29 -07:00
Kubernetes Prow Robot
7521de14f8 Merge pull request #132442 from ylink-lfs/ci/test_image_update
ci: update test image base: nginx, nginx-new
2025-06-23 22:58:29 -07:00
Kubernetes Prow Robot
a96a8cb7ac Merge pull request #131711 from gavinkflam/130358-migrate-extract-comment-tags
cleanup: Migrate deprecated function ExtractCommentTags
2025-06-23 18:08:27 -07:00
Kubernetes Prow Robot
0017db180b Merge pull request #130052 from utam0k/qhint-enable-plugins
sched: Apply EnablePlugins to CoreResourceEnqueueTestCases
2025-06-23 17:00:37 -07:00
totegamma
75862f3f46 show namespace on delete (#126619)
* show namespace on delete

* update kubectl delete message

* add test 'TestDeleteMessageOutput'

* update delete_test.go
2025-06-23 17:00:31 -07:00
Michael Aspinwall
56d97283af fix: Improve error messaging on updating a deleted object 2025-06-23 21:37:00 +00:00
Kubernetes Prow Robot
73b4948776 Merge pull request #132409 from nojnhuh/dra-init-container-e2e
DRA: add e2e test with initContainer using external claim
2025-06-23 14:18:34 -07:00
Kubernetes Prow Robot
70c25cbe0c Merge pull request #132338 from PatrickLaabs/132274
Added omitempty tag and opt tag to the API v1beta2 and v1beta1 AdminAccess type
2025-06-23 14:18:28 -07:00
Kubernetes Prow Robot
45cd24a2c2 Merge pull request #132432 from aramase/aramase/t/fix_flake_oidc
fix unit test flake for authn config on windows
2025-06-23 11:24:27 -07:00
Kubernetes Prow Robot
285c6113ea Merge pull request #132417 from p0lyn0mial/upstream-watchlist-e2e-metadatainformer
e2e/watchlist: new test for checking metadata informer
2025-06-23 07:48:02 -07:00
Kubernetes Prow Robot
e43ab77aed Merge pull request #130542 from aroradaman/conntrack-service-target-port
Conntrack reconciler now considers service's target port during cleanup of stale flow entries
2025-06-23 07:47:55 -07:00
Kubernetes Prow Robot
314af2a00b Merge pull request #132454 from serathius/watchcache-close
Move UnsafeCorruptObjectDeletion outside of etcd3.New function
2025-06-23 06:00:53 -07:00
Marek Siarkowicz
72305f82f9 Move UnsafeCorruptObjectDeletion outside of etcd3.New function
By returning *store instead of storage.Interface we can expose Close()
function so in the future we can register it to destroyFunc in
newETCD3Storage.
2025-06-23 13:06:19 +02:00
ylink-lfs
59dd2bd60d ci: update test image base: nginx, nginx-new 2025-06-23 17:57:59 +08:00
Kubernetes Prow Robot
5e33c00e37 Merge pull request #132336 from dashpole/fix_apiserver_tracing_race
Fix APIServerTracing test data race
2025-06-22 20:26:56 -07:00
Daman Arora
af89044a78 conntrack: clean stale entries on endpoint port change
With this commit, the conntrack reconciler clears the stales
entries when endpoints change port without changing IP.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2025-06-23 00:37:28 +05:30
Kubernetes Prow Robot
ccf291b501 Merge pull request #132400 from xigang/orphan_pod_index
Add namespace-aware orphan pod indexing for improved controller performance
2025-06-20 18:46:51 -07:00
Anish Ramasekar
861e7b8fae fix unit test flake for authn config on windows
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-06-20 12:30:51 -07:00
Kubernetes Prow Robot
168e02fb35 Merge pull request #132406 from dims/cleanup-shellcheck-for-temporary-HOME-directory
cleanup shellcheck for temporary HOME directory
2025-06-20 09:38:51 -07:00
Kubernetes Prow Robot
4a56df2add Merge pull request #132410 from Timothy-Dougherty/timdoug/fix-etcd-build
Fixing syntax issue for etcd image builds
2025-06-20 08:30:52 -07:00
PatrickLaabs
ccdef28acd fixing large resourceversion and limit for storages 2025-06-20 10:33:43 +02:00