Super!


On Fri, Aug 2, 2019 at 10:21 AM Paul Cuzner <pcuzner@redhat.com> wrote:

Hi,

I've been working on a mgr module to push some types of ceph system activity into the kubernetes events api, so kubernetes users get a more granular  view of what's going on within the ceph cluster.

The code is not complete, but if you're interested it's here -
https://github.com/pcuzner/ceph/blob/add-events-mgr-module/src/pybind/mgr/k8sevents/module.py

At this point it does the following;
  • ties into the log_monitor2 rados call to pick up audit and healthcheck messages
  • creates an hourly health heartbeat (health + capacity)
  • emits events for configuration changes
    • host add/remove
    • osd add/remove
    • pool add/remove
    • pool size and min_size changes
Interested to hear if there are any other ceph 'events' that I should be considering

Cheers,

PC
_______________________________________________
Dev mailing list -- dev@ceph.io
To unsubscribe send an email to dev-leave@ceph.io