bottlerocket-os / bottlerocket-os/bottlerocket-update-operator

0.2.0: Controller should gracefully handle node deletion coinciding with a WATCH stream reset

Open
#106 1 comment 0 reactions 1 assignee Claimed by @cbgbt View on GitHub
component/controller
Dominant language
Rust
Stars
220
Forks
50
PR merge metrics
No merged PRs in 30d

Description

**Issue or Feature Request:**

The controller uses [`into_iter_touched()`](https://docs.rs/kube-runtime/0.62.0/kube_runtime/watcher/enum.Event.html#method.into_iter_touched), which can miss deletion events under certain circumstances (see the linked docs).

We need to periodically refresh the entire `Store` object in the controller in case deletion events are missed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.