Open pedrofragola opened 2 months ago
Hi @pedrofragola , we are discussing this and will fup here
@pedrofragola we are going to change it to 7 days, which is inline with retention period for other logs
@paulomach thanks for the heads-up :) ... Do you think for the next releases it will be possible to have an option to update this config using the charm option?
@pedrofragola, an option is out of the cards for now
[Feature request]
The mysql-k8s charm currently uses the default parameter for binary log retention (binlog_expire_logs_seconds), which is set to rotate the logs after 30 days as per the documentation[0]. In some scenarios, such as when using Kubeflow, this binary log can fill up very quickly. It would be beneficial to have the ability to modify this configuration directly through Juju, allowing users to set this parameter permanently on the charm to accommodate their specific usage patterns.
[0] https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_expire_logs_seconds