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

Potential Redis Misconfiguration or Performance Issues Affecting ArgoCD Operations #3195

Open
davidt-gh opened this issue Nov 24, 2024 · 0 comments

Comments

@davidt-gh
Copy link

Expected Behavior

Redis should operate seamlessly as a backend cache or data store for ArgoCD (or related services). It should consistently support high availability and handle operations without causing delays or warnings in the logs.


Current Behavior

The logs suggest potential misconfiguration or operational delays. Notable issues include:

  • Warnings about unassigned shards and possible delays before successful cluster assignment.
  • Repeated attempts to refresh app status and assign shards, which might indicate instability in the caching layer.

While the connection to Redis is not explicitly logged, its role in caching or storing app status might be impacted, leading to these behaviors.


Possible Solution

  1. Ensure Redis is configured correctly with appropriate resources and high availability.
  2. Validate Redis connection and timeout settings in ArgoCD or other components using Redis.
  3. Debug potential network or performance bottlenecks affecting Redis.

Steps to Reproduce

  1. Deploy ArgoCD with Redis as a backend component.
  2. Monitor logs during initialization and app status refresh.
  3. Note warnings or delays related to shard assignments or app state comparison.

Context (Environment)

argoproj/argo-cd#20824
application-controller.log

  • ArgoCD Version: v2.13.0+347f221
  • Redis Version: [Specify your Redis version]
  • Kubernetes Cluster: EKS (or specify)
  • Redis Deployment: [Clustered/Standalone]

Logs from ArgoCD suggest delays or issues during shard assignment and app state refresh, which might stem from Redis' behavior in caching or storing state data.


Detailed Description

The warning and informational logs in ArgoCD indicate delayed responses and misconfigurations during initialization and app state refresh. This could be linked to Redis' role in the stack. Investigating Redis configuration, connectivity, and resource allocation might help resolve the issue.


Possible Implementation

  • Add better monitoring and logging for Redis within the ArgoCD stack to isolate issues.
  • Validate Redis' health and ensure it is optimized for the current workload.

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

No branches or pull requests

1 participant