Commit Graph

127466 Commits

Author SHA1 Message Date
Patrick Ohly
7226a3084e DRA e2e: adapt to increased ReservedFor limit
We want to be sure that the maximum number of pods per claim are actually
scheduled concurrently. Previously the test just made sure that they ran
eventually.

Running 256 pods only works on more than 2 nodes, so network-attached resources
have to be used. This is what the increased limit is meant for anyway. Because
of the tightened validation of node selectors in 1.32, the E2E test has to
use MatchExpressions because they allow listing node names.
2025-01-10 09:49:55 +01:00
Patrick Ohly
1cee3682da DRA API: bump maximum size of ReservedFor to 256
The original limit of 32 seemed sufficient for a single GPU on a node. But for
shared non-local resources it is too low. For example, a ResourceClaim might be
used to allocate an interconnect channel that connects all pods of a workload
running on several different nodes, in which case the number of pods can be
considerably larger.

256 is high enough for currently planned systems. If we need something even
higher in the future, an alternative approach might be needed to avoid
scalability problems.

Normally, increasing such a limit would have to be done incrementally over two
releases. In this case we decided on
Slack (https://kubernetes.slack.com/archives/CJUQN3E4T/p1734593174791519) to
make an exception and apply this change to current master for 1.33 and backport
it to the next 1.32.x patch release for production usage.

This breaks downgrades to a 1.32 release without this change if there are
ResourceClaims with a number of consumers > 32 in ReservedFor. In practice,
this breakage is very unlikely because there are no workloads yet which need so
many consumers and such downgrades to a previous patch release are also
unlikely. Downgrades to 1.31 already weren't supported when using DRA v1beta1.
2025-01-09 14:26:01 +01:00
Kubernetes Prow Robot
a32f69590a
Merge pull request #129536 from pacoxu/fix-lint
fix dra test lint
2025-01-08 19:58:30 -08:00
Paco Xu
2653caa248 fix dra test lint 2025-01-09 10:42:40 +08:00
Kubernetes Prow Robot
8a1db6e8a5
Merge pull request #129512 from dims/lower-verbosity-for-topologycache-messages
Lower verbosity for topologycache messages
2025-01-08 14:50:30 -08:00
Kubernetes Prow Robot
37a8516e5e
Merge pull request #129530 from nojnhuh/dra-vap-message
Add namespace to DRA adminAccess ValidatingAdmissionPolicy message
2025-01-08 11:30:31 -08:00
Jon Huhn
5b2c1dde79 Add namespace to DRA adminAccess ValidatingAdmissionPolicy message 2025-01-08 11:06:36 -06:00
Kubernetes Prow Robot
d9441212d3
Merge pull request #129525 from cpanato/update-rules
update publishing rules to use go1.22.10 for some active release branches
2025-01-08 07:34:37 -08:00
Kubernetes Prow Robot
2832f70801
Merge pull request #129343 from pohly/log-client-go-v1-event
client-go event: add WithContext expansion methods
2025-01-08 07:34:30 -08:00
Kubernetes Prow Robot
b56d38e7d4
Merge pull request #129441 from serathius/watchcache-benchmark
Improve benchmark to handle multiple dimensions
2025-01-08 05:40:42 -08:00
Kubernetes Prow Robot
10fb206f70
Merge pull request #129201 from tnqn/fix-ns-controller-permission
Add watch permission to namespace-controller for WatchListClient feature
2025-01-08 05:40:31 -08:00
cpanato
a6c7d22f44
update publishing rules to use go1.22.10 for some active release branches
Signed-off-by: cpanato <ctadeu@gmail.com>
2025-01-08 14:10:51 +01:00
Kubernetes Prow Robot
90a45563ae
Merge pull request #129517 from googs1025/feature/remove/dra_resourceslice_qhint
feature(scheduler): remove dra plugin resourceslice QueueingHintFn
2025-01-08 03:22:30 -08:00
Marek Siarkowicz
4a0578e3de Improve benchmark to handle multiple dimensions 2025-01-08 12:01:33 +01:00
Patrick Ohly
f1834f06f4 client-go event: add WithContext expansion methods
Only the v1 API should be in use. The v1beta1 API therefore doesn't get updated
and doesn't need the context.TODO anymore.
2025-01-08 10:13:49 +01:00
Kubernetes Prow Robot
4ab6035925
Merge pull request #129369 from carlory/fix-118037-2
e2e: deflake volume tests
2025-01-08 00:34:36 -08:00
Kubernetes Prow Robot
26442a6a85
Merge pull request #129359 from andyzhangx/fix-pv-deletion-timeout
test: fix pv deletion timeout
2025-01-08 00:34:29 -08:00
googs1025
77eae7c34f feature(scheduler): remove dra plugin resourceslice QueueingHintFn 2025-01-08 16:24:28 +08:00
Davanum Srinivas
cad12e5a41
Lower verbosity for topologycache messages
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-01-07 21:19:27 -05:00
Kubernetes Prow Robot
14dafc30c9
Merge pull request #129434 from xigang/crd_handler
refactor: simplify boolean expressions in CRD handler
2025-01-07 17:12:30 -08:00
Kubernetes Prow Robot
0e78cf18d1
Merge pull request #129440 from serathius/watchcache-extract-list-response
Extract list response struct to manage all the response fields
2025-01-07 14:08:41 -08:00
Kubernetes Prow Robot
09b8a26ac8
Merge pull request #129113 from kundan2707/cluster_bootstraap_link_update
updated bootstrap-discovery link
2025-01-07 14:08:30 -08:00
Kubernetes Prow Robot
f1b3fdf7e6
Merge pull request #129500 from carlory/PDBUnhealthyPodEvictionPolicy
Remove general available feature-gate PDBUnhealthyPodEvictionPolicy
2025-01-07 09:38:29 +01:00
carlory
75131475fd Remove general available feature-gate PDBUnhealthyPodEvictionPolicy 2025-01-07 15:24:16 +08:00
Kubernetes Prow Robot
38fab70477
Merge pull request #128398 from tenzen-y/remaining-job-tracking-annotation-testing
Job: Remove JobTrackingFinalizer annotation specific testings
2025-01-07 06:26:28 +01:00
Kubernetes Prow Robot
2e53799601
Merge pull request #129483 from pacoxu/fix-no-sandbox
kubeadm: should not warn on non-detect sandbox image
2025-01-07 05:06:36 +01:00
Kubernetes Prow Robot
3a79d453fa
Merge pull request #128256 from lzhecheng/webhook-update-ValidatingWebhookConfigurations-retry
[e2e][webhook] Retry update ValidatingWebhookConfigurations
2025-01-07 05:06:29 +01:00
Kubernetes Prow Robot
c3f3fdc1aa
Merge pull request #129430 from MadhavJivrajani/go124-webhook-regex-ut
[go1.24] webhook: alter regex to account for x509sha1 GODEBUG removal
2025-01-06 21:28:30 +01:00
Kubernetes Prow Robot
b7ef173c59
Merge pull request #129349 from dims/bump-x/net-to-v0.33.0
Bump x/net to v0.33.0
2025-01-06 20:04:38 +01:00
Arda Güçlü
7c887412c8
Add validation for revisionHistoryLimit in sts to prevent negative value (#129017)
* Add validation for revisionHistoryLimit in sts to prevent negative value

* Add unit tests to verify warning messages
2025-01-06 20:04:31 +01:00
gshaibi
4114a9b4e4
[kubectl] Enhance describe output for projected volume sources to indicate optional Secret/ConfigMap (#129457)
* kubectl: enhance output for projected volume sources to indicate optional secrets

* .
2025-01-06 14:50:16 +01:00
Kubernetes Prow Robot
b358cf3a79
Merge pull request #128972 from manishym/beta-e2e
Add crd from external snapshotter
2025-01-06 11:24:16 +01:00
Paco Xu
02fbcb4e69 kubeadm: should not warn on non-detect sandbox image 2025-01-06 14:23:18 +08:00
Kubernetes Prow Robot
8f8c94a04d
Merge pull request #128872 from alvaroaleman/generics
Use generic btree in watchcache
2025-01-03 14:42:14 +01:00
Alvaro Aleman
b1cb471982 Use generic btree in watchcache
This change makes us use the generic btree available in newer versions
of github.com/google/btree. This avoids a bunch of type assertions and
makes the code easier to read.
2025-01-03 07:31:23 -05:00
Alvaro Aleman
a97ed3c98b Update github.com/google/btree 2025-01-03 07:31:23 -05:00
Kubernetes Prow Robot
6746df77f2
Merge pull request #127153 from Anurag252/master
Add a static NodePort allocator for e2e tests
2025-01-02 16:56:14 +01:00
Kubernetes Prow Robot
281bba84ab
Merge pull request #129419 from googs1025/chore/resourcequotas
chore(printers): add miss unit test for resourcequota
2025-01-02 13:12:14 +01:00
Kubernetes Prow Robot
87cf098f34
Merge pull request #129452 from SataQiu/fix-20250102
kubeadm: fix a bug where the 'node.skipPhases' in UpgradeConfiguration is not respected by 'kubeadm upgrade node' command
2025-01-02 12:00:14 +01:00
SataQiu
4c6deed07e kubeadm: fix a bug where the node.skipPhases in UpgradeNodeConfiguration is not respected by 'kubeadm upgrade node' 2025-01-02 17:44:05 +08:00
Kubernetes Prow Robot
3c229949f9
Merge pull request #129401 from pacoxu/kubeadm-upgrade-precheck
kubeadm: add kernel version check for upgrade
2025-01-02 03:50:13 +01:00
Kubernetes Prow Robot
1c2b2cce10
Merge pull request #129119 from macsko/fix_podtopologyspread_for_multiple_constraints_with_the_same_key
Fix PodTopologySpread matching pods counts for constraints with the same topologyKey
2025-01-01 11:04:14 +01:00
Kubernetes Prow Robot
d8d3691280
Merge pull request #129360 from utam0k/scheduler-profile-test-enqueue
Make it possible to pass a scheduler profile to RuntTestCoreResourceEnqueue
2024-12-31 15:00:13 +01:00
utam0k
5aa4dd4a6e
Make it possible to pass a scheduler profile to RuntTestCoreResourceEnqueue
Signed-off-by: utam0k <k0ma@utam0k.jp>
2024-12-31 21:47:06 +09:00
Marek Siarkowicz
78a6402755 Extract list response struct to manage all the response fields 2024-12-31 12:16:34 +01:00
Kubernetes Prow Robot
9fc9ddc7bc
Merge pull request #129432 from SataQiu/kubeadm-20241231
kubeadm: bump supported etcd version
2024-12-31 06:44:13 +01:00
xigang
deb234c9d5 refactor: simplify boolean expressions in CRD handler
Signed-off-by: xigang <wangxigang2014@gmail.com>
2024-12-31 11:15:29 +08:00
SataQiu
2fd16abbe8 kubeadm: bump supported etcd version 2024-12-31 10:11:38 +08:00
Madhav Jivrajani
cff0f4009f webhook: alter regex to account for x509sha1 GODEBUG removal
go1.24 removes the x509sha1 GODEBUG variable, and with it the
support for SHA-1 signed certs. This commit alters the regex
in unit tests to account for that and prep for go1.24.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2024-12-30 13:39:17 -08:00
Anurag252
a9b641464e chore: adding support for staticPortRange
Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

chore: implementing review comments

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

lint: implementing linting suggestions

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

chore: review comments implementation

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

chore: fixing build errors

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

revert: removing empty spaces

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

chore: implementing review suggestions

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

chore: implementing review comments to get rid of typecasting

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

fix: fixing failed tests

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

fix: fixing failed tests

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

fix: fixing failed tests

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

chore: rename func as per code review

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

chore: change in comments

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>
2024-12-30 22:26:43 +01:00