Skip to content

Why Reconcile function is called many times in controller_test.go ? #2836

Closed Answered by camilamacedo86
LittleWat asked this question in Support
Discussion options

You must be logged in to vote

Hi @LittleWat,

By using the Operators, it’s possible not only to provide all expected resources but also to manage them dynamically, programmatically, and at runtime. To illustrate this idea, imagine if someone accidentally changed a configuration or removed a resource by mistake; in this case, the Operator could fix it without any human intervention.

Therefore, the goal is to always ensure a desired state on the cluster via idempotent solutions, and because of this, we "watch" the required resources on the cluster and when something changes we reconcile.

TL'DR: I recommend you check the common suggestions doc under the best practices section on the SDK website, see: https://sdk.operator…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@LittleWat
Comment options

@camilamacedo86
Comment options

@LittleWat
Comment options

Answer selected by camilamacedo86
Comment options

You must be logged in to vote
1 reply
@LittleWat
Comment options

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