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

Service selector for single binary deployment fix. #7301

Merged

Conversation

besteban1989
Copy link
Contributor

Single binary deployment is not working when going through default service. The issue is with the labels that currently includes the canary pods.

Fixes #7260

@besteban1989 besteban1989 requested a review from a team as a code owner September 29, 2022 22:04
@CLAassistant
Copy link

CLAassistant commented Sep 29, 2022

CLA assistant check
All committers have signed the CLA.

@grafanabot
Copy link
Collaborator

./tools/diff_coverage.sh ../loki-main/test_results.txt test_results.txt ingester,distributor,querier,querier/queryrange,iter,storage,chunkenc,logql,loki

Change in test coverage per package. Green indicates 0 or positive change, red indicates that test coverage for a package fell.

+           ingester	0%
+        distributor	0%
+            querier	0%
+ querier/queryrange	0%
+               iter	0%
+            storage	0%
+           chunkenc	0%
+              logql	0%
+               loki	0%

Copy link
Contributor

@vlad-diachenko vlad-diachenko left a comment

Choose a reason for hiding this comment

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

Hey @besteban1989 .
Huge thanks for the contribution.
Also, statefulset might add additional labels defined by user in .Values.singleBinary.selectorLabels . see:
https://github.com/grafana/loki/blob/main/production/helm/loki/templates/single-binary/statefulset.yaml#L33-L36

Could you please also add this part here?

@vlad-diachenko vlad-diachenko self-assigned this Oct 3, 2022
@grafanabot
Copy link
Collaborator

./tools/diff_coverage.sh ../loki-main/test_results.txt test_results.txt ingester,distributor,querier,querier/queryrange,iter,storage,chunkenc,logql,loki

Change in test coverage per package. Green indicates 0 or positive change, red indicates that test coverage for a package fell.

+           ingester	0%
+        distributor	0%
+            querier	0%
+ querier/queryrange	0%
+               iter	0%
+            storage	0%
+           chunkenc	0%
+              logql	0%
+               loki	0%

@besteban1989
Copy link
Contributor Author

@vlad-diachenko the change is done, pls review and approve if everything is ok.

Copy link
Contributor

@vlad-diachenko vlad-diachenko left a comment

Choose a reason for hiding this comment

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

huge thanks @besteban1989 🚀

@vlad-diachenko vlad-diachenko merged commit 5d441b5 into grafana:main Oct 5, 2022
vlad-diachenko added a commit that referenced this pull request Oct 5, 2022
Bumped version of the chart and added changelog. 
These changes were missed in #7301
lxwzy pushed a commit to lxwzy/loki that referenced this pull request Nov 7, 2022
Single binary deployment is not working when going through default
service. The issue is with the labels that currently includes the canary
pods.

Fixes grafana#7260
lxwzy pushed a commit to lxwzy/loki that referenced this pull request Nov 7, 2022
Bumped version of the chart and added changelog. 
These changes were missed in grafana#7301
changhyuni pushed a commit to changhyuni/loki that referenced this pull request Nov 8, 2022
Single binary deployment is not working when going through default
service. The issue is with the labels that currently includes the canary
pods.

Fixes grafana#7260
changhyuni pushed a commit to changhyuni/loki that referenced this pull request Nov 8, 2022
Bumped version of the chart and added changelog. 
These changes were missed in grafana#7301
Abuelodelanada pushed a commit to canonical/loki that referenced this pull request Dec 1, 2022
Single binary deployment is not working when going through default
service. The issue is with the labels that currently includes the canary
pods.

Fixes grafana#7260
Abuelodelanada pushed a commit to canonical/loki that referenced this pull request Dec 1, 2022
Bumped version of the chart and added changelog. 
These changes were missed in grafana#7301
mraboosk pushed a commit to mraboosk/loki that referenced this pull request Oct 7, 2024
Single binary deployment is not working when going through default
service. The issue is with the labels that currently includes the canary
pods.

Fixes grafana#7260
mraboosk pushed a commit to mraboosk/loki that referenced this pull request Oct 7, 2024
Bumped version of the chart and added changelog. 
These changes were missed in grafana#7301
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Helm] Issue with loki service in singleBinary
5 participants