doc: Propose using Memberlist Keyring to protect a cluster#2216
doc: Propose using Memberlist Keyring to protect a cluster#2216zecke wants to merge 1 commit intoprometheus:mainfrom
Conversation
Create a document to propose an easy (implementation and operation) way to protect the production cluster from accidental and unwanted members. Provide a reference implementation in addition to the design document. TODO(zecke): Figure out how to test this feature properly. Signed-off-by: Holger Hans Peter Freyther <holger@moiji-mobile.com>
b2d9507 to
81ef7af
Compare
|
Thanks for your PR. We're looking at adding TLS generally, so don't want to add other auth systems. |
|
Thank you for your reply and sorry for being late to the party. I have seen the design document and wanted to propose a more simple design for a narrower problem. If we focus on integrity and authentication (e.g. something provided by an HMAC) and leave out confidentiality (e.g. ignore known plaintext in gossiped message) we end up with a solution orders of magnitude easier to implement and operate. Going all in on TCP + X509 + TLS is nice but has certain consequences for operating an AM:
|
|
Thanks for putting work into this and writing a design document. Just for documentation purposes I am linking the initial issue #1322 the design doc for Membership over TLS and the corresponding work-in-progress pull request #1819 here.
TCP head of line blocking is happening per connection. Given the low bandwidth usage of the gossip protocol I doubt this would be an issue. Please correct me if I am missing something. Having a simple solution for the problem of distinct clusters merging would be great. On the contrary I do see the maintenance overhead of eventually maintaining two solutions. |
There was a problem hiding this comment.
-Hi @zecke ,
-
-It seems that the TLS approach has since been implemented, thus this approach is obsolete. Do you feel like something is missing aka. would updating this PR provide any value?
+Seems like I missed @TheMeier comment, sorry!Kind regards, Solomon Jacobs
Create a document to propose an easy (implementation and operation) way
to protect the production cluster from accidental and unwanted members.
Provide a reference implementation in addition to the design document.
TODO(zecke): Figure out how to test this feature properly.
Signed-off-by: Holger Hans Peter Freyther automatic+am@freyther.de