Skip to content

query: add memcached autodiscovery support#4487

Merged
GiedriusS merged 7 commits intothanos-io:mainfrom
roystchiang:autodiscovery
Aug 3, 2021
Merged

query: add memcached autodiscovery support#4487
GiedriusS merged 7 commits intothanos-io:mainfrom
roystchiang:autodiscovery

Conversation

@roystchiang
Copy link
Copy Markdown
Contributor

@roystchiang roystchiang commented Jul 26, 2021

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

  • Add a flag to enable auto-discovery for memcached
  • Add a new provider/resolver for auto-discovery

Verification

  • Integrated into cortex, and verified that auto-discovery is able to find scaled up nodes without having to restart pods
  • Tested with AWS ElastiCache Auto Discovery, but should work with Google Cloud too, since the protocol seem the same

I also updated the memcached config documentation so that we can close #3879

@roystchiang roystchiang force-pushed the autodiscovery branch 3 times, most recently from 3644367 to f86af27 Compare July 26, 2021 19:50
Copy link
Copy Markdown
Member

@GiedriusS GiedriusS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rebase on latest main, that should fix CircleCI

Signed-off-by: Roy Chiang <roychi@amazon.com>
Signed-off-by: Roy Chiang <roychi@amazon.com>
@GiedriusS
Copy link
Copy Markdown
Member

@roystchiang could you please fix the linter messages? 🤗

Signed-off-by: Roy Chiang <roychi@amazon.com>
@roystchiang
Copy link
Copy Markdown
Contributor Author

oops. I've fixed the linter messages now.

Signed-off-by: Roy Chiang <roychi@amazon.com>
Copy link
Copy Markdown
Member

@GiedriusS GiedriusS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few nits but overall good work 👍

Signed-off-by: Roy Chiang <roychi@amazon.com>
GiedriusS
GiedriusS previously approved these changes Aug 2, 2021
@GiedriusS
Copy link
Copy Markdown
Member

@roystchiang please add the DCO and let's merge 🤗

@GiedriusS
Copy link
Copy Markdown
Member

@roystchiang make docs now fails :/

@roystchiang
Copy link
Copy Markdown
Contributor Author

hahahahahaha. yeah I'm on it. sorry about that

Co-authored-by: Giedrius Statkevičius <giedriuswork@gmail.com>
Signed-off-by: Roy Chiang <roychi@amazon.com>
GiedriusS
GiedriusS previously approved these changes Aug 2, 2021
Signed-off-by: Roy Chiang <roychi@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Give guidance that memcached should not be configured on loadbalancer level

2 participants