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

Redis as a Deployment kind #71

Merged
merged 2 commits into from
Nov 29, 2023
Merged

Conversation

tadeusz-delphai
Copy link
Contributor

@tadeusz-delphai tadeusz-delphai commented Nov 29, 2023

In this PR we change the redis workload kind from the default StatefulSet to a simpler Deployment.

During the deployment, new redis-master pods will be created, but the [service]-redis-master Service will stay the same, and the new Endpoints will be practically identical to the old ones - with the same labels, only with different timestamp metadata etc.

===

Tested on review using the page-scraper service https://app.delphai.pink/service/page-scraper-deployment-kind/

===
As a side-note, the Chart.lock gets updated to specify that we deploy redis based on Chart 17.17.1, not an older version. This is what actually is used in production.

@tadeusz-delphai tadeusz-delphai changed the title Redis as a deployment Redis as a Deployment KIND Nov 29, 2023
@tadeusz-delphai tadeusz-delphai changed the title Redis as a Deployment KIND Redis as a Deployment kind Nov 29, 2023
@tadeusz-delphai tadeusz-delphai marked this pull request as ready for review November 29, 2023 11:10
@tadeusz-delphai tadeusz-delphai requested a review from a team as a code owner November 29, 2023 11:10
@tadeusz-delphai
Copy link
Contributor Author

This PR is a second attempt at solving this issue. Previous was: #69

In #69, the DNS name change was a red herring related to a confusion about which version of the redis Chart is actually getting deployed.

@tadeusz-delphai tadeusz-delphai merged commit a9304cb into master Nov 29, 2023
2 checks passed
@tadeusz-delphai tadeusz-delphai deleted the redis-deployment-take-two branch November 29, 2023 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants