Skip to content

Update ServiceLB status when node addresses change - #14550

Merged
brandond merged 2 commits into
k3s-io:mainfrom
eran132:fix/7036-servicelb-node-address-change
Sep 30, 2026
Merged

brandond merged 2 commits into
k3s-io:mainfrom
eran132:fix/7036-servicelb-node-address-change

Conversation

@eran132

@eran132 eran132 commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Proposed Changes

ServiceLB (the built-in cloud-provider) sets LoadBalancer Service status Ingress IPs from the addresses of the Nodes hosting each Service's svclb pods. If a Node's address changes after its svclb pod is already running (DHCP reassignment, moving the node to a new network, cloud provider address change, etc.), the Service's EXTERNAL-IP was not refreshed until something else happened to trigger a re-check (e.g. the pod restarting).

This change adds address-change detection to the existing Node OnChange handler:

  • nodeAddressesChanged compares each Node's current External/Internal IPs against the last-seen value, cached in a small map[string]string guarded by a mutex.
  • When a Node's addresses change, enqueueNodeServices re-queues every Service with a svclb pod on that Node, so its LoadBalancer status is recomputed with the current addresses.
  • The cache entry for a Node is removed when the Node is deleted, so memory stays bounded to the current Node count.

Types of Changes

Bugfix.

Verification

Unit tests added/extended in pkg/cloudprovider/servicelb_test.go cover address-change detection and confirm a Service's LoadBalancer status follows a Node's address change end-to-end.

Verified on both platforms:

  • Windows: go build ./pkg/cloudprovider/..., go vet ./pkg/cloudprovider/..., go test ./pkg/cloudprovider/... all pass.
  • Linux (WSL2 Ubuntu, Go 1.26.7): same package build/vet/test pass, and a full-repo go build ./... (including tests/integration, which requires Linux-only syscalls) also passes.

Testing

  • Test_UnitLBNodeAddresses — table test for the address-extraction/normalization helper.
  • Test_UnitK3s_NodeAddressesChanged — table test covering first-seen, unchanged, added/changed/removed address cases.
  • Test_UnitK3s_ServiceStatusFollowsNodeAddresses — end-to-end test confirming a Service's LoadBalancer ingress IP updates when its pod's Node address changes.

Linked Issues

Addresses issue #7036.

User-Facing Change

ServiceLB now updates a Service's LoadBalancer status when a Node's address changes, instead of only on Node/Pod add or delete.

Further Comments

AI assistance disclosure: I used an AI assistant (Claude/Copilot) to help review this change and verify it by execution (running the unit tests and cross-platform builds referenced above). I reviewed and understand every line of the diff.

Copilot AI lite review requested due to automatic review settings August 25, 2026 21:13
@eran132
eran132 requested a review from a team as a code owner August 25, 2026 21:13
@eran132

eran132 commented Aug 25, 2026

Copy link
Copy Markdown
Contributor Author

Test evidence

Windows — go build/go vet/go test on pkg/cloudprovider: all pass (24/24 tests).

Linux (WSL2 Ubuntu, Go 1.26.7) — same package plus full-repo build:

$ go version
go version go1.26.7 linux/amd64

$ go build ./pkg/cloudprovider/...
(clean, no output)

$ go vet ./pkg/cloudprovider/...
(clean, no output)

$ go test ./pkg/cloudprovider/... -v
=== RUN   Test_UnitK3sInstanceMetadata
--- PASS: Test_UnitK3sInstanceMetadata (0.00s)
    --- PASS: Test_UnitK3sInstanceMetadata/No_Annotations (0.00s)
    --- PASS: Test_UnitK3sInstanceMetadata/Internal_IP (0.00s)
    --- PASS: Test_UnitK3sInstanceMetadata/Internal_IP,_External_IP (0.00s)
    --- PASS: Test_UnitK3sInstanceMetadata/Internal_IP,_External_IP,_Hostname (0.00s)
    --- PASS: Test_UnitK3sInstanceMetadata/Custom_Metadata (0.00s)
=== RUN   Test_UnitFilterByIPFamily
--- PASS: Test_UnitFilterByIPFamily (0.00s)
    --- PASS: Test_UnitFilterByIPFamily/No_IPFamily (0.00s)
    --- PASS: Test_UnitFilterByIPFamily/IPv4_Only (0.00s)
    --- PASS: Test_UnitFilterByIPFamily/IPv6_Only (0.00s)
    --- PASS: Test_UnitFilterByIPFamily/Dual-Stack (0.00s)
=== RUN   Test_UnitFilterByIPFamily_Ordering
--- PASS: Test_UnitFilterByIPFamily_Ordering (0.00s)
=== RUN   Test_UnitGenerateName
--- PASS: Test_UnitGenerateName (0.00s)
    --- PASS: Test_UnitGenerateName/Short_name (0.00s)
    --- PASS: Test_UnitGenerateName/Long_name (0.00s)
    --- PASS: Test_UnitGenerateName/Long_hypenated_name (0.00s)
=== RUN   Test_UnitLBNodeAddresses
--- PASS: Test_UnitLBNodeAddresses (0.00s)
    --- PASS: Test_UnitLBNodeAddresses/No_addresses (0.00s)
    --- PASS: Test_UnitLBNodeAddresses/Internal_address_only (0.00s)
    --- PASS: Test_UnitLBNodeAddresses/Hostname_is_ignored (0.00s)
    --- PASS: Test_UnitLBNodeAddresses/External_and_internal_addresses (0.00s)
    --- PASS: Test_UnitLBNodeAddresses/Address_order_does_not_matter (0.00s)
    --- PASS: Test_UnitLBNodeAddresses/Changed_external_address (0.00s)
=== RUN   Test_UnitK3s_NodeAddressesChanged
--- PASS: Test_UnitK3s_NodeAddressesChanged (0.00s)
    --- PASS: Test_UnitK3s_NodeAddressesChanged/Node_seen_for_the_first_time (0.00s)
    --- PASS: Test_UnitK3s_NodeAddressesChanged/Node_updated_without_address_changes (0.00s)
    --- PASS: Test_UnitK3s_NodeAddressesChanged/External_address_added (0.00s)
    --- PASS: Test_UnitK3s_NodeAddressesChanged/External_address_changed (0.00s)
    --- PASS: Test_UnitK3s_NodeAddressesChanged/External_address_removed (0.00s)
=== RUN   Test_UnitK3s_ServiceStatusFollowsNodeAddresses
--- PASS: Test_UnitK3s_ServiceStatusFollowsNodeAddresses (0.10s)
PASS
ok      github.com/k3s-io/k3s/pkg/cloudprovider 0.159s

$ go build ./...
(full repo, clean, no output — including tests/integration, which does not
compile on Windows due to Linux-only syscalls: this confirms the fix doesn't
introduce any platform-specific issues)

AI assistance disclosure: the cross-platform verification above (Windows + WSL2/Linux) was run with AI assistance (Claude/Copilot) driving the terminal commands; I reviewed the output myself.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the built-in ServiceLB cloud provider controller so that LoadBalancer Service status is refreshed when a Node’s External/Internal IP addresses change (e.g., DHCP reassignment), rather than only when pods/nodes are otherwise reprocessed.

Changes:

  • Adds node address change detection (nodeAddressesChanged) with a mutex-guarded per-node cache of last-seen addresses.
  • When a node’s relevant addresses change, re-enqueues all Services that have svclb pods scheduled on that node so their LoadBalancer ingress IPs are recomputed.
  • Adds/extends unit tests to cover address normalization, change detection, and an end-to-end status update scenario.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
pkg/cloudprovider/servicelb.go Detects node address changes and re-queues affected Services so LB status stays current.
pkg/cloudprovider/servicelb_test.go Adds targeted unit tests plus an end-to-end test to validate status follows node address changes.
pkg/cloudprovider/cloudprovider.go Introduces and initializes mutex-guarded node address cache in the cloud provider struct.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@brandond

Copy link
Copy Markdown
Member

We don't technically support nodes with dynamic addresses. Nodes are expected to have a fixed address for the duration of their life in the cluster.

@codecov

codecov Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 82.60870% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 51.56%. Comparing base (4c6e5fd) to head (c52b326).
⚠️ Report is 18 commits behind head on main.

Files with missing lines Patch % Lines
pkg/cloudprovider/servicelb.go 82.22% 4 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14550      +/-   ##
==========================================
+ Coverage   51.50%   51.56%   +0.06%     
==========================================
  Files         197      197              
  Lines       15803    15916     +113     
==========================================
+ Hits         8139     8207      +68     
- Misses       6368     6406      +38     
- Partials     1296     1303       +7     
Flag Coverage Δ
e2etests 41.39% <73.91%> (-0.02%) ⬇️
inttests 39.07% <60.86%> (+0.10%) ⬆️
unittests 26.61% <76.08%> (+0.48%) ⬆️

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

☔ View full report in Codecov by Harness.
📢 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 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not really sold on this... since we are on record as requiring nodes to have stable IPs for multiple reasons. That said, this looks reasonable.

I would however like to see an integration test instead of a go test. See https://github.com/k3s-io/k3s/blob/main/tests/docker/dualstack/dualstack_test.go for an example. Restart the node with different IPs and confirm that the LB pod and service addresses change.

@eran132
eran132 force-pushed the fix/7036-servicelb-node-address-change branch from 96e7318 to 5beb4f9 Compare September 3, 2026 05:11
@eran132

eran132 commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Fixed the Docker integration test selector: ServiceLB pods use svccontroller.k3s.cattle.io/svcname, not svccontroller.k3s.io/svcname. The previous selector always returned no pods, which caused the svcpoliciesandfirewall CI timeout. The correction is signed off in 5beb4f9.

@eran132
eran132 requested a review from brandond September 3, 2026 07:31
brandond
brandond previously approved these changes Sep 4, 2026
@eran132

eran132 commented Sep 13, 2026

Copy link
Copy Markdown
Contributor Author

@brandond A reminder on this.

@brandond

brandond commented Sep 16, 2026 •

Copy link
Copy Markdown
Member

I'd like to see this and #14626 combined, although in separate commits (one for each improvement). Holding off on additional review until that's addressed.

In particular I don't want to see us continuing to add more maps and locks ad nauseum. If we find ourselves doing that, it starts smelling like something needs a refactor.

@eran132

eran132 commented Sep 16, 2026 via email

Copy link
Copy Markdown
Contributor Author

@eran132
eran132 force-pushed the fix/7036-servicelb-node-address-change branch from 5beb4f9 to aed77f4 Compare September 16, 2026 21:48
Comment thread pkg/cloudprovider/servicelb.go Resolved
@eran132
eran132 force-pushed the fix/7036-servicelb-node-address-change branch from aed77f4 to e5cbfce Compare September 17, 2026 07:46
@eran132

eran132 commented Sep 17, 2026

Copy link
Copy Markdown
Contributor Author

I see your point — and now updateNodeState treats a node with a DeletionTimestamp the same as a deleted (nil) one, with a test coverage.

Comment thread pkg/cloudprovider/servicelb.go Outdated
Comment on lines +197 to +210
pods, err := k.podCache.List(k.LBNamespace, labels.Everything())
if err != nil {
return err
}

for _, pod := range pods {
if pod.Spec.NodeName != nodeName {
continue
}
serviceName := pod.Labels[svcNameLabel]
serviceNamespace := pod.Labels[svcNamespaceLabel]
if serviceName == "" || serviceNamespace == "" {
continue
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are you passing labels.Everything() as the labelSelector but then manually filtering by labels? This is literally exactly what labels are for.

You can also use a FieldSelector for the node name, although I'm not sure if you can use FieldSelector when listing from the cache:

https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/#list-of-supported-fields
Pod | spec.nodeName

Push ALL of this filtering into the List if possible.

Comment thread pkg/cloudprovider/servicelb.go Outdated
}

_, hasLabel := node.Labels[daemonsetNodeLabel]
cur := nodeState{addresses: lbNodeAddresses(node), hasSelectorLabel: hasLabel}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This allocates once per updateNodeState call, just to do a comparison and most likely throw away the new object. Compare the fields first; if existed is true, then update fields on prev and store in the map. Only create a new nodeState if existed is false.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now only builds and stores the nodeState when it's new or a field actually changed.

@eran132
eran132 force-pushed the fix/7036-servicelb-node-address-change branch from e5cbfce to f756e5e Compare September 20, 2026 13:23

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Switching to a label selector for the svclb pods; retained the node-name as a field filter since it isn't a label.

Comment thread pkg/cloudprovider/servicelb.go Outdated
Comment on lines +199 to +210
// svclbPodSelector matches ServiceLB pods, which are labeled with the service they front.
func svclbPodSelector() (labels.Selector, error) {
selector := labels.NewSelector()
for _, key := range []string{svcNameLabel, svcNamespaceLabel} {
req, err := labels.NewRequirement(key, selection.Exists, nil)
if err != nil {
return nil, err
}
selector = selector.Add(*req)
}
return selector, nil
}

@brandond brandond Sep 20, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: pretty sure you can replace this whole function with just labels.Parse(svcNameLabel + "," + svcNamespaceLabel)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. labels.Parse(svcNameLabel + "," + svcNamespaceLabel) in place of the helper.

@eran132
eran132 force-pushed the fix/7036-servicelb-node-address-change branch from f756e5e to f8e591e Compare September 21, 2026 10:50

@brandond brandond left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, final nit

Comment thread pkg/cloudprovider/servicelb.go Outdated
Comment on lines +202 to +207
// ServiceLB pods are labeled with the service they front; select pods carrying those labels.
selector, err := labels.Parse(svcNameLabel + "," + svcNamespaceLabel)
if err != nil {
return err
}
pods, err := k.podCache.List(k.LBNamespace, selector)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

final nit that occurred to me overnight: this is a fixed selector that doesn't need to be re-parsed EVERY iteration so lets make it a package var:

var lbPodSelector labels.Selector

func init(){
  var err error
  lbPodSelector, err = labels.Parse(svcNameLabel + "," + svcNamespaceLabel)
  if err != nil {
    panic("failed to parse servicelb label selector: " + err.Error())
  }
}
Suggested change
// ServiceLB pods are labeled with the service they front; select pods carrying those labels.
selector, err := labels.Parse(svcNameLabel + "," + svcNamespaceLabel)
if err != nil {
return err
}
pods, err := k.podCache.List(k.LBNamespace, selector)
// ServiceLB pods are labeled with the service they front; select pods carrying those labels.
pods, err := k.podCache.List(k.LBNamespace, lbPodSelector)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, moved it to a package var initialized in init()

Signed-off-by: Eran Markus <eran132@gmail.com>
@eran132
eran132 force-pushed the fix/7036-servicelb-node-address-change branch from f8e591e to 053b49f Compare September 28, 2026 04:53
Signed-off-by: Eran Markus <eran132@gmail.com>
@eran132
eran132 force-pushed the fix/7036-servicelb-node-address-change branch from 053b49f to c52b326 Compare September 28, 2026 09:28
@brandond
brandond merged commit fd5c783 into k3s-io:main Sep 30, 2026
60 checks passed
@eran132
eran132 deleted the fix/7036-servicelb-node-address-change branch October 19, 2026 15:16
patrickjmcd pushed a commit to patrickjmcd/k8s-argo that referenced this pull request Nov 4, 2026
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [k3s-io/k3s](https://github.com/k3s-io/k3s) | patch | `v1.37.1+k3s1` → `v1.37.2+k3s1` |

Merging starts the node upgrade rollout immediately (Flux applies it within minutes). Servers upgrade first, then agents, one node at a time. Never merge a minor-version jump larger than one; check no Proxmox host maintenance is in progress.

---

### Release Notes

<details>
<summary>k3s-io/k3s</summary>

### [`v1.37.2+k3s1`](https://github.com/k3s-io/k3s/releases/tag/v1.37.2%2Bk3s1): v1.37.2+k3s1

[Compare Source](k3s-io/k3s@v1.37.1+k3s1...v1.37.2+k3s1)

<!-- v1.37.2+k3s1 -->

This release updates Kubernetes to v1.37.2, and fixes a number of issues.

For more details on what's new, see the [Kubernetes release notes](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md#changelog-since-v1371).

##### Changes since v1.37.1+k3s1:

- Add gateway-api-crd to help [(#&#8203;14727)](k3s-io/k3s#14727)
- Run snapshotrestore test entries in parallel [(#&#8203;14733)](k3s-io/k3s#14733)
- Deps: bump containerd to v2.3.6 [(#&#8203;14744)](k3s-io/k3s#14744)
- Bump Traefik to v3.7.14 and gateway-api to 1.6.2 [(#&#8203;14757)](k3s-io/k3s#14757)
- Bump gateway-api to 1.6.3 [(#&#8203;14769)](k3s-io/k3s#14769)
- Bump K3s-root version to v0.15.3 [(#&#8203;14782)](k3s-io/k3s#14782)
- Bump flannel to v0.28.10 [(#&#8203;14796)](k3s-io/k3s#14796)
- Bump containerd to v2.3.7 [(#&#8203;14805)](k3s-io/k3s#14805)
- Update kube-roter to v2.11.1 [(#&#8203;14762)](k3s-io/k3s#14762)
- Remove unused replace directives [(#&#8203;14821)](k3s-io/k3s#14821)
- Bump Klipper Helm and Helm Controller version [(#&#8203;14814)](k3s-io/k3s#14814)
- Backports for 2026-10 [(#&#8203;14825)](k3s-io/k3s#14825)
  - Prevent systemd restart loop when no default route is present by waiting 60 seconds for default route to appear [#&#8203;14527](k3s-io/k3s#14527)
  - Exclude kms-providers from apiserver readiness check [#&#8203;14635](k3s-io/k3s#14635)
  - Clarify etcd local vs S3 snapshot retention flag help [#&#8203;14716](k3s-io/k3s#14716)
  - Update ServiceLB status when node addresses change [#&#8203;14550](k3s-io/k3s#14550)
  - Omit default SA key flags when service-account-signing-endpoint is set [#&#8203;14719](k3s-io/k3s#14719)
  - Fix local-path PV deletion with SELinux enforcing [#&#8203;14740](k3s-io/k3s#14740)
  - Feature/14562 etcd snapshot restrictions [#&#8203;14678](k3s-io/k3s#14678)
  - Report image list read errors when pre-pulling images [#&#8203;14732](k3s-io/k3s#14732)
  - Migrate CI from docker to GHCR [#&#8203;14603](k3s-io/k3s#14603)
  - Fix etcd member removal when etcd is disabled on an existing server [#&#8203;14801](k3s-io/k3s#14801)
  - Docker tests: add gateway-api test [#&#8203;14802](k3s-io/k3s#14802)
  - Fix goroutine leak in the proxy [#&#8203;14811](k3s-io/k3s#14811)
  - Make etcdsnapshot restrictions integration test respect the test lock [#&#8203;14820](k3s-io/k3s#14820)
- Bump rancher/mirrored-library-traefik image version [(#&#8203;14833)](k3s-io/k3s#14833)
- Bump Klipper Helm and Helm Controller version [(#&#8203;14874)](k3s-io/k3s#14874)
- Pin runners to ubuntu-24.04 [(#&#8203;14918)](k3s-io/k3s#14918)
- Bump k3s-io/kubernetes and Go references [(#&#8203;14925)](k3s-io/k3s#14925)
- Bump x/net and pass `golang.org/x/` replacements through when building bundled binaries [(#&#8203;14935)](k3s-io/k3s#14935)

##### Embedded Component Versions

| Component                  | Version                                                                                                      |
| -------------------------- | ------------------------------------------------------------------------------------------------------------ |
| Kubernetes                 | [v1.37.2](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md#v1372)            |
| Kine                       | [v0.17.1](https://github.com/k3s-io/kine/releases/tag/v0.17.1)                                               |
| SQLite                     | [3.53.4](https://sqlite.org/releaselog/3_53_4.html)                                                          |
| Etcd                       | [v3.7.1-k3s3](https://github.com/k3s-io/etcd/releases/tag/v3.7.1-k3s3)                                       |
| Containerd                 | [v2.3.7-k3s1](https://github.com/k3s-io/containerd/releases/tag/v2.3.7-k3s1)                                 |
| Runc                       | [v1.4.2](https://github.com/opencontainers/runc/releases/tag/v1.4.2)                                         |
| Flannel                    | [v0.28.10](https://github.com/flannel-io/flannel/releases/tag/v0.28.10)                                      |
| Metrics-server             | [v0.9.0](https://github.com/kubernetes-sigs/metrics-server/releases/tag/v0.9.0)                              |
| Traefik                    | [v3.7.15](https://github.com/traefik/traefik/releases/tag/v3.7.15)                                           |
| CoreDNS                    | [v1.14.7](https://github.com/coredns/coredns/releases/tag/v1.14.7)                                           |
| Helm-controller            | [v0.17.9](https://github.com/k3s-io/helm-controller/releases/tag/v0.17.9)                                    |
| Local-path-provisioner     | [v0.0.37](https://github.com/rancher/local-path-provisioner/releases/tag/v0.0.37)                            |
| Kubernetes Gateway API CRD | [1.6.301](https://github.com/k3s-io/k3s-charts/blob/main/assets/gateway-api-crd/gateway-api-crd-1.6.301.tgz) |

##### Helpful Links

As always, we welcome and appreciate feedback from our community of users. Please feel free to:

- [Open issues here](https://github.com/rancher/k3s/issues/new/choose)
- [Join our Slack channel](https://slack.rancher.io/)
- [Check out our documentation](https://rancher.com/docs/k3s/latest/en/) for guidance on how to get started or to dive deep into K3s.
- [Read how you can contribute here](https://github.com/rancher/k3s/blob/master/CONTRIBUTING.md)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMTUuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjIxNi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJuZWVkcy1yZXZpZXciLCJyZW5vdmF0ZS9wYXRjaCJdfQ==-->

Reviewed-on: https://git.x.pmcd.io/patrickjmcd/k8s-argo/pulls/32
Co-authored-by: Renovate Bot <renovate@noreply.git.x.pmcd.io>
rogerrum pushed a commit to rogerrum/k8s-gitops that referenced this pull request Nov 25, 2026
….2+k3s1 ) (#3778)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [k3s-io/k3s](https://github.com/k3s-io/k3s) | patch | `v1.37.1+k3s1` → `v1.37.2+k3s1` |

---

> ⚠️ **Warning**
>
> Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/3566) for more information.

---

### Release Notes

<details>
<summary>k3s-io/k3s</summary>

### [`v1.37.2+k3s1`](https://github.com/k3s-io/k3s/releases/tag/v1.37.2%2Bk3s1): v1.37.2+k3s1

[Compare Source](k3s-io/k3s@v1.37.1+k3s1...v1.37.2+k3s1)

<!-- v1.37.2+k3s1 -->

This release updates Kubernetes to v1.37.2, and fixes a number of issues.

For more details on what's new, see the [Kubernetes release notes](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md#changelog-since-v1371).

##### Changes since v1.37.1+k3s1:

- Add gateway-api-crd to help [(#&#8203;14727)](k3s-io/k3s#14727)
- Run snapshotrestore test entries in parallel [(#&#8203;14733)](k3s-io/k3s#14733)
- Deps: bump containerd to v2.3.6 [(#&#8203;14744)](k3s-io/k3s#14744)
- Bump Traefik to v3.7.14 and gateway-api to 1.6.2 [(#&#8203;14757)](k3s-io/k3s#14757)
- Bump gateway-api to 1.6.3 [(#&#8203;14769)](k3s-io/k3s#14769)
- Bump K3s-root version to v0.15.3 [(#&#8203;14782)](k3s-io/k3s#14782)
- Bump flannel to v0.28.10 [(#&#8203;14796)](k3s-io/k3s#14796)
- Bump containerd to v2.3.7 [(#&#8203;14805)](k3s-io/k3s#14805)
- Update kube-roter to v2.11.1 [(#&#8203;14762)](k3s-io/k3s#14762)
- Remove unused replace directives [(#&#8203;14821)](k3s-io/k3s#14821)
- Bump Klipper Helm and Helm Controller version [(#&#8203;14814)](k3s-io/k3s#14814)
- Backports for 2026-10 [(#&#8203;14825)](k3s-io/k3s#14825)
  - Prevent systemd restart loop when no default route is present by waiting 60 seconds for default route to appear [#&#8203;14527](k3s-io/k3s#14527)
  - Exclude kms-providers from apiserver readiness check [#&#8203;14635](k3s-io/k3s#14635)
  - Clarify etcd local vs S3 snapshot retention flag help [#&#8203;14716](k3s-io/k3s#14716)
  - Update ServiceLB status when node addresses change [#&#8203;14550](k3s-io/k3s#14550)
  - Omit default SA key flags when service-account-signing-endpoint is set [#&#8203;14719](k3s-io/k3s#14719)
  - Fix local-path PV deletion with SELinux enforcing [#&#8203;14740](k3s-io/k3s#14740)
  - Feature/14562 etcd snapshot restrictions [#&#8203;14678](k3s-io/k3s#14678)
  - Report image list read errors when pre-pulling images [#&#8203;14732](k3s-io/k3s#14732)
  - Migrate CI from docker to GHCR [#&#8203;14603](k3s-io/k3s#14603)
  - Fix etcd member removal when etcd is disabled on an existing server [#&#8203;14801](k3s-io/k3s#14801)
  - Docker tests: add gateway-api test [#&#8203;14802](k3s-io/k3s#14802)
  - Fix goroutine leak in the proxy [#&#8203;14811](k3s-io/k3s#14811)
  - Make etcdsnapshot restrictions integration test respect the test lock [#&#8203;14820](k3s-io/k3s#14820)
- Bump rancher/mirrored-library-traefik image version [(#&#8203;14833)](k3s-io/k3s#14833)
- Bump Klipper Helm and Helm Controller version [(#&#8203;14874)](k3s-io/k3s#14874)
- Pin runners to ubuntu-24.04 [(#&#8203;14918)](k3s-io/k3s#14918)
- Bump k3s-io/kubernetes and Go references [(#&#8203;14925)](k3s-io/k3s#14925)
- Bump x/net and pass `golang.org/x/` replacements through when building bundled binaries [(#&#8203;14935)](k3s-io/k3s#14935)

##### Embedded Component Versions

| Component                  | Version                                                                                                      |
| -------------------------- | ------------------------------------------------------------------------------------------------------------ |
| Kubernetes                 | [v1.37.2](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md#v1372)            |
| Kine                       | [v0.17.1](https://github.com/k3s-io/kine/releases/tag/v0.17.1)                                               |
| SQLite                     | [3.53.4](https://sqlite.org/releaselog/3_53_4.html)                                                          |
| Etcd                       | [v3.7.1-k3s3](https://github.com/k3s-io/etcd/releases/tag/v3.7.1-k3s3)                                       |
| Containerd                 | [v2.3.7-k3s1](https://github.com/k3s-io/containerd/releases/tag/v2.3.7-k3s1)                                 |
| Runc                       | [v1.4.2](https://github.com/opencontainers/runc/releases/tag/v1.4.2)                                         |
| Flannel                    | [v0.28.10](https://github.com/flannel-io/flannel/releases/tag/v0.28.10)                                      |
| Metrics-server             | [v0.9.0](https://github.com/kubernetes-sigs/metrics-server/releases/tag/v0.9.0)                              |
| Traefik                    | [v3.7.15](https://github.com/traefik/traefik/releases/tag/v3.7.15)                                           |
| CoreDNS                    | [v1.14.7](https://github.com/coredns/coredns/releases/tag/v1.14.7)                                           |
| Helm-controller            | [v0.17.9](https://github.com/k3s-io/helm-controller/releases/tag/v0.17.9)                                    |
| Local-path-provisioner     | [v0.0.37](https://github.com/rancher/local-path-provisioner/releases/tag/v0.0.37)                            |
| Kubernetes Gateway API CRD | [1.6.301](https://github.com/k3s-io/k3s-charts/blob/main/assets/gateway-api-crd/gateway-api-crd-1.6.301.tgz) |

##### Helpful Links

As always, we welcome and appreciate feedback from our community of users. Please feel free to:

- [Open issues here](https://github.com/rancher/k3s/issues/new/choose)
- [Join our Slack channel](https://slack.rancher.io/)
- [Check out our documentation](https://rancher.com/docs/k3s/latest/en/) for guidance on how to get started or to dive deep into K3s.
- [Read how you can contribute here](https://github.com/rancher/k3s/blob/master/CONTRIBUTING.md)

</details>

---

### Configuration

📅 **Schedule**: (in timezone America/Chicago)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Operator](https://github.com/mogenius/renovate-operator).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNTEuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjE1MS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9naXRodWItcmVsZWFzZSIsInR5cGUvcGF0Y2giXX0=-->

Reviewed-on: https://git.rsr.net/roger/k8s-gitops/pulls/3778
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