Commit Graph

130696 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
6720f62d82 Merge pull request #131992 from lalitc375/master
Deprecate StreamingConnectionIdleTimeout field, that is not being us…
2025-06-27 11:00:34 -07:00
Kubernetes Prow Robot
1680008ddc Merge pull request #132580 from pohly/test-e2e-sort-junit
E2E framework: sort tests in JUnit report
2025-06-27 08:26:29 -07:00
Patrick Ohly
efcb03759d E2E framework: sort tests in JUnit report
This is more useful when viewing results in spyglass because related tests are
shown together. The default was to show them by start or end time (not exactly
sure), which almost looked random because those times are not shown.
2025-06-27 16:10:38 +02:00
Kubernetes Prow Robot
6ed5b60f71 Merge pull request #128779 from alexey-gavrilov-flant/fix/kubectl-drain
kubectl: drain daemonSetFilter with other APIVersion
2025-06-26 20:50:28 -07:00
Kubernetes Prow Robot
b38dd716fe Merge pull request #132557 from dims/avoid-killing-kops-etcd-manager
Avoid killing kops etcd-manager
2025-06-26 13:30:29 -07:00
Kubernetes Prow Robot
b7c9333f5c Merge pull request #131837 from sreeram-venkitesh/static-pod-strict-validation-for-api-object-reference
Deny pod admission for static pods referencing API objects
2025-06-26 12:18:30 -07:00
Kubernetes Prow Robot
efd2a0d1f5 Merge pull request #132351 from googs1025/fix/hpa_memory
bugfix(hpa): introduce buildQuantity helper for consistent resource quantity
2025-06-26 11:02:35 -07:00
Kubernetes Prow Robot
7c548c9d9e Merge pull request #132231 from czeslavo/fix-outdated-volumes-links
Fix outdated links in VolumeSource godocs
2025-06-26 11:02:28 -07:00
Ania Borowiec
00d3750503 Move ClusterEvent type to staging repo, leaving some functions (that contain logic internal to scheduler) in kubernetes/kubernetes (#132190)
* Move ClusterEvent type to staging repo, leaving some functions (that contain logic internal to scheduler) in kubernetes/kubernetes

apply review comment and fix linter warning

* update-vendor.sh

* update doc comments

* run update-vendor.sh
2025-06-26 08:06:29 -07:00
Davanum Srinivas
31667cc741 Avoid killing kops etcd-manager
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-06-26 09:15:02 -04:00
Kubernetes Prow Robot
bc8491416d Merge pull request #132487 from macsko/add_schedulerasyncapicalls_feature_flag
KEP-5229: Add SchedulerAsyncAPICalls feature gate
2025-06-26 05:54:36 -07:00
Kubernetes Prow Robot
0256361813 Merge pull request #132355 from serathius/apf_estimate_size
Estimate average size of objects in etcd and plug it into request cost estimator
2025-06-26 05:54:28 -07:00
Kubernetes Prow Robot
24d9d184c2 Merge pull request #132150 from serathius/watchcache-consistent-list
Handle consistent LIST in watch cache to avoid incorrect semantics while setting ResourceVersion on options
2025-06-26 04:46:35 -07:00
Kubernetes Prow Robot
28e4f3f6a3 Merge pull request #131350 from pohly/etcd-output
etcd output interception
2025-06-26 04:46:29 -07:00
Kubernetes Prow Robot
dcefe0ef41 Merge pull request #132058 from pohly/dra-kubelet-connection-monitoring
DRA kubelet: connection monitoring
2025-06-26 03:40:29 -07:00
Marek Siarkowicz
1639b09083 Add benchmark for SizeBasedListCostEstimate feature 2025-06-26 11:09:24 +02:00
Kubernetes Release Robot
c75d425ae2 CHANGELOG: Update directory for v1.34.0-alpha.2 release 2025-06-26 07:44:13 +00:00
Marek Siarkowicz
292679a28a Handle consistent LIST in watch cache to avoid incorrect semantics while setting ResourceVersion on options 2025-06-26 09:30:48 +02:00
Kubernetes Prow Robot
ec1803cab8 Merge pull request #132509 from yongruilin/fix-make-vet
chore: Remove vet target and associated script from Makefile and hack directory
2025-06-26 00:26:34 -07:00
Kubernetes Prow Robot
b3e438aef9 Merge pull request #132220 from BenTheElder/a-little-owners-cleanup
emeritus spiffxp and backfill OWNERS
2025-06-25 19:16:28 -07:00
Kubernetes Prow Robot
688f1ed906 Merge pull request #132521 from gavinkflam/130358-migrate-extract-comment-tags-chunk-2
cleanup: Migrate more usages of deprecated function ExtractCommentTags
2025-06-25 17:50:35 -07:00
Kubernetes Prow Robot
17c5e753b2 Merge pull request #132484 from ylink-lfs/test/kubelet_client_ut
test: code coverage increase for kubelet_client
2025-06-25 17:50:28 -07:00
Kubernetes Prow Robot
1e59323e60 Merge pull request #132065 from yuanwang04/SwapMetrics
Fix pod and container level swap metrics for CRI
2025-06-25 16:22:28 -07:00
Kubernetes Prow Robot
befc91aec1 Merge pull request #132502 from benluddy/validatingadmissionpolicy-integration-marker-flake
Fix flake caused by invalid detection of active policies in VAP integration tests
2025-06-25 14:02:35 -07:00
Kubernetes Prow Robot
3ce7034a7f Merge pull request #129373 from googs1025/feature/kubectl/autoscale
feature(kubectl): support --cpu, --memory flag to kubectl autoscale
2025-06-25 14:02:28 -07:00
sreeram-venkitesh
f9a5aec318 Added unit tests 2025-06-25 23:59:44 +05:30
sreeram-venkitesh
5390f75360 Added podutil.HasAPIObjectReference to deny admission for static pods referencing API objects 2025-06-25 23:59:26 +05:30
Kubernetes Prow Robot
34ed1cb40f Merge pull request #132535 from natasha41575/obs-gen-ut
improve unit test coverage for pod observedGeneration
2025-06-25 11:24:29 -07:00
yongruilin
8b2eb9090e chore: Remove vet target and associated script from Makefile and hack directory 2025-06-25 17:39:14 +00:00
Natasha Sarkar
7d85134cae improve unit test coverage for pod observedGeneration 2025-06-25 17:18:07 +00:00
Kubernetes Prow Robot
c1afec6a0b Merge pull request #132357 from dims/drop-usage-of-forked-copies-of-goyaml.v2-and-goyaml.v3
Drop usage of forked copies of goyaml.v2 and goyaml.v3
2025-06-25 09:48:29 -07:00
Davanum Srinivas
c5b4b133ce switch to latest sigs.k8s.io/yaml v1.5.0 (run update-gofmt.sh as well)
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-06-25 11:42:12 -04:00
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
Marek Siarkowicz
e2c6b7fdf9 Override getKeys when cacher is enabled 2025-06-25 17:25:58 +02:00
Marek Siarkowicz
7cb2417999 Run background cleanup goroutine 2025-06-25 17:25:58 +02:00
Marek Siarkowicz
ec78b8305a Estimate average size of objects in etcd and plug it into request cost estimator 2025-06-25 17:25:56 +02:00
Ben Luddy
190c8c7abc Use per-policy marker names for VAP integration tests.
Writes to policy resources don't instantaneously take effect in admission. ValidatingAdmissionPolicy
integration tests determine that the policies under test have taken effect by adding a sentinel
policy rule and polling until that rule is applied to a request.

If the marker resource names are the same for each test case in a series of test cases, then
observing a policy's effect on a marker request only indicates that _any_ test policy is in effect,
but it's not necessarily the policy the current test case is waiting for. For example:

1. Test 1 creates a policy and binding.

2. The policy and binding are observed by the admission plugin and take effect.

3. Test 1 observes that a policy is in effect via marker requests.

4. Test 1 exercises the behavior under test and successfully deletes the policy and binding it
created.

5. Test 2 creates a policy and binding.

6. Test 2 observes that a policy is in effect via marker requests, but the policy in effect is still
the one created by Test 1.

7. Test 2 exercises the behavior under test, which fails because it was evaluated against Test 1's
policy.

Generating a per-policy name for the marker resource in each test resolves the timing issue. In the
example, step (6) will not proceed until the admission plugin has observed the policy and binding
created in (5).
2025-06-25 11:17:20 -04:00
googs1025
6795d5366f feature(kubectl): support mem-percent,cpu-value,cpu-average-value,mem-value,mem-average-value flag to kubectl autoscale
Signed-off-by: googs1025 <googs1025@gmail.com>
2025-06-25 22:44:47 +08: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
ylink-lfs
ec6ea2213e test: code coverage increase for kubelet_client 2025-06-25 13:39:12 +08:00
Gavin Lam
cb4014fb75 cleanup: Migrate more usages of deprecated function ExtractCommentTags
Signed-off-by: Gavin Lam <gavin.oss@tutamail.com>
2025-06-24 22:25:41 -04:00
googs1025
b50d508176 bugfix(hpa): introduce buildQuantity helper for consistent resource quantity creation
Signed-off-by: googs1025 <googs1025@gmail.com>
2025-06-25 08:23:53 +08:00