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
We currently use the discovery.DiscoveryInterface for checking if a resource is namespaced, there is also a discovery.CachedDiscoveryInterface, which may be a good idea. Introduces caching though...
Another solution would be to set the IN_PROGRESS status faster, before the first task is executed. This may be required at some point anyway, if we get operators that apply > 50 resources the execution of the first task may take a long time without any feedback in the plan status.
How to reproduce
This is mostly an issue for operators that deploy a lot of resources, i.e. C*, Kafka, etc. It probably won't show up in an operator with just one or two resources.
Environment:
Kudo version (use kubectl kudo version): 0.11
The text was updated successfully, but these errors were encountered:
What happened:
The C* Tests started to fail on the step that expects a started plan to be
IN_PROGRESS
after 30 seconds.What you expected to happen:
A started plan (after installation, update, etc.) should get into
IN_PROGRESS
a lot faster.Anything else we need to know?:
The cause for this is the
isNamespaced
check in the enhancer:With the code as-is, the timestamps show this:
If I manually change
isNamespaced := false
for testing, the timestamps look better:We currently use the
discovery.DiscoveryInterface
for checking if a resource is namespaced, there is also adiscovery.CachedDiscoveryInterface
, which may be a good idea. Introduces caching though...Another solution would be to set the
IN_PROGRESS
status faster, before the first task is executed. This may be required at some point anyway, if we get operators that apply > 50 resources the execution of the first task may take a long time without any feedback in the plan status.How to reproduce
This is mostly an issue for operators that deploy a lot of resources, i.e. C*, Kafka, etc. It probably won't show up in an operator with just one or two resources.
Environment:
kubectl kudo version
): 0.11The text was updated successfully, but these errors were encountered: