Skip to content

Custom Kubernetes Operator/Controller Rust #954

Answered by clux
EliXorZz asked this question in Q&A
Discussion options

You must be logged in to vote

heyhey. Yep, it will work, but with one caveat:

We don't currently a controller-manager equivalent here so there's no efficient sharing of streams across controllers. If any of the two controllers is for the same resource, or watch the same child resource, you end up querying the apiserver twice for that resource. This is because they set up their watches independently.

Using the applier directly (i.e. passing in raw streams) allows for doing this more efficiently, but it is a lot less ergonomic.

Been planning on opening an issue for this. We barely explored some thoughts on this semi-recently.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by EliXorZz
Comment options

You must be logged in to vote
2 replies
@clux
Comment options

clux Jul 13, 2022
Maintainer

@EliXorZz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants