Eirik A
Eirik A
NB: Prior discussion around `envtest` https://github.com/kube-rs/kube/issues/382 went down a separate route of relying on cluster provisioning to do more integration style tests. This is a heavy weight solution that either...
A perhaps more promising, and less work-involving way forward here for integration tests is to lean on; https://github.com/kubernetes-sigs/kwok/ `kwok` still creates __some__ kind of cluster, but it seems to mock...
Do any of you have some good links to CI setups using kube + kwok? My main concern of using this over unit tests / mock integration tests is that...
would it make sense to have a `discovery.resolve_object(&object)` which does all the stuff you have there - before Api - and returns the result of `resolve_gvk`?
yeah, that could be nice. looking into it a bit more, we do also have an intermediate thing here : `GroupVersionKind::try_from(&typemeta)` in https://github.com/kube-rs/kube/blob/52b3fd8758a5bfcb1628abad21802e7d3c774b89/kube-core/src/gvk.rs#L42-L48
I like the proposal of this in theory because I would also like to support it, but it has one problem practically; the proposed crate has not had a release...
wondering if this would be better if we actually integrated with a metrics library in a `metrics.rs`, provided incrementers/setters from that file, and just threaded registries through. it would still...
had ignored this issue, but didn't really have any answers at the time and don't really know. from what i can tell [psm](https://github.com/rust-lang/stacker/tree/master/psm) has platform specific support with C headers...
Case-in-point: the buffer follow-up in #1504 making individual pages in `watcher` held as a slowly draining `VecDeque` __may__ actually have undone a portion of the memory improvements in the original...
Yeah, this stuff is a bit awkward / not finalised at the moment: https://github.com/kube-rs/kube/issues/1472 The shared interface, in its [main loop](https://github.com/kube-rs/kube/blob/27a2129606ddbd5fc0a73ce2a90d4f31646fe576/kube-runtime/src/reflector/mod.rs#L126-L129) does basically two things 1. `apply_watcher_event` :: same as...