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

Specific configuration for Filigran #1

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

ThibaultFiligran
Copy link

@ThibaultFiligran ThibaultFiligran commented Dec 30, 2024

Redis Sentinel Changes
🛠 Configuration Improvements

  • New Standalone Mode: Added automatic master discovery logic
    • First checks sentinel sidecars on StatefulSet pods
    • Then checks Redis nodes directly
    • Falls back to node-0 if no master is found
  • Better Error Handling

🔒 Security

  • Cilium Network Policy: New file to manage network policies
  • Cross-namespace communication support
  • Egress/ingress rules configuration for Redis and Sentinel
  • Prometheus monitoring options

🔧 Configuration
Dependencies: Updated to use local common charts

  • Changed from registry-1.docker.io/bitnamicharts to file://../common
  • Common version maintained at 2.28.0
    (feel free to revert, it's only to be able to use helm template locally)

💡 General Improvements
Increased master retrieval timeout (5 to 10 seconds)
Dynamic use of replicaCount for node iteration

- Fix printf commands by removing trailing quotes
- Add more detailed logging in standalone mode:
  * Log when standalone mode is enabled
  * Log each node iteration for both sentinel and redis checks
- Use replicaCount from values for node iteration
- Keep failback behavior when sentinel info is not found
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.

1 participant