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

Remove app.kubernetes.io/version from Router Deployment Selector Labels #321

Closed
wants to merge 1 commit into from

Conversation

michael-burt
Copy link
Contributor

I updated the selector labels on the Receive Router deployment so that they exclude the version. This fixes a bug where it wasn't possible to upgrade the router version without deleting the deployment due to immutability of selector labels.

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

Changes

I have removed the app.kubernetes.io/version label from the Receive Router deployment selector

Verification

I am running this code in my dev environment and it fixes the issue I was experiencing whereby Thanos Receive Router would fail to update when a new version of Thanos is deployed due to immutable selector labels being changed.

@michael-burt michael-burt force-pushed the router-selectors branch 3 times, most recently from 0534327 to 76f01d2 Compare May 2, 2024 19:37
@yeya24
Copy link
Contributor

yeya24 commented May 3, 2024

Do we need to update other deployments as well

@michael-burt
Copy link
Contributor Author

michael-burt commented May 3, 2024

Do we need to update other deployments as well

This is already configured for the other components:

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