-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[release-1.26] Backports for 2023-10 release #8616
[release-1.26] Backports for 2023-10 release #8616
Commits on Oct 12, 2023
-
Disable HTTP on main etcd client port
Fixes performance issue under load, ref: etcd-io/etcd#15402 and kubernetes/kubernetes#118460 Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 8c73fd6) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Configuration menu - View commit details
-
Copy full SHA for 6224913 - Browse repository at this point
Copy the full SHA 6224913View commit details -
Don't ignore assets in home dir if system assets exist
Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 1e38b5d) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Configuration menu - View commit details
-
Copy full SHA for 8506bae - Browse repository at this point
Copy the full SHA 8506baeView commit details -
Pass SystemdCgroup setting through to nvidia runtime options
Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 0e5c760) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Configuration menu - View commit details
-
Copy full SHA for 2b08411 - Browse repository at this point
Copy the full SHA 2b08411View commit details -
Bump containerd to v1.7.7-k3s1
Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 5fe4f67) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Configuration menu - View commit details
-
Copy full SHA for 48a2c09 - Browse repository at this point
Copy the full SHA 48a2c09View commit details -
Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 9bb1ce1) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Configuration menu - View commit details
-
Copy full SHA for ee31497 - Browse repository at this point
Copy the full SHA ee31497View commit details -
Add ADR for etcd snapshot CRD migration
Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 22065af) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Configuration menu - View commit details
-
Copy full SHA for 6381b2f - Browse repository at this point
Copy the full SHA 6381b2fView commit details -
Minor updates as per design review discussion
Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 64107b5) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Configuration menu - View commit details
-
Copy full SHA for 8e668e8 - Browse repository at this point
Copy the full SHA 8e668e8View commit details -
Add new CRD for etcd snapshots
Also adds a hack go script to print the embedded CRDs, for developer use. Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 500744b) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Configuration menu - View commit details
-
Copy full SHA for ae0a071 - Browse repository at this point
Copy the full SHA ae0a071View commit details -
Move etcd snapshot code into separate file
Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 676b00a) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Configuration menu - View commit details
-
Copy full SHA for 23db370 - Browse repository at this point
Copy the full SHA 23db370View commit details -
Elide old snapshot data when apiserver rejects configmap with ErrRequ…
…estEntityTooLarge Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 2b0e2e8) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Configuration menu - View commit details
-
Copy full SHA for f645bf3 - Browse repository at this point
Copy the full SHA f645bf3View commit details -
Consistently refer to object keys as such, simplify error handling. Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit f1afe15) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Configuration menu - View commit details
-
Copy full SHA for 3d2de0c - Browse repository at this point
Copy the full SHA 3d2de0cView commit details -
Consistently set snapshotFile timestamp
Attempt to use timestamp from creation or filename instead of file/object modification times Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 8d47645) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Configuration menu - View commit details
-
Copy full SHA for b33d9f5 - Browse repository at this point
Copy the full SHA b33d9f5View commit details -
Move s3 snapshot list functionality to s3.go
Also, don't list ONLY s3 snapshots if S3 is enabled. Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 80f909d) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Configuration menu - View commit details
-
Copy full SHA for b5cb1b0 - Browse repository at this point
Copy the full SHA b5cb1b0View commit details -
Store extra metadata and cluster ID for snapshots
Write the extra metadata both locally and to S3. These files are placed such that they will not be used by older versions of K3s that do not make use of them. Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 7464007) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Configuration menu - View commit details
-
Copy full SHA for 9705b6a - Browse repository at this point
Copy the full SHA 9705b6aView commit details -
Sort snapshots by time and key in tabwriter output
Fixes snapshot list coming out in non-deterministic order Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit a15b804) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Configuration menu - View commit details
-
Copy full SHA for eecb577 - Browse repository at this point
Copy the full SHA eecb577View commit details -
Move snapshot delete into local/s3 functions
Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 5cd4f69) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Configuration menu - View commit details
-
Copy full SHA for eb62b15 - Browse repository at this point
Copy the full SHA eb62b15View commit details -
Switch to managing ETCDSnapshotFile resources
Reconcile snapshot CRs instead of ConfigMap; manage ConfigMap downstream from CR list Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 550ab36) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Configuration menu - View commit details
-
Copy full SHA for 95c7161 - Browse repository at this point
Copy the full SHA 95c7161View commit details -
Add server token hash to CR and S3
This required pulling the token hash stuff out of the cluster package, into util. Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit d885162) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Configuration menu - View commit details
-
Copy full SHA for ebcca50 - Browse repository at this point
Copy the full SHA ebcca50View commit details -
Fix etcd snapshot integration tests
Snapshot delete/prune tests were only working because the delete command would report success even when deleting a snapshot that didn't exist, and the test regex was finding the snapshot name multiple times in the list output and deleting it twice. Snapshot restore tests seem to have expected the deployment to be rolled out immediately, which is not a reasonable expectation. Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 7c5b69c) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Configuration menu - View commit details
-
Copy full SHA for 619f6b6 - Browse repository at this point
Copy the full SHA 619f6b6View commit details -
Switch build target from main.go to a package. (k3s-io#8342)
* Switch build target from main.go to a package. * Dont build with vcs Signed-off-by: Dan Lorenc <dlorenc@chainguard.dev> Signed-off-by: Derek Nola <derek.nola@suse.com> Co-authored-by: Derek Nola <derek.nola@suse.com> (cherry picked from commit 3d25e9f) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Configuration menu - View commit details
-
Copy full SHA for b2bb944 - Browse repository at this point
Copy the full SHA b2bb944View commit details
Commits on Oct 13, 2023
-
Bump traefik, golang.org/x/net, google.golang.org/grpc
Fixes exposure to CVE-2023-39325 Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Configuration menu - View commit details
-
Copy full SHA for c698567 - Browse repository at this point
Copy the full SHA c698567View commit details