Skip to content

Upgrade k8s.io/* to v0.35.0, sigs.k8s.io/controller-runtime to v0.23.1, sigs.k8s.io/controller-tools to v0.20.0#13982

Merged
gardener-prow[bot] merged 8 commits intogardener:masterfrom
timuthy:dep/kubernetes-1.35
Feb 13, 2026
Merged

Upgrade k8s.io/* to v0.35.0, sigs.k8s.io/controller-runtime to v0.23.1, sigs.k8s.io/controller-tools to v0.20.0#13982
gardener-prow[bot] merged 8 commits intogardener:masterfrom
timuthy:dep/kubernetes-1.35

Conversation

@timuthy
Copy link
Copy Markdown
Member

@timuthy timuthy commented Feb 6, 2026

How to categorize this PR?

/area open-source dev-productivity ops-productivity
/kind enhancement

What this PR does / why we need it:
Upgrades k8s.io/* to v0.35.0, sigs.k8s.io/controller-runtime to v0.23.1, sigs.k8s.io/controller-tools to v0.20.0.

Please see individual commits for more information.

Which issue(s) this PR fixes:
Fixes #13901

Special notes for your reviewer:

  • 161e3c9 will be removed as soon as Re-add terminal-controller-manager Go dependency #13979 is merged
  • 4ba170d was an outcome while working on the disablement of client-side throttling. Later, we decided to not disable client-side throttling in this PR, as is it requires more preparation and follow ups (priority and fairness config, feature gate, etc.). Still, I decided to keep the small refactoring in this PR.
  • 433885f adds a new panel, here is a screenshot (timeouts are fabricated):
Screenshot 2026-02-06 at 11 09 56

Release note:

The following dependencies are updated:
- `k8s.io/*`: `v0.34.3` -> `v0.35.0`
- `sigs.k8s.io/controller-runtime`: `v0.22.5` -> `v0.23.1`
- `sigs.k8s.io/controller-tools`: `v0.19.0` -> `v0.20.0`
The `controller-runtime/controller details` observability dashboard contains a new reconciliation timeout panel. This data can help to find premature eliminated reconciliation runs due to a context timeout.

@gardener-prow gardener-prow bot added area/open-source Open Source (community, enablement, contributions, conferences, CNCF, etc.) related area/dev-productivity Developer productivity related (how to improve development) area/ops-productivity Operator productivity related (how to improve operations) kind/enhancement Enhancement, improvement, extension cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Feb 6, 2026
@timuthy
Copy link
Copy Markdown
Member Author

timuthy commented Feb 6, 2026

There seems to be race condition in the new event recorder, leading to a flaky integration test (test, failed test-run).
Deferring the event submission by a few milliseconds solves the flake.
However, I'm wondering why we have dedicated integration tests for this functionality which is not owned by us. @oliver-goetz can you give more details about the motivation?

@gardener-prow gardener-prow bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 9, 2026
@rfranzke
Copy link
Copy Markdown
Member

rfranzke commented Feb 9, 2026

/assign @rfranzke @oliver-goetz

Copy link
Copy Markdown
Member

@rfranzke rfranzke left a comment

Choose a reason for hiding this comment

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

Nice, well-done

/lgtm
apart from the flake issue

@gardener-prow gardener-prow bot added the lgtm Indicates that a PR is ready to be merged. label Feb 9, 2026
@gardener-prow
Copy link
Copy Markdown
Contributor

gardener-prow bot commented Feb 9, 2026

LGTM label has been added.

DetailsGit tree hash: 29bdc523ea213243b33540904dd61aae2cf3510c

@oliver-goetz
Copy link
Copy Markdown
Member

There seems to be race condition in the new event recorder, leading to a flaky integration test (test, failed test-run). Deferring the event submission by a few milliseconds solves the flake. However, I'm wondering why we have dedicated integration tests for this functionality which is not owned by us. @oliver-goetz can you give more details about the motivation?

The integration test tests whether node-agent-authorizer grants GNA create and patch permissions for events.
Since GNA uses the event recorder, I used it here too.

The `OpenTelemetry-Operator` includes dependencies to an older version of `sigs.k8s.io/controller-runtime` which is incompatible with the version (v0.23) used in Gardener.
Copying the API packages solves the dependency conflict for now.
See open-telemetry/opentelemetry-operator#4667 for more information.
The generation needs to be adapted due to kubernetes/kube-openapi#563
Add `ReconciliationTimeout` panel to the controller details dashboard. The uses the newly introduced `controller_runtime_reconcile_timeouts_total metric` metric (see kubernetes-sigs/controller-runtime#3382).
@timuthy timuthy force-pushed the dep/kubernetes-1.35 branch from 1975fa8 to 9dc256d Compare February 11, 2026 13:04
@gardener-prow gardener-prow bot removed the lgtm Indicates that a PR is ready to be merged. label Feb 11, 2026
@gardener-prow gardener-prow bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 11, 2026
@timuthy
Copy link
Copy Markdown
Member Author

timuthy commented Feb 11, 2026

/retest

Don't use the event recorder to test patch permissions.
We've seen cases where the event recorder drops events if they are recorded too quickly.
@timuthy timuthy force-pushed the dep/kubernetes-1.35 branch from 9dc256d to afde6c4 Compare February 12, 2026 13:23
Copy link
Copy Markdown
Member

@rfranzke rfranzke left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@gardener-prow gardener-prow bot added the lgtm Indicates that a PR is ready to be merged. label Feb 12, 2026
@gardener-prow
Copy link
Copy Markdown
Contributor

gardener-prow bot commented Feb 12, 2026

LGTM label has been added.

DetailsGit tree hash: 1a620084f735b235833f6d260b260fe47ea7fcc4

@gardener-prow
Copy link
Copy Markdown
Contributor

gardener-prow bot commented Feb 12, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rfranzke

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@gardener-prow gardener-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 12, 2026
@gardener-prow
Copy link
Copy Markdown
Contributor

gardener-prow bot commented Feb 12, 2026

@timuthy: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-gardener-apidiff afde6c4 link false /test pull-gardener-apidiff

Full PR test history. Your PR dashboard. Command help for this repository.
Please help us cut down on flakes by linking this test failure to an open flake report or filing a new flake report if you can't find an existing one. Also see our testing guideline for how to avoid and hunt flakes.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@gardener-prow gardener-prow bot merged commit a751d65 into gardener:master Feb 13, 2026
17 of 18 checks passed
@timuthy timuthy deleted the dep/kubernetes-1.35 branch February 13, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/dev-productivity Developer productivity related (how to improve development) area/open-source Open Source (community, enablement, contributions, conferences, CNCF, etc.) related area/ops-productivity Operator productivity related (how to improve operations) cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. kind/enhancement Enhancement, improvement, extension lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade k8s.io/* to v0.35, sigs.k8s.io/controller-runtime to v0.23

3 participants