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: Add PostStart lifecycle hook to reset Redis sentinel #1674

Merged
merged 1 commit into from
Feb 26, 2025

Conversation

mfroembgen
Copy link
Contributor

@mfroembgen mfroembgen commented Feb 24, 2025

What type of PR is this?
/kind bug

What does this PR do / why we need it:

This pull request includes a change to the reconcileRedisStatefulSet function in the statefulset.go file to add a post-start lifecycle hook for the Redis StatefulSet. This hook ensures that the Redis Sentinel is reset after a short delay when the container starts.

Argo-cd:
Issue: argoproj/argo-cd#16360
PR: argoproj/argo-cd#20645

Have you updated the necessary documentation?

  • Documentation update is required by this PR.
  • Documentation has been updated.

Which issue(s) this PR fixes:

Fixes #1664

How to test changes / Special notes to the reviewer:

@mfroembgen mfroembgen changed the title feat: Add PostStart lifecycle hook to reset Redis sentinel fix: Add PostStart lifecycle hook to reset Redis sentinel Feb 24, 2025
Copy link
Collaborator

@svghadi svghadi left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you @mfroembgen for the contribution.

Copy link
Collaborator

@anandf anandf left a comment

Choose a reason for hiding this comment

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

LGTM

@iam-veeramalla iam-veeramalla merged commit 69a2076 into argoproj-labs:master Feb 26, 2025
7 checks passed
svghadi added a commit that referenced this pull request Mar 7, 2025
svghadi added a commit that referenced this pull request Mar 7, 2025
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 7, 2025
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 7, 2025
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 7, 2025
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 7, 2025
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 7, 2025
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 7, 2025
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 7, 2025
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 7, 2025
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 7, 2025
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 7, 2025
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 7, 2025
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 7, 2025
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 7, 2025
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 7, 2025
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 7, 2025
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 7, 2025
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 7, 2025
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 7, 2025
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 7, 2025
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 7, 2025
svghadi added a commit to svghadi/argocd-operator that referenced this pull request Mar 7, 2025
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 7, 2025
svghadi added a commit that referenced this pull request Mar 7, 2025
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 7, 2025
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.

Redis sentinel going crazy on cpu usage
4 participants