Skip to content

How do Service and Operator interact? #240

Answered by sgraband
wyhdil asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @wyhdil,

to get a deeper understanding of the architecture diagram (and Theia Cloud itself), you could check out our talk at EclipseCon about the topic.

Especially interesting for your question should be the Section from 7:52. It first describes the operator pattern in general and then walks through the architecture above.

To already answer part of your question:
The CRs themself to not contain any functions, they are just resources that contain information. The operator just watches these resources. For an entrypoint in the code you can take a look here.
The operator knows which CRs to watch and what information it can expect from the CustomResourceDefinitions (CRDs) that are bluepri…

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
6 replies
@wyhdil
Comment options

@sgraband
Comment options

@wyhdil
Comment options

@sgraband
Comment options

@wyhdil
Comment options

Answer selected by wyhdil
Comment options

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

@wyhdil
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