Open baluishere opened 2 years ago
Hi, The bug was found, it seems an inconsistent call to a config pointer was at fault, which we've always set internally but you probably (and rightfully !) didn't. Here's the bugfix PR, the release should come in shortly. We're discussing the flag possibility internally and will get back to you on that.
Amazing, thanks for the prompt feedback @nathantournant! Once the bugfix is merged we will look to validate this in our environment.
This isn't closed; we're working on allowing the default value of StaticTargeting to be in the controller config, but that should take a little longer than expected as the clean fix isn't as straightforward as we'd have hoped. Dynamic targeting won't crash as is it did in the mentioned bug though.
Hi @baluishere has left the project working on this, reviewing this ticket and the latest version of the controller i can say this the issue here is no longer a problem and happy this can be closed from our side. Thanks
Note: While
chaos-controller
is open to the public and we consider all suggestions for improvement, we prioritize feature development that is immediately applicable to chaos engineering initiatives within Datadog. We encourage users to contribute ideas to the repository directly in the form of pull requests!Is your feature request related to a problem? Please describe.
After deploying controller version 7.2.0 which has dynamic targeting enabled by default, we observed that the controller enters into a restart loop (Back-off restart) while running experiments. (Error attached at the bottom). We were in controller version 6.1.0 and upgraded to 7.2.0. However when turning off dynamic targeting by adding
statingTargeting: true
in the defintion, the controller works as expected. We are in the process of evaluating the dynamic targeting feature however as this feature is enabled by default in new versions there is a risk of teams running this without knowing the complete impact. It would be great if dynamic targeting can be released under a config in controller so that we can block this until teams are confident and/or iron out issues we see in our cluster due to dynamic targeting. This also enables us to use the newer versions of controller while we sort dynamic targeting.Describe the solution you'd like Release dynamic targeting behind a feature flag. A configuration to enable/disable dynamic targeting in the
configmap.yaml
so we can disable/enable this feature from the controller side.Describe alternatives you've considered Open to any other ideas that would enable/disable dynamic targeting from controller
Errors seeing when running experiments with dynamic targeting