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

fix(installer): modify the thanos components replicas and volume mounts #1291

Merged
merged 2 commits into from
Oct 19, 2021

Conversation

t1mt
Copy link
Member

@t1mt t1mt commented May 13, 2021

What type of PR is this?

/kind bug

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #1302

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


@t1mt t1mt requested a review from choujimmy as a code owner May 13, 2021 03:50
@leoryu
Copy link
Contributor

leoryu commented May 13, 2021

Is there some related background/context about this pr? Like related issue(s).

@t1mt
Copy link
Member Author

t1mt commented May 19, 2021

Is there some related background/context about this pr? Like related issue(s).

Related issues #1302 #1303

@@ -86,7 +90,7 @@ metadata:
name: thanos-receive
namespace: tke
spec:
replicas: 1
replicas: 3
Copy link
Contributor

Choose a reason for hiding this comment

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

This com has 3 replicas, while other coms have 2. Cloud you talk about the reason?

Copy link
Member Author

Choose a reason for hiding this comment

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

From the thanos recieve docs

Replication

.....
If any time-series in a write request received by a Thanos receiver is not successfully written to at least (REPLICATION_FACTOR + 1)/2 nodes, the receiver responds with an error.

So set the thanos receive coms to 3 replicas.

@leoryu
Copy link
Contributor

leoryu commented May 20, 2021

LGTM

@leoryu leoryu merged commit 24f26a6 into tkestack:master Oct 19, 2021
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.

incorrect thanos-receive-nodeport svc selector
2 participants