Kubernetes Prow Robot
25dc6c9820
Merge pull request #130281 from z1cheng/issue_130264
...
Implement chunking for gzip encoder in deferredResponseWriter
2025-02-26 10:16:36 -08:00
Kubernetes Prow Robot
b38bf6c312
Merge pull request #130035 from cici37/nsDeletion
...
[KEP-5080]Ordered Namespace Deletion
2025-02-26 10:16:30 -08:00
Mitsuru Kariya
20cecaee97
Add Watch to controller roles ( #130405 )
...
* Add Watch to controller roles
Starting from version 1.32, the client feature `WatchListClient` has been
set to `true` in `kube-controller-manager`.
(commit 06a15c5cf9
)
As a result, when the `kube-controller-manager` executes the `List` method,
it utilizes `Watch`. However, there are some existing controller roles that
include `List` but do not include `Watch`. Therefore, when processes using
these controller roles execute the `List` method, `Watch` is executed first,
but due to permission errors, it falls back to `List`.
This PR adds `Watch` to the controller roles that include `List` but do not
include `Watch`.
The affected roles are as follows (prefixed with `system:controller:`):
- `cronjob-controller`
- `endpoint-controller`
- `endpointslice-controller`
- `endpointslicemirroring-controller`
- `horizontal-pod-autoscaler`
- `node-controller`
- `pod-garbage-collector`
- `storage-version-migrator-controller`
Signed-off-by: Mitsuru Kariya <mitsuru.kariya@nttdata.com>
* Fix Fixture Data
I apologize, the Fixture Data modifications were missed.
Signed-off-by: Mitsuru Kariya <mitsuru.kariya@nttdata.com>
* Add ControllerRoles Test
Added a test to check that if a controller role includes `List`, it also includes `Watch`.
Signed-off-by: Mitsuru Kariya <mitsuru.kariya@nttdata.com>
* Fix typo
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
* Add Additional Tests
Added tests to check that if NodeRules, ClusterRoles, and NamespaceRoles
include `List`, it also include `Watch`.
Signed-off-by: Mitsuru Kariya <mitsuru.kariya@nttdata.com>
---------
Signed-off-by: Mitsuru Kariya <mitsuru.kariya@nttdata.com>
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
2025-02-26 08:24:38 -08:00
Kubernetes Prow Robot
facb1a8c55
Merge pull request #129905 from ania-borowiec/129778_replace_equal
...
Replace reflect.DeepEqual with cmp.Diff in pkg/scheduler tests
2025-02-26 08:24:30 -08:00
Michal Wozniak
d44ac38891
Promote e2e to conformance tests for JobBackoffLimitPerIndex
2025-02-26 17:06:41 +01:00
Michal Wozniak
a91ed902fe
Graduate Backoff Limit Per Index as stable
...
Reenable the JobBackoffLimitPerIndex_Reenabling integration test
2025-02-26 17:06:37 +01:00
Patrick Ohly
650db7fab9
golangci-lint: temporarily suppress known issues in the code base
...
These suppressions are necessary to make golangci-lint 1.64 pass with the
current code base. This change is meant to be backported to release
branches. On master, we may want to revert some of it together with fixing the
findings.
2025-02-26 16:09:28 +01:00
z1cheng
2472f4965f
Implement chunking for gzip encoder in deferredResponseWriter
...
Signed-off-by: z1cheng <imchench@gmail.com>
2025-02-26 22:23:17 +08:00
Kubernetes Prow Robot
50ba48369d
Merge pull request #130414 from googs1025/chore/scheduler_features
...
chore(scheduler): use framework.Features in scheduler plugins
2025-02-26 06:20:30 -08:00
Kubernetes Prow Robot
126a5824de
Merge pull request #130443 from serathius/watchcache-limit
...
Remove limit support from btree store
2025-02-26 05:12:30 -08:00
Kubernetes Prow Robot
2e073d6334
Merge pull request #130400 from serathius/storage-current-rv
...
Move GetCurrentResourceVersion to storage.Interface
2025-02-26 03:40:30 -08:00
googs1025
239aad8e4b
chore(scheduler): use framework.Features in scheduler plugins
2025-02-26 19:16:07 +08:00
Marek Siarkowicz
168c338f7c
Remove limit support from btree store
...
We cannot use limit as it would apply it before filtering, which is done
in cacher. Limit is not currently used, but let's remove it to be save,
until filtering is implemented in store.
2025-02-26 12:02:02 +01:00
Jordan Liggitt
43509b63d7
Bump hack/tools to github.com/golangci/golangci-lint 1.64.5 for go 1.24
2025-02-26 11:27:14 +01:00
Jordan Liggitt
8090db5dcf
Switch to private instances of rand for seeding for tests
2025-02-26 11:27:10 +01:00
cpanato
88300c406b
bump go.mod to set min go1.24
...
Signed-off-by: cpanato <ctadeu@gmail.com>
2025-02-26 11:27:07 +01:00
cpanato
597b54720e
Bump images, dependencies and versions to go 1.24.0
...
Signed-off-by: cpanato <ctadeu@gmail.com>
2025-02-26 11:26:54 +01:00
Marek Siarkowicz
fea89f25d1
Move GetCurrentResourceVersion to storage.Interface
2025-02-26 11:26:05 +01:00
Ania Borowiec
4205f04ce3
Replace uses of reflect.DeepEqual with cmp.Diff in pkg/scheduler tests
2025-02-26 09:27:51 +00:00
Kubernetes Prow Robot
3d9fcb7c01
Merge pull request #130412 from serathius/watchcache-progress
...
Move watch progress to separate package.
2025-02-26 00:16:41 -08:00
Kubernetes Prow Robot
6ff0354c15
Merge pull request #130399 from serathius/cache-delegator
...
Rename CacheProxy to CacheDelegator
2025-02-26 00:16:29 -08:00
Kubernetes Prow Robot
39c640fe90
Merge pull request #130424 from ahrtr/etcd_36_20250225
...
Bump etcd v3.6.0-rc.1 image
2025-02-25 18:36:30 -08:00
Marek Siarkowicz
4c635ecf82
Rename CacheProxy to CacheDelegator
2025-02-25 20:55:27 +01:00
Benjamin Wang
3c9cc93dbc
Bump etcd v3.6.0-rc.1 image
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-02-25 19:46:33 +00:00
Kubernetes Prow Robot
e1fc73d251
Merge pull request #130325 from pohly/test-integration-apiserver-defaults
...
test/integration: use default API groups in test apiserver
2025-02-25 11:08:30 -08:00
Kubernetes Prow Robot
81f03c2f5b
Merge pull request #124137 from ratnadeepb/testForceDetachMetric_invoke
...
fix: Ensure testForceDetachMetric works on the delta of ForceDetachMetricCounter
2025-02-25 09:40:29 -08:00
Kubernetes Prow Robot
ffad281e3e
Merge pull request #130060 from carlory/fix-quota-scope
...
Fix the `ResourceQuota` admission plugin does not respect ANY scope change
2025-02-25 08:24:29 -08:00
Michał Woźniak
d66928b842
Add Job e2e for tracking failure count per index ( #130390 )
...
* Add Job e2e for tracking failure count per index
* Review remarks
2025-02-25 07:10:37 -08:00
Kubernetes Prow Robot
49f419e84e
Merge pull request #129657 from p0lyn0mial/upstream-cacher-resilient-init-back-off
...
storage/cacher/ready: dynamically calculate the retryAfterSeconds
2025-02-25 07:10:30 -08:00
Marek Siarkowicz
740db0f01d
Move watch progress to separate package.
2025-02-25 15:44:05 +01:00
Kubernetes Prow Robot
4b12e89d0d
Merge pull request #130279 from serathius/watchcache-snapshot
...
Watchcache snapshot
2025-02-25 05:08:37 -08:00
Kubernetes Prow Robot
27cbe54b09
Merge pull request #130163 from ffromani/e2e-node-fix-cpu-quota-test
...
e2e: node: cpumgr: cleanup after each test case
2025-02-25 05:08:29 -08:00
Lukasz Szaszkiewicz
04f0bd4e83
storage/cacher/ready: dynamically calculate the retryAfterSeconds
...
retryAfterSeconds is based on the time elapsed since the state (ready, unready) was last changed.
2025-02-25 13:58:20 +01:00
Kubernetes Prow Robot
566f939b19
Merge pull request #129366 from zhifei92/statusz-integration-test
...
test: Add integration test for apiserver statusz endpoint
2025-02-24 23:34:29 -08:00
Kubernetes Prow Robot
d92b99ea63
Merge pull request #130372 from aojea/e2e_websocket
...
E2e websocket
2025-02-24 18:48:29 -08:00
carlory
eb0f003d25
Fix a bug where the ResourceQuota
admission plugin does not respect ANY scope change when a resource is being updated. i.e. to set/unset an existing pod's terminationGracePeriodSeconds
field.
2025-02-25 10:26:34 +08:00
Kubernetes Prow Robot
2e3b8958ab
Merge pull request #130363 from mutokrm/style-const
...
Style: use const rather than string in cgroup_v2
2025-02-24 17:24:28 -08:00
Hemant Kumar
f7c1799297
Handle returned error as placeholder variables for now
2025-02-24 16:26:48 -05:00
Hemant Kumar
fbce6bd610
Fix typecheck errors
2025-02-24 16:16:05 -05:00
Hemant Kumar
b51cbb1d17
Change plugin interfaces to use progress monitoring
2025-02-24 15:55:37 -05:00
Hemant Kumar
32752fe395
Add recommendation for using OnRootMismatch
2025-02-24 15:55:37 -05:00
Hemant Kumar
49dabe56d0
Monitor progress tracking for permission change
2025-02-24 15:55:37 -05:00
Kubernetes Prow Robot
65321bf5ee
Merge pull request #130214 from macsko/split_backoffq_into_backoffq_and_errorbackoffq
...
Split backoffQ into backoffQ and errorBackoffQ in scheduler
2025-02-24 10:48:36 -08:00
Kubernetes Prow Robot
b14fad5adc
Merge pull request #130181 from natasha41575/apiserver-generation
...
start setting pod metadata.generation
2025-02-24 10:48:29 -08:00
Ryota Sakamoto
f484ae5bcb
Fix kernel version check condition in nftables proxier
...
Signed-off-by: Ryota Sakamoto <skmt@amazon.com>
2025-02-24 18:45:16 +00:00
Antonio Ojea
ae991725b7
e2e uses websockets by default for portforward
2025-02-24 18:26:13 +00:00
Antonio Ojea
071b1bd839
e2e test use websockets as default for exec operations
2025-02-24 18:26:08 +00:00
vaibhav2107
a97c6a7045
Added the mergeDefaultEvictionSettings Kubelet Config
2025-02-24 23:06:06 +05:30
Kubernetes Prow Robot
3985b78f06
Merge pull request #130394 from Barakmor1/psa
...
[BugFix]Allow ImageVolume for Restricted PSA profiles
2025-02-24 09:26:35 -08:00
Kubernetes Prow Robot
c13f6b9d76
Merge pull request #130344 from tosi3k/wc-upper-bound-capacity
...
Add watch cache capacity upper bound adjusting logic
2025-02-24 09:26:28 -08:00