]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/k8sevents: Add support for remote kubernetes 30482/head
authorPaul Cuzner <pcuzner@redhat.com>
Fri, 20 Sep 2019 04:55:06 +0000 (16:55 +1200)
committerPaul Cuzner <pcuzner@redhat.com>
Thu, 3 Oct 2019 20:26:23 +0000 (09:26 +1300)
commit56587118782f4365f7d2464f26a08731e22379c3
tree659ff2f24a8a32ecad97e0e845774ff9e8114a14
parent9e7ecf708a3f3f1683561b559808476d3001b383
mgr/k8sevents: Add support for remote kubernetes

The initial implementation sent events to the
kubernetes cluster Ceph is running under managed
by rook-ceph. This patch extends this support to
include sending events to an external kubernetes
cluster, that may just be consuming ceph resources

Additional docs added to help people use the
module, either with or without rook-ceph.

It also address a bug where the module was loaded
outside of a rook-ceph environment.

Fixes: https://tracker.ceph.com/issues/41737
Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
src/pybind/mgr/k8sevents/README.md [new file with mode: 0644]
src/pybind/mgr/k8sevents/module.py
src/pybind/mgr/k8sevents/rbac_sample.yaml [new file with mode: 0644]
src/pybind/mgr/mgr_util.py