Skip to content

fix(deps): update kubernetes packages to v0.35.0#1355

Merged
kondracek-nr merged 1 commit into
mainfrom
renovate/kubernetes-go
Jan 29, 2026
Merged

fix(deps): update kubernetes packages to v0.35.0#1355
kondracek-nr merged 1 commit into
mainfrom
renovate/kubernetes-go

Conversation

@renovate

@renovate renovate Bot commented Dec 10, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
k8s.io/api v0.34.2v0.35.0 age confidence
k8s.io/apimachinery v0.34.2v0.35.0 age confidence
k8s.io/client-go v0.34.2v0.35.0 age confidence
k8s.io/kubelet v0.34.2v0.35.0 age confidence

Release Notes

kubernetes/api (k8s.io/api)

v0.35.0

Compare Source

v0.34.3

Compare Source

kubernetes/apimachinery (k8s.io/apimachinery)

v0.35.0

Compare Source

v0.34.3

Compare Source

kubernetes/client-go (k8s.io/client-go)

v0.35.0

Compare Source

v0.34.3

Compare Source

kubernetes/kubelet (k8s.io/kubelet)

v0.35.0

Compare Source

v0.34.3

Compare Source


Configuration

📅 Schedule: 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 is behind base branch, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested a review from a team as a code owner December 10, 2025 06:43
@codecov

codecov Bot commented Dec 10, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.41%. Comparing base (0d8e044) to head (e7ad2fa).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1355   +/-   ##
=======================================
  Coverage   74.41%   74.41%           
=======================================
  Files          53       53           
  Lines        3666     3666           
=======================================
  Hits         2728     2728           
  Misses        766      766           
  Partials      172      172           

☔ 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.

@renovate renovate Bot force-pushed the renovate/kubernetes-go branch 10 times, most recently from 3f0b9f6 to ae901ef Compare December 17, 2025 23:12
@renovate renovate Bot changed the title fix(deps): update kubernetes packages to v0.34.3 fix(deps): update kubernetes packages to v0.35.0 Dec 18, 2025
@renovate renovate Bot force-pushed the renovate/kubernetes-go branch from ae901ef to ddfe7bf Compare December 18, 2025 00:54
@renovate

renovate Bot commented Dec 18, 2025

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 5 additional dependencies were updated

Details:

Package Change
github.com/go-logr/logr v1.4.2 -> v1.4.3
gopkg.in/evanphx/json-patch.v4 v4.12.0 -> v4.13.0
k8s.io/kube-openapi v0.0.0-20250710124328-f3f2b991d03b -> v0.0.0-20250910181357-589584f1c912
k8s.io/utils v0.0.0-20250604170112-4c0f3b243397 -> v0.0.0-20251002143259-bc988d571ff4
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 -> v0.0.0-20250730193827-2d320260d730

@renovate renovate Bot force-pushed the renovate/kubernetes-go branch 7 times, most recently from 0f821be to e3b8b8c Compare December 24, 2025 22:25
@renovate renovate Bot force-pushed the renovate/kubernetes-go branch from e3b8b8c to cfb9f82 Compare December 29, 2025 12:24
@renovate renovate Bot force-pushed the renovate/kubernetes-go branch 6 times, most recently from 960c40a to 4ee098d Compare January 19, 2026 12:23
@renovate renovate Bot force-pushed the renovate/kubernetes-go branch 5 times, most recently from 916d2e8 to ef63a04 Compare January 27, 2026 16:58
@renovate renovate Bot force-pushed the renovate/kubernetes-go branch 2 times, most recently from c26ef84 to 814922d Compare January 28, 2026 12:05
@renovate renovate Bot force-pushed the renovate/kubernetes-go branch from 814922d to e7ad2fa Compare January 29, 2026 15:06
@kondracek-nr

Copy link
Copy Markdown
Contributor

Claude analysis of 0.34.3 -> 0.35.0 k8s.io package update

Summary: Kubernetes v0.34.x → v0.35.0 Upgrade Analysis

Breaking Changes Assessment: ✅ No relevant breaking changes

The upgrade is safe for this repository. Here's why:

Changes That Don't Affect Us:

  1. gogo/protobuf removal - Not used in source code (only in vendored dependencies)
  2. Kubelet flag removal (--pod-infra-container-image) - We don't configure kubelet
  3. cgroups v1 deprecation - Affects cluster operators, not monitoring clients
  4. IPVS mode deprecation - Irrelevant to this integration

Changes That Are Beneficial:

  1. Client-go informer fix - Fixes a regression in v0.34+ that prevented informers from using configured Transformer functions. This actually improves reliability.
  2. New PodStatus fields - Resources and AllocatedResources fields added. We don't currently use these, but they're available if needed in the future.
  3. Various kubelet bug fixes - Fixes for volume stats metrics and other edge cases.

Test Coverage: ✅ Excellent

The test suite comprehensively covers all areas that use the updated packages:

Pod API Usage (src/kubelet/metric/pods_test.go:248-436):

  • ✅ Pod parsing from kubelet /pods endpoint
  • ✅ PodStatus extraction (conditions, phase, ready state)
  • ✅ Container status parsing (Running, Waiting, Terminated)
  • ✅ Sidecar container handling (Kubernetes 1.28+ feature)
  • ✅ Priority and PriorityClassName fields
  • ✅ Resource requests/limits extraction
  • ✅ Owner reference parsing

Stats API Usage (src/kubelet/metric/metric_test.go:10-678):

  • ✅ Kubelet /stats/summary endpoint parsing
  • ✅ NodeStats, PodStats, ContainerStats parsing
  • ✅ Network metrics and interface data
  • ✅ Volume stats and filesystem metrics
  • ✅ Missing field handling (resilient to incomplete data)

Informer/Lister Usage (internal/discovery/pods_lister_test.go:32-278):

  • ✅ Multi-namespace pod discovery
  • ✅ Label selector filtering
  • ✅ Informer cache sync and updates
  • ✅ Lister functionality

Node API Usage:

  • ✅ Node status queries (src/kubelet/client/connector.go:193)
  • ✅ DaemonEndpoints access for kubelet port discovery
  • ✅ Node capacity and allocatable resources

Test Results: ✅ All Passing

After syncing the vendor directory with go mod vendor, all tests pass:
✅ src/kubelet/metric/... - 0.507s
✅ internal/discovery/... - 4.444s
✅ All packages tested successfully

What We Actually Use From The Updated Packages:

From k8s.io/api/core/v1:

  • Pod, PodList, PodStatus, PodSpec
  • Node, NodeStatus
  • Service, Endpoints
  • Namespace, Secret
  • Container resources (CPU, Memory)

From k8s.io/client-go:

  • Kubernetes clientset creation
  • Informer factories for caching
  • Listers for efficient lookups
  • REST config and transport layers

From k8s.io/kubelet/pkg/apis/stats/v1alpha1:

  • Summary, NodeStats, PodStats, ContainerStats
  • NetworkStats, VolumeStats, FsStats

All of these APIs remain stable and backward compatible in v0.35.0.

@kondracek-nr kondracek-nr merged commit 91364be into main Jan 29, 2026
43 checks passed
@kondracek-nr kondracek-nr deleted the renovate/kubernetes-go branch January 29, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant