How to UpdateStatus and requeue "Reconcile" events until a desired state is reached? #550
Closed
Karthik2893
started this conversation in
Ideas & General Discussion
Replies: 1 comment
-
Discussed in #551 :-) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a CRD which defines a resource (say X). CRUD operations on X are handled by a different service which returns a "requestId" when a resource creation is requested. Following are the sequence of operations I am currently doing in my controller:
In my observation, whenever I add "Step 2", the "Reconcile" action/method is not being invoked on the controller.
Am I doing something of an anti-pattern here?
Some due diligence (incase it might help anyone looking in anyway):
I have a very basic understanding of reactive streams, so please bear with me. My understanding from this code is that we are grouping events for each individual resource and by invoking "Switch", only projecting the recent observables? Could this be causing this by any chance?
dotnet-operator-sdk/src/KubeOps/Operator/Controller/EventQueue.cs
Lines 44 to 55 in 3f42bbc
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions