Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[release-1.30] Backports for 2025-03 #11921

Merged
merged 14 commits into from
Mar 7, 2025

Conversation

brandond
Copy link
Member

@brandond brandond commented Mar 7, 2025

brandond and others added 3 commits March 7, 2025 20:08
Static bin dir is first in search path and is on /var/lib/rancher/k3s volume, which can be persisted by users. If the volume is empty it will just fall back to the legacy /bin dir.

(cherry picked from commit b2d495e)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 6199b79)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
…fig command

Signed-off-by: Somesh Bhalsing <somesh.bhalsing@gmail.com>
(cherry picked from commit 6131ea1)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
@brandond brandond requested a review from a team as a code owner March 7, 2025 20:47
brandond and others added 11 commits March 7, 2025 21:20
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 5894af3)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Fixes issue where CA rotation would fail on servers with join URL set due to using old data from disk on other server

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 53fcadc)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Also wraps errors along the cluster prepare path to improve tracability.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 244bfd0)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit f940368)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
…s ready

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit e7b52cd)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Anders Larsson <anders.git@larsson.xyz>
(cherry picked from commit 8aa543e)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 66d0f16)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
We are not making use of the stack traces that these functions capture, so we should avoid using them as unnecessary overhead.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit bed1f66)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Interval is configurable with new etcd-snapshot-reconcile-interval flag

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit d694dd1)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 0a47df6)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
@brandond brandond force-pushed the 2025-03-backports_release-1.30 branch from 8819810 to 62fc83a Compare March 7, 2025 21:21
Copy link

codecov bot commented Mar 7, 2025

Codecov Report

Attention: Patch coverage is 16.35220% with 399 lines in your changes missing coverage. Please review.

Project coverage is 44.25%. Comparing base (7c317ee) to head (62fc83a).
Report is 14 commits behind head on release-1.30.

Files with missing lines Patch % Lines
pkg/cluster/bootstrap.go 10.12% 67 Missing and 4 partials ⚠️
pkg/cluster/cluster.go 14.28% 41 Missing and 1 partial ⚠️
pkg/etcd/snapshot.go 9.30% 39 Missing ⚠️
pkg/agent/config/config.go 0.00% 22 Missing ⚠️
pkg/etcd/etcd.go 14.28% 18 Missing ⚠️
pkg/cluster/storage.go 25.00% 15 Missing ⚠️
pkg/agent/run.go 0.00% 13 Missing ⚠️
pkg/cli/server/server.go 7.14% 12 Missing and 1 partial ⚠️
pkg/agent/containerd/containerd.go 0.00% 12 Missing ⚠️
pkg/agent/flannel/flannel.go 0.00% 11 Missing ⚠️
... and 47 more
Additional details and impacted files
@@               Coverage Diff                @@
##           release-1.30   #11921      +/-   ##
================================================
+ Coverage         41.62%   44.25%   +2.63%     
================================================
  Files               206      190      -16     
  Lines             19678    19002     -676     
================================================
+ Hits               8191     8410     +219     
+ Misses            10207     9355     -852     
+ Partials           1280     1237      -43     
Flag Coverage Δ
e2etests 35.30% <10.47%> (+1.11%) ⬆️
inttests 18.86% <11.32%> (+0.31%) ⬆️
unittests 16.71% <7.96%> (+0.57%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@brandond brandond merged commit f82e387 into k3s-io:release-1.30 Mar 7, 2025
54 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants