Update Rust crate kube to 0.92.0 #122

Open
pierre wants to merge 1 commits from renovate/kube-0.x into master
Owner

This PR contains the following updates:

Package Type Update Change
kube dependencies minor 0.90.0 -> 0.92.0

Release Notes

kube-rs/kube (kube)

v0.92.1

Compare Source

===================

Bugfix Release

This release fixes #​1524; a regression from 0.92.0 causing watcher to skip pages on initial list. See #​1525.

It is recommended to upgrade from 0.92.0.

What's Changed

Fixed

v0.92.0

Compare Source

===================

Runtime: Decreased Memory Usage from watcher

Buffering of initial pages / init streams is no longer a mandatory process with watcher::Event gaining new Init, InitApply, and InitDone events. These events are read on the store side maintaining the atomicity/completeness guarantees for reflector and Store users.

This constitutes a significant memory decrease for all watcher users, and it has more details in a new kube.rs/blog post.

The downside is a breaking change to watcher::Event. Plain usage of watcher / reflector / Controller should generally not need to change anything, but custom stores / matches on watcher::Event will need an update. If you are writing custom stores, the new signals should be helpful for improved caching.

Thanks to @​fabriziosestito via Kubewarden for https://github.com/kube-rs/kube/pull/1494 . Follow-ups for this feature: https://github.com/kube-rs/kube/pull/1499 and https://github.com/kube-rs/kube/pull/1504.

Client: HTTP Proxy Support

Support is now introduced under the http-proxy feature pulling in hyper-http-proxy complementing the already existing socks5 proxy feature.

Thanks to @​aviramha via MetalBear for the support in https://github.com/kube-rs/kube/pull/1496, with follow-ups https://github.com/kube-rs/kube/pull/1501 + https://github.com/kube-rs/kube/pull/1502

What's Changed

Added
Changed
Fixed

v0.91.0

Compare Source

===================

Kubernetes v1_30 support via k8s-openapi 0.22

Please upgrade k8s-openapi along with kube to avoid conflicts.

Unstable Stream Sharing

A more complete implementation that allows sharing watcher streams between multiple Controllers (for https://github.com/kube-rs/kube/issues/1080) has been added under the unstable-runtime feature-flag in #​1449 and #​1483 by @​mateiidavid. This represents the first usable implementation of shared streams (and replaces the older prototype part in #​1470). While some changes are expected, you can check the shared_stream_controller example for a high-level overview.

What's Changed

Added
Changed
Removed
Fixed

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.


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

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [kube](https://github.com/kube-rs/kube) | dependencies | minor | `0.90.0` -> `0.92.0` | --- ### Release Notes <details> <summary>kube-rs/kube (kube)</summary> ### [`v0.92.1`](https://github.com/kube-rs/kube/blob/HEAD/CHANGELOG.md#0921--2024-06-19) [Compare Source](https://github.com/kube-rs/kube/compare/0.92.0...0.92.1) \=================== #### Bugfix Release This release fixes [#&#8203;1524](https://github.com/kube-rs/kube/issues/1524); a regression from [0.92.0](https://github.com/kube-rs/kube/releases/tag/0.92.0) causing `watcher` to skip pages on initial list. See [#&#8203;1525](https://github.com/kube-rs/kube/pull/1525). It is recommended to upgrade from 0.92.0. #### What's Changed ##### Fixed - Fix watcher not fully paginating on Init by [@&#8203;clux](https://github.com/clux) in https://github.com/kube-rs/kube/pull/1525 ### [`v0.92.0`](https://github.com/kube-rs/kube/blob/HEAD/CHANGELOG.md#0920--2024-06-12) [Compare Source](https://github.com/kube-rs/kube/compare/0.91.0...0.92.0) \=================== <!-- Release notes generated using configuration in .github/release.yml at 0.92.0 --> #### Runtime: Decreased Memory Usage from `watcher` Buffering of [initial pages](https://kubernetes.io/docs/reference/using-api/api-concepts/#retrieving-large-results-sets-in-chunks) / [init streams](https://kubernetes.io/docs/reference/using-api/api-concepts/#streaming-lists) is no longer a mandatory process with [`watcher::Event`](https://docs.rs/kube/latest/kube/runtime/watcher/enum.Event.html) gaining new `Init`, `InitApply`, and `InitDone` events. These events are read on the [store side](https://github.com/kube-rs/kube/blob/0f6cb6f0ac695444f6789f98fa07073f4980a127/kube-runtime/src/reflector/store.rs#L99-L134) maintaining the atomicity/completeness guarantees for `reflector` and `Store` users. This constitutes a significant memory decrease for all `watcher` users, and it has more details in a new [kube.rs/blog post](https://kube.rs/blog/2024/06/11/watcher-memory-improvements/). The downside is a **breaking change** to [`watcher::Event`](https://docs.rs/kube/latest/kube/runtime/watcher/enum.Event.html). Plain usage of `watcher` / `reflector` / `Controller` should generally not need to change anything, but custom stores / matches on `watcher::Event` will [need an update](https://kube.rs/blog/2024/06/11/watcher-memory-improvements/#breaking-change). If you are writing custom stores, the new signals should be helpful for improved caching. Thanks to [@&#8203;fabriziosestito](https://github.com/fabriziosestito) via [Kubewarden](https://www.kubewarden.io/) for https://github.com/kube-rs/kube/pull/1494 . Follow-ups for this feature: https://github.com/kube-rs/kube/pull/1499 and https://github.com/kube-rs/kube/pull/1504. #### Client: HTTP Proxy Support Support is now introduced under the `http-proxy` [feature](https://kube.rs/features) pulling in [hyper-http-proxy](https://crates.io/crates/hyper-http-proxy) complementing the already existing `socks5` proxy feature. Thanks to [@&#8203;aviramha](https://github.com/aviramha) via [MetalBear](https://metalbear.co/) for the support in https://github.com/kube-rs/kube/pull/1496, with follow-ups https://github.com/kube-rs/kube/pull/1501 + https://github.com/kube-rs/kube/pull/1502 #### What's Changed ##### Added - Added support for HTTP proxy with hyper-proxy2 by [@&#8203;aviramha](https://github.com/aviramha) in https://github.com/kube-rs/kube/pull/1496 - Implement client native object reference fetching by [@&#8203;Danil-Grigorev](https://github.com/Danil-Grigorev) in https://github.com/kube-rs/kube/pull/1511 ##### Changed - Reduce buffering between watcher and Store by [@&#8203;fabriziosestito](https://github.com/fabriziosestito) in https://github.com/kube-rs/kube/pull/1494 - Rename new watcher Event names and remove one that cannot happen by [@&#8203;clux](https://github.com/clux) in https://github.com/kube-rs/kube/pull/1499 - Update `tokio-tungstenite` to 0.23 by [@&#8203;Toasterson](https://github.com/Toasterson) in https://github.com/kube-rs/kube/pull/1509 - Align `watcher::Event` init/page variants by [@&#8203;clux](https://github.com/clux) in https://github.com/kube-rs/kube/pull/1504 - Update json-patch to 2.0.0 by [@&#8203;bobsongplus](https://github.com/bobsongplus) in https://github.com/kube-rs/kube/pull/1507 ##### Fixed - Fix potentially panicing unchecked duration adds in runtime by [@&#8203;clux](https://github.com/clux) in https://github.com/kube-rs/kube/pull/1489 - ObjectList now accepts null metadata like upstream k8s does by [@&#8203;aviramha](https://github.com/aviramha) in https://github.com/kube-rs/kube/pull/1492 - rename http_proxy feature to http-proxy and add it to the umbrella crate by [@&#8203;aviramha](https://github.com/aviramha) in https://github.com/kube-rs/kube/pull/1501 - move from `hyper-proxy2` to `hyper-http-proxy` by [@&#8203;aviramha](https://github.com/aviramha) in https://github.com/kube-rs/kube/pull/1502 ### [`v0.91.0`](https://github.com/kube-rs/kube/blob/HEAD/CHANGELOG.md#0910--2024-05-06) [Compare Source](https://github.com/kube-rs/kube/compare/0.90.0...0.91.0) \=================== <!-- Release notes generated using configuration in .github/release.yml at 0.91.0 --> #### Kubernetes `v1_30` support via `k8s-openapi` [0.22](https://github.com/Arnavion/k8s-openapi/releases/tag/v0.22.0) Please [upgrade k8s-openapi along with kube](https://kube.rs/upgrading/) to avoid conflicts. #### Unstable Stream Sharing A more complete implementation that allows sharing `watcher` streams between multiple `Controller`s (for https://github.com/kube-rs/kube/issues/1080) has been added under the `unstable-runtime` [feature-flag](https://kube.rs/stability/#unstable-features) in [#&#8203;1449](https://github.com/kube-rs/kube/issues/1449) and [#&#8203;1483](https://github.com/kube-rs/kube/issues/1483) by [@&#8203;mateiidavid](https://github.com/mateiidavid). This represents the first usable implementation of shared streams (and replaces the older prototype part in [#&#8203;1470](https://github.com/kube-rs/kube/issues/1470)). While some changes are expected, you can check the [shared_stream_controller example](https://github.com/kube-rs/kube/blob/main/examples/shared_stream_controllers.rs) for a high-level overview. #### What's Changed ##### Added - Add shared stream interfaces by [@&#8203;mateiidavid](https://github.com/mateiidavid) in https://github.com/kube-rs/kube/pull/1449 - Allow to create non-controller owner reference for resource by [@&#8203;Danil-Grigorev](https://github.com/Danil-Grigorev) in https://github.com/kube-rs/kube/pull/1475 - feat(runtime): support for owned shared streams by [@&#8203;mateiidavid](https://github.com/mateiidavid) in https://github.com/kube-rs/kube/pull/1483 ##### Changed - Upgrade `k8s-openapi` to 0.22 and bump MK8SV to 1.25 by [@&#8203;clux](https://github.com/clux) in https://github.com/kube-rs/kube/pull/1485 ##### Removed - Remove abandoned `StreamSubscribe` implementation by [@&#8203;clux](https://github.com/clux) in https://github.com/kube-rs/kube/pull/1470 ##### Fixed - Include inner error message in Display for SerdeError by [@&#8203;XAMPPRocky](https://github.com/XAMPPRocky) in https://github.com/kube-rs/kube/pull/1481 - Remove invalid `uniqueItems` property from CRDs when Sets are used by [@&#8203;sbernauer](https://github.com/sbernauer) in https://github.com/kube-rs/kube/pull/1484 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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 Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
pierre added 1 commit 2024-07-18 00:08:51 +00:00
Update Rust crate kube to 0.92.0
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
b4ad17506c
pierre scheduled this pull request to auto merge when all checks succeed 2024-07-18 00:08:51 +00:00
Author
Owner

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

### Edited/Blocked Notification Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. ⚠️ **Warning**: custom changes will be lost.
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/kube-0.x:renovate/kube-0.x
git checkout renovate/kube-0.x
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: pierre/MinioK8sBuckets#122
No description provided.