You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to delay start of a controller until a resource exists in the apiserver.
Say i want to watch resource types A and B. However i want to do this only after some other process has created a resource of resource type C
I need this to avoid watching for resources until a dependent resource exists in the system, resource of type C. This way i can ensure my controller is not consuming resources unless it is required.
Thanks,
Rahav
The text was updated successfully, but these errors were encountered:
I think you can customize the coordinator's SetupWithManager method to trigger the resources that need to be coordinated while listening for the required resource changes.
Is there a way to delay start of a controller until a resource exists in the apiserver.
Say i want to watch resource types A and B. However i want to do this only after some other process has created a resource of resource type C
I need this to avoid watching for resources until a dependent resource exists in the system, resource of type C. This way i can ensure my controller is not consuming resources unless it is required.
Thanks,
Rahav
The text was updated successfully, but these errors were encountered: