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

Add backoff handling for watcher and Controller #703

Merged
merged 32 commits into from
Dec 21, 2021
Merged
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
c26e894
implement backoff for watcher - for #577
clux Nov 11, 2021
19e6b5b
move magic number into strategy
clux Nov 11, 2021
09ee2f3
expose backoff from watcher and semi-propagate into controller
clux Nov 11, 2021
dda1a7b
potential abstraction
clux Nov 12, 2021
f6b034e
another builder layer; allow eliding ListParams
clux Nov 12, 2021
f5063a7
forgot to add file
clux Nov 12, 2021
ff2cfe4
easy parts of code review
clux Nov 16, 2021
0fc7159
rewrite as a helper (take N)
clux Nov 19, 2021
344cb92
rename as suggested
clux Nov 19, 2021
b8407ab
Reimplement watcher backoff as FSM (#720)
nightkr Nov 19, 2021
62679a9
remove backoff pin, fix docs
clux Nov 19, 2021
3144791
newline
clux Nov 19, 2021
00e94f3
Merge branch 'master' into backoff-watcher
clux Nov 19, 2021
dbccd9b
Merge branch 'master' into backoff-watcher
clux Nov 19, 2021
be2dc1c
Add `Backoff` wrapper that implements client-go's reset timer behavio…
nightkr Nov 22, 2021
bc71e9e
Merge remote-tracking branch 'origin/master' into backoff-watcher
clux Nov 22, 2021
5c780f5
use new reset backoff and replicate client-go reflector values
clux Nov 22, 2021
0cde56e
fix node watcher example
clux Nov 22, 2021
927d630
Use released `backoff`
nightkr Dec 20, 2021
676f085
Factor out default `Backoff`
nightkr Dec 20, 2021
c142ca1
Add note to `watcher` about backoff
nightkr Dec 21, 2021
6aa0d79
Added backoff to Controller
nightkr Dec 21, 2021
2805d14
Changelog
nightkr Dec 21, 2021
0402c0b
Revert `Observer` for now
nightkr Dec 21, 2021
426a30a
The clippyman comes for us all, eventually
nightkr Dec 21, 2021
33083f3
Merge remote-tracking branch 'origin/master' into backoff-watcher-/cl…
nightkr Dec 21, 2021
4fb49a8
Fix build warnings
nightkr Dec 21, 2021
d02b1ec
Merge pull request #763 from teozkr/backoff-watcher-/cleanup
nightkr Dec 21, 2021
ee8face
remove backoff_watch
clux Dec 21, 2021
c8179f4
doc tweaks
clux Dec 21, 2021
c973255
sentence
clux Dec 21, 2021
fd24a0f
upgrading backoff is not actually breaking
clux Dec 21, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ UNRELEASED
* see https://github.com/kube-rs/kube-rs/compare/0.65.0...master
* Added `DeleteParams::background()`, `DeleteParams::foreground()`, `DeleteParams::orphan()` constructors - [#747](https://github.com/kube-rs/kube-rs/issues/747)
* Introduced `StreamBackoff` mechanism for backing off watchers - #703
* BREAKING: Upgraded `backoff` to `0.4.0`
* BREAKING: `Controller` now uses exponential backoff for trigger watches by default, use `Controller::trigger_backoff` to override
* BREAKING: `Controller` now uses `backoff` for trigger watches by default, use `Controller::trigger_backoff` to override

0.65.0 / 2021-12-10
===================
Expand Down