- Log into zen-metastoredb-0 and clean up some tables. This can be done if the UI start to get slow too.
--- Clear metastore events --- oc exec -it zen-metastoredb-0 /bin/bash cp -r /certs/ /tmp/ cd /tmp/ && chmod -R 0700 certs/ cd /cockroach ./cockroach sql --certs-dir=/tmp/certs/ --host=zen-metastoredb-0.zen-metastoredb use zen; drop table policies; drop table products; drop table monitors; drop table monitor_events; drop table event_types;
- Delete cronjobs to ensure all pending jobs, if any, are killed ) and Restart watchdog pod (recreates all cronjobs and the deleted tables)
oc delete cronjob watchdog-alert-monitoring-cronjob watchdog-alert-monitoring-purge-cronjob zen-watchdog-cronjob diagnostics-cronjob
- Restart the zen-watchdog pod.
oc delete pod <zen-watchdog-xxxx>
`