Skip to content

Commit 74654ac

Browse files
authored
fix(kubernetes): recover compute driver watches (#2842)
Signed-off-by: Jesse Jaggars <jjaggars@redhat.com>
1 parent 65745a0 commit 74654ac

3 files changed

Lines changed: 240 additions & 76 deletions

File tree

crates/openshell-driver-kubernetes/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ bytes = { workspace = true }
4545
http = { workspace = true }
4646
http-body-util = { workspace = true }
4747
temp-env = "0.3"
48+
tokio = { workspace = true, features = ["test-util"] }
4849
toml = { workspace = true }
4950
tower = { workspace = true }
5051

crates/openshell-driver-kubernetes/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ state and platform events into the shared compute-driver protobuf surface used
6060
by the gateway.
6161

6262
Kubernetes API calls use explicit timeouts so gRPC handlers do not block
63-
indefinitely when the API server is slow or unavailable.
63+
indefinitely when the API server is slow or unavailable. Resource and Event
64+
watches recover in place with API-friendly backoff after transient watcher
65+
errors, avoiding a gateway-side watch restart and its associated watch gap.
6466

6567
## Workspace Persistence
6668

0 commit comments

Comments
 (0)