Commit Graph

21400 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
c999f9d828 Merge pull request #126652 from ardaguclu/add-timeout-cp-dest-check
Add timeout cancellation to kubectl cp destination path check
2024-08-16 08:38:45 -07:00
Kubernetes Prow Robot
114900ab1f Merge pull request #126523 from enj/enj/i/ssa_authz_create_err
SSA: improve create authz error message
2024-08-16 08:38:38 -07:00
Arda Güçlü
ca2c9c64b4 Increate timeout to 10sec and shortcut when ctx deadline is exceeded 2024-08-16 16:13:01 +03:00
Kubernetes Prow Robot
1dd3c64502 Merge pull request #126715 from tklauser/use-go-stdlib-slices
Use Go standard library slices package instead of k8s.io/utils/strings/slices
2024-08-15 18:03:51 -07:00
Kubernetes Prow Robot
f26cf38a50 Merge pull request #126553 from aramase/aramase/c/kep_3331_disallow_k8s_io_prefix
Disallow `k8s.io` and `kubernetes.io` namespaced extra key in structured authn config
2024-08-15 11:01:51 -07:00
Anish Ramasekar
89c619f4fe Disallow k8s.io and kubernetes.io namespaced extra key in structured authn config
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2024-08-15 09:54:17 -07:00
Tobias Klauser
23dcd26048 Use Go standard library slices package instead of k8s.io/utils/strings/slices
The package was introduced in Go 1.21 and is already in use in the k8s
code base.
2024-08-15 14:43:53 +02:00
carlory
bd32f542e9 Fix print volume when kubelet describe a pod with image volume 2024-08-15 18:22:49 +08:00
Benjamin Elder
78ae67a900 kuebctl cp: discard output from test command
we only care about the exit code

see https://github.com/kubernetes/kubernetes/issues/126669
2024-08-15 09:13:12 +03:00
Kubernetes Prow Robot
026c55e40d Merge pull request #126685 from enj/enj/i/kms_resouce_logs
Ensure transformers have access to the resource via request info
2024-08-14 23:11:17 -07:00
Monis Khan
6398b8a19f Remove KMSv2 and KMSv2KDF feature gates
These have been GA since v1.29 and can be safely removed.

Signed-off-by: Monis Khan <mok@microsoft.com>
2024-08-14 17:05:18 -04:00
Monis Khan
49d7b4c97e Ensure transformers have access to the resource via request info
This guarantees that logs and metrics that rely on this information
work as expected.

Signed-off-by: Monis Khan <mok@microsoft.com>
2024-08-14 14:03:05 -04:00
Kubernetes Prow Robot
ba604434a8 Merge pull request #126673 from SataQiu/v1.31.0-api-testdata
Add V1.31.0 api testdata and remove v1.29.0 api testdata
2024-08-14 06:23:18 -07:00
Kubernetes Prow Robot
1917539628 Merge pull request #126649 from 0x5457/fix-panic
apiserver: declare kubeClient and dynamicClient as interface types to avoid panic
2024-08-14 01:59:31 -07:00
Kubernetes Prow Robot
aa2938f15e Merge pull request #126482 from LionelJouin/fix-dra-comment
DRA: Fix ResourceClaimTemplateSpec comment
2024-08-14 00:21:07 -07:00
SataQiu
68d22567cb Remove v1.29.0 API testdata 2024-08-14 15:14:10 +08:00
SataQiu
84e4523017 Add v1.31.0 API testdata 2024-08-14 15:13:23 +08:00
Kubernetes Prow Robot
69dbf2eee9 Merge pull request #126665 from liggitt/version-build-id
Restore honoring --version build ID overrides
2024-08-13 22:12:17 -07:00
Kubernetes Prow Robot
54691fdc21 Merge pull request #126565 from Adarsh-verma-14/remove-duplicate-call
remove duplicate call for ServeMux
2024-08-13 22:11:34 -07:00
Kubernetes Prow Robot
6a478b4306 Merge pull request #126545 from yangjunmyfm192085/updatepersistentVolumeClaimRetentionPolicy
Update incorrect description of persistentVolumeClaimRetentionPolicy
2024-08-13 22:11:11 -07:00
Kubernetes Prow Robot
bc3d6fd491 Merge pull request #126354 from liangyuanpeng/celtest_update
Using NewExpressions for CEL lazy test.
2024-08-13 21:03:45 -07:00
Kubernetes Prow Robot
c06ea0fc81 Merge pull request #126316 from aramase/aramase/f/kep_3331_tighter_validation
Validate structured authn feature is enabled for discovery url/multiple audiences
2024-08-13 21:03:31 -07:00
Kubernetes Prow Robot
bb7411120a Merge pull request #126287 from devppratik/121793-update-node-monitor-grace-period
node: Update Node Monitor Grace Period default duration to 50s
2024-08-13 21:03:16 -07:00
Jordan Liggitt
c181912dc5 Restore honoring --version build ID overrides 2024-08-13 21:52:58 -04:00
Arda Güçlü
d981b19ad3 Add timeout cancellation to kubectl cp destination path check 2024-08-13 11:02:04 +03:00
0x5457
81824b7c2e apiserver: declare kubeClient and dynamicClient as interface types to avoid panic 2024-08-13 11:25:11 +08:00
Maciej Szulik
fad6c424ac wait: don't lowercase condition in --for argument 2024-08-12 16:59:17 +02:00
Adarsh-verma-14
838d7c9049 remove duplicate call for ServeMux 2024-08-07 02:56:49 +05:30
Monis Khan
bff6ce4a38 ForbiddenStatusError: make linter happy on error construction
Signed-off-by: Monis Khan <mok@microsoft.com>
2024-08-05 10:50:51 -04:00
杨军10092085
56bbae4807 Updated incorrect description of persistentVolumeClaimRetentionPolicy 2024-08-05 21:30:25 +08:00
Monis Khan
857127f7c4 SSA: improve create authz error message
Signed-off-by: Monis Khan <mok@microsoft.com>
2024-08-02 17:20:53 -04:00
Kubernetes Prow Robot
f8d5b2074c Merge pull request #126489 from mehabhalodiya/bump-publishing-131
releng: update publishing bot rules for 1.31
2024-07-31 13:32:20 -07:00
mehabhalodiya
017d7b8387 releng: update publishing bot rules for 1.31
Signed-off-by: mehabhalodiya <mehabhalodiya@gmail.com>
2024-07-31 22:40:42 +05:30
Marek Siarkowicz
bb686f2033 Make object transformation concurrent to remove watch cache scalability issue for conversion webhook
Test by enabling consistent list from cache in storage version migrator stress test that uses
conversion webhook that bottlenects events comming to watch cache.

Set concurrency to 10, based on maximum/average transform latency when
running stress test. In my testing max was about 60-100ms, while average
was 6-10ms.
2024-07-31 18:30:46 +02:00
Marek Siarkowicz
93a10a7569 Introduce ConcurrentWatchObjectDecode feature gate disabled by default 2024-07-31 18:30:45 +02:00
Lionel Jouin
4532d90068 DRA: Fix ResourceClaimTemplateSpec comment
ObjectMeta for the ResourceClaimTemplateSpec are copied into
ResourceClaim not PVC.

Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
2024-07-31 17:53:47 +02:00
Kubernetes Prow Robot
eb729d1db7 Merge pull request #126469 from serathius/beta2
Move ConsistentListFromCache to Beta default again
2024-07-31 08:35:47 -07:00
Kubernetes Prow Robot
f9d2297298 Merge pull request #126470 from benluddy/apiservingwithroutine-alpha-disabled
Move APIServingWithRoutine to alpha and disabled by default.
2024-07-30 19:35:11 -07:00
Marek Siarkowicz
2ca56aab87 Move ConsistentListFromCache to Beta default again
This reverts commit aeb51a16e3.
2024-07-30 22:49:47 +02:00
Ben Luddy
c838004084 Move APIServingWithRoutine to alpha and disabled by default. 2024-07-30 16:33:31 -04:00
Marek Siarkowicz
35962561e4 Implement fallback for consistent reads from cache 2024-07-30 21:26:31 +02:00
Kubernetes Prow Robot
2aa468c708 Merge pull request #126344 from MikeSpreitzer/fix-120112
Relax noise margin in TestOneWeightedHistogram
2024-07-27 14:13:50 -07:00
Jefftree
cd69335542 informers: add comment that Start does not block
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-07-27 18:23:51 +02:00
Dr. Stefan Schimanski
c7a1fa432a Call non-blocking informerFactory.Start synchronously to avoid races
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-07-27 18:13:09 +02:00
Feilian Xie
ebdca53805 [sample-apiserver] Fix: Use Correct Effective Version for kube (#125941)
* Fix slice copy of VersionedSpecs in FeatureGate.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

* Update wardle to kube version mapping

Signed-off-by: Siyuan Zhang <sizhang@google.com>
Signed-off-by: Feilian Xie <fxie@redhat.com>
Co-authored-by: Feilian Xie <fxie@redhat.com>

* Add cap to wardleEmulationVersionToKubeEmulationVersion.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

* Add integration test for default BanFlunder behavior in version 1.2 without Wardle feature gate.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

---------

Signed-off-by: Siyuan Zhang <sizhang@google.com>
Signed-off-by: Feilian Xie <fxie@redhat.com>
Co-authored-by: Siyuan Zhang <sizhang@google.com>
2024-07-26 12:03:52 -07:00
Kubernetes Prow Robot
3a8a60eba2 Merge pull request #126240 from bzsuni/bz/etcd/update/v3.5.15
Update etcd to v3.5.15
2024-07-26 04:58:05 -07:00
Kubernetes Prow Robot
5f5c02da51 Merge pull request #124012 from Jefftree/le-controller
Coordinated Leader Election
2024-07-25 13:05:53 -07:00
Sebastiaan van Stijn
aeb607443d revendor dependencies
I was workinng on updating a dependency, and noticed that running
hack/update-vendor.sh resulted in a diff. Comitting the result
as a PR.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-25 10:39:12 -04:00
Lan Liang
9a8d6b72e4 Using NewExpressions for cel lazy test.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-07-25 13:32:48 +00:00
bzsuni
4ad2cd9299 Update etcd from v3.5.14 to v3.5.15
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2024-07-25 10:48:34 +08:00