Nice one! Could you make a proper PR out of it? One thing came to my mind: This interacts with Rook's CephCluster CRD. Would it make sense to move it into the mgr/rook module? And secondly, would it make sense to display Kubernetes events[0] in the Ceph Dashboard? I.e. we could show events for pods etc. Kiefer? Sebastian [0]: https://www.bluematador.com/blog/kubernetes-events-explained Am 02.08.19 um 06:51 schrieb Paul Cuzner: > > 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 > o host add/remove > o osd add/remove > o pool add/remove > o 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@xxxxxxx > To unsubscribe send an email to dev-leave@xxxxxxx > -- SUSE Linux GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Mary Higgins, Sri Rasiah, HRB 21284 (AG Nürnberg)
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Dev mailing list -- dev@xxxxxxx To unsubscribe send an email to dev-leave@xxxxxxx