-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support debugging and settings propagations of reconciliations: add option to enable debug mode during runtime per Module CR #79
Comments
We agreed to use following labels to track correlated IDs per resource:
|
if we scope out profile like originally accounted for, it may make sense to instead propagate labels on a more generic scope. |
@pbochynski this is what is currently planned for propagation of labels. Instead of hard-coded labels we can think of dynamic label configurations instead to make it possible to extend later on. |
I had some time to think about the use cases (profile, debug), and to be honest I am not sure if it is the right way to do it. It makes module operators dependent on convention (not API). Also propagating flags to all modules is not the smartest solution (enabling debug level for all the modules at once). I think we should have the explicit configuration in the spec of module CR instead (resources, debug). We alredy have log configuration in the spec in our first module: |
This issue or PR has been automatically marked as stale due to the lack of recent activity. This bot triages issues and PRs according to the following rules:
You can:
If you think that I work incorrectly, kindly raise an issue with the problem. /lifecycle stale |
While this is fine for me I suggest we then leave this feature until we find a better way of propagation. Otherwise there will be no way to define a unified debugging spec field. |
This issue or PR has been automatically marked as stale due to the lack of recent activity. This bot triages issues and PRs according to the following rules:
You can:
If you think that I work incorrectly, kindly raise an issue with the problem. /lifecycle stale |
This issue or PR has been automatically marked as stale due to the lack of recent activity. This bot triages issues and PRs according to the following rules:
You can:
If you think that I work incorrectly, kindly raise an issue with the problem. /lifecycle stale |
Description
The Kyma operator has to support debugging possibilities to enable analysis by on-call engineers and SREs during runtime.
It has to be possible to enable the debug mode for a whole Kyma instance or for particular Kyma modules. It's recommended to make the configuration quite simple, e.g by offering a
debug
field in the CR which accepts a boolean value.The
debug: true
field should enable the debug mode. If the field isfalse
, the debug mode is disabled.AC:
debug
log-level for any printed log message. This is only possible if the module operator supports parsing the passed labels.info
) has to be used by the logger-instancedebug
mode can be configured Kyma wide by editing the Kyma CR. This will enable / disable the debug mode for all Kyma modules listed in the Kyma CR.debug
mode can be configured per Kyma module by editing the particular module CR. If thedebug
mode of the Kyma CR changes, the value of the Kyma CR has precedence and overwrite the module specific value.The text was updated successfully, but these errors were encountered: