Skip to content
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.23] Backports for 2022-12 #6602

Merged
merged 17 commits into from
Dec 2, 2022

Conversation

brandond
Copy link
Member

@brandond brandond commented Dec 1, 2022

Proposed Changes

Backport changes from master:

Types of Changes

backports

Verification

See linked issue

Testing

Linked Issues

User-Facing Change

Added new prefer-bundled-bin flag which force K3s to use its bundle binaries over that of the host tools
The rootless `port-driver`, `cidr`, `mtu`, `enable-ipv6`, and `disable-host-loopback` settings can now be configured via environment variables.
The embedded Load-Balancer controller image has been bumped to klipper-lb:v0.4.0, which includes support for the [LoadBalancerSourceRanges](https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/#:~:text=loadBalancerSourceRanges) field.
The embedded Helm controller image has been bumped to klipper-helm:v0.7.4-build20221121
The embedded cloud-controller-manager's metrics listener on port 10258 is now disabled when the `--disable-cloud-controller` flag is set.
Deployments for K3s packaged components now have consistent upgrade strategy and revisionHistoryLimit settings, and will not override scaling decisions by hardcoding the replica count.
The packaged metrics-server has been bumped to v0.6.2
The embedded k3s-root version has been bumped to v0.12.0, based on buildroot 2022.08.1.
The embedded swanctl and charon binaries have been removed. If you are using the ipsec flannel backend, please ensure that the strongswan `swanctl` and `charon` packages are installed on your node before upgrading k3s.

Further Comments

* initial prefer-bundled-bin ci change
* Add startup testlet
* Convert parsing to pflag library
* Fix code validation
* go mod tidy

Signed-off-by: Derek Nola <[email protected]>
(cherry picked from commit 0f52088)
Signed-off-by: Brad Davidson <[email protected]>
@brandond brandond requested a review from a team as a code owner December 1, 2022 22:26
@brandond brandond force-pushed the backports-202212_release-1.23 branch 2 times, most recently from 51bf0d6 to 0017a3f Compare December 1, 2022 23:36
brandond and others added 16 commits December 2, 2022 00:25
Signed-off-by: Brad Davidson <[email protected]>
(cherry picked from commit a5fe5e3)
Signed-off-by: Brad Davidson <[email protected]>
Signed-off-by: Brad Davidson <[email protected]>
(cherry picked from commit 7964ada)
Signed-off-by: Brad Davidson <[email protected]>
Signed-off-by: Brad Davidson <[email protected]>
(cherry picked from commit 73171ff)
Signed-off-by: Brad Davidson <[email protected]>
Add enivironment variables for port-driver, cidr, mtu, and disable-host-loopback settings. Since rootless is still experimental, I don't think they deserve full CLI flag status.

Signed-off-by: Brad Davidson <[email protected]>
(cherry picked from commit c02dceb)
Signed-off-by: Brad Davidson <[email protected]>
Signed-off-by: Brad Davidson <[email protected]>
(cherry picked from commit 6f2b21c)
Signed-off-by: Brad Davidson <[email protected]>
Signed-off-by: Brad Davidson <[email protected]>
(cherry picked from commit 56bf7d6)
Signed-off-by: Brad Davidson <[email protected]>
Signed-off-by: Brad Davidson <[email protected]>
(cherry picked from commit 9ff0943)
Signed-off-by: Brad Davidson <[email protected]>
Signed-off-by: Manuel Buil <[email protected]>
(cherry picked from commit 483e29e)
Signed-off-by: Brad Davidson <[email protected]>
* Add prefer-bundled-bin as an agent flag
* Add E2E test for prefer-bundled-bin

Signed-off-by: Derek Nola <[email protected]>
(cherry picked from commit 614da78)
Signed-off-by: Brad Davidson <[email protected]>
Signed-off-by: Brad Davidson <[email protected]>
(cherry picked from commit a07bb55)
Signed-off-by: Brad Davidson <[email protected]>
Prevents port conflicts on upgrade for users that have deployed other cloud controllers.

Signed-off-by: Brad Davidson <[email protected]>
(cherry picked from commit e08a662)
Signed-off-by: Brad Davidson <[email protected]>
Don't override replicas; set revisionHistoryLimit and strategy

Signed-off-by: Brad Davidson <[email protected]>
(cherry picked from commit d539a0a)
Signed-off-by: Brad Davidson <[email protected]>
Signed-off-by: Brad Davidson <[email protected]>
(cherry picked from commit 1eeea5c)
Signed-off-by: Brad Davidson <[email protected]>
Signed-off-by: Brad Davidson <[email protected]>
(cherry picked from commit 2a496d4)
Signed-off-by: Brad Davidson <[email protected]>
Signed-off-by: Brad Davidson <[email protected]>
(cherry picked from commit 915c771)
Signed-off-by: Brad Davidson <[email protected]>
Signed-off-by: Brad Davidson <[email protected]>
(cherry picked from commit 2835368)
Signed-off-by: Brad Davidson <[email protected]>
@brandond brandond force-pushed the backports-202212_release-1.23 branch from 0017a3f to 67dd704 Compare December 2, 2022 00:30
@brandond brandond merged commit c580625 into k3s-io:release-1.23 Dec 2, 2022
@brandond brandond deleted the backports-202212_release-1.23 branch June 6, 2024 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants