Closed Gsantomaggio closed 4 years ago
I like the idea. Is this purely informational?
Is this purely informational?
Yes, at the moment.
It would avoid checking the PODs logs to check the nodes registrations/cluster join/cluster remove.
That's how it'd be.
What you see with <hostmane> /rabbitmq_plugin
is sent by the plugin
Can we rename rabbitmq_plugin
to something more specific? rabbitmq_peer_discovery
perhaps?
That's the result:
Note: The puglin continues to work event there is no RBAC rule:
rules:
- apiGroups:
- ""
resources:
- events
verbs:
- create
You won't see the events, but the node join will continue to work
Backported to v3.8.x
.
The new node monitor process here is not supervised or linked. I
ops you are right! totally forgot to fix it!
I will add a basic supervision tree
Thanks you
Proposed Changes
Please consider this PR as a proposal.
The idea is to add the k8s
v1.Event
on this pluginSo in this way, the events are exposed to a "watchers" (or an operator) or on the Dashboard, that's would be the output:
Types of Changes
Checklist
CONTRIBUTING.md
documentFurther Comments
Note: This feature requires the following rule:
This PR requires more work, I didn't want to go to much ahead, I wanted to know your opinion on it. Feel free to close/ignore it :)!