Replies: 4 comments
-
Per the discussion in #633, it might be worth either making a new primary API or adapting |
Beta Was this translation helpful? Give feedback.
-
Neokubism (#594) is essentially about typing the sans-IO layer. That would free us up to start merging layer 3 and 4 while providing a reasonable way to bypass it as needed. |
Beta Was this translation helpful? Give feedback.
-
I think in general this sounds like a good delineation. Some specific questions on where we should draw the line (with my best guesses):
I guess thinking about it, most my questions are around the delineation between 3 and 4. and if you're considering merging the two then maybe this can be tackled more cleanly then, but there are a lot of stuff in in category 3 and 4. If we get to where the neokubism approach is mergable; how do you propose we interface |
Beta Was this translation helpful? Give feedback.
-
Just saw a very similar pyramid at a talk at kubecon: https://youtu.be/uKF8v9X6hSE?t=423 but from a golang POV. Turns out the layering has a reasonable analogue.
|
Beta Was this translation helpful? Give feedback.
-
We started to touch upon this in #633, but I think it's worth breaking out into a separate issue.
Currently I think of the kube crates as essentially forming 5 layers:
kube::core::Request
)kube::Client
)kube::Api
)kube_runtime::watcher
)kube_runtime::controller
)Currently most of our documentation pushes
Api
(layer 3) as the primary API, with layers 4 and 5 as exception cases that you more or less need to find on your own.Beta Was this translation helpful? Give feedback.
All reactions