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.29] Backports for 2025-03 #11931

Merged
merged 14 commits into from
Mar 10, 2025

Conversation

brandond and others added 14 commits March 10, 2025 18:07
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>
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 requested a review from a team as a code owner March 10, 2025 18:38
Copy link

codecov bot commented Mar 10, 2025

Codecov Report

Attention: Patch coverage is 18.23899% with 390 lines in your changes missing coverage. Please review.

Project coverage is 47.24%. Comparing base (6873bcc) to head (946427b).
Report is 15 commits behind head on release-1.29.

Files with missing lines Patch % Lines
pkg/cluster/bootstrap.go 16.45% 61 Missing and 5 partials ⚠️
pkg/cluster/cluster.go 18.36% 38 Missing and 2 partials ⚠️
pkg/etcd/snapshot.go 13.95% 37 Missing ⚠️
pkg/agent/config/config.go 0.00% 22 Missing ⚠️
pkg/etcd/etcd.go 19.04% 16 Missing and 1 partial ⚠️
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 48 more
Additional details and impacted files
@@               Coverage Diff                @@
##           release-1.29   #11931      +/-   ##
================================================
- Coverage         48.19%   47.24%   -0.95%     
================================================
  Files               206      190      -16     
  Lines             19689    19037     -652     
================================================
- Hits               9489     8994     -495     
+ Misses             8821     8720     -101     
+ Partials           1379     1323      -56     
Flag Coverage Δ
e2etests 40.36% <15.38%> (-3.68%) ⬇️
inttests 35.10% <11.96%> (+0.11%) ⬆️
unittests 16.68% <7.96%> (+0.55%) ⬆️

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 4cbe009 into k3s-io:release-1.29 Mar 10, 2025
48 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.

5 participants