Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PLAT-119132] only create generated config map when backend is ready #139

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

jnyi
Copy link

@jnyi jnyi commented Oct 2, 2024

No description provided.

## What changes are proposed in this pull request?
1. Support az aware hashring in Thanos v0.32+ 

https://thanos.io/tip/components/receive.md/#az-aware-ketama-hashring-experimental,
2. also supported multiple sts in one hashring config
3. fix lint and go dependency issues
OSS PR:
observatorium#129
## How is this tested?
main_test.go,
Make thanos-receive-controller
pending test in deployment
No-op when the pods are not ready instead of proceeding
tested in integration test cluster
* return when encountering error

* waited for all pods ready during generated hashring initialization
@jnyi jnyi force-pushed the PLAT-119132-hashring branch 6 times, most recently from fe6bbb4 to 1ac9dba Compare October 2, 2024 23:58
* support az aware hashring and multiple sts in one hashring (observatorium#129)

* support az aware hashring

* Update receive-controller.json

* support multiple statefulsets in 1 hashring

* add more logs

* style

* fix lint issue

* debug

* return when encountering error

* remove whitespace

* Fix k8s permissions (observatorium#133)

* Fix k8s permissions

* fix ci

* fix ci

* sync

* add pantheon migration state

* Revert "Fix k8s permissions (observatorium#133)"

This reverts commit e545b83.

---------

Co-authored-by: Alec Rajeev <[email protected]>
Signed-off-by: Yi Jin <[email protected]>
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.

2 participants