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

Adding support for dynamic aerospike config change #261

Closed
wants to merge 10 commits into from

Conversation

tanmayja
Copy link
Contributor

@tanmayja tanmayja commented Dec 8, 2023

This PR is to handle aerospike config fields which can be changed dynamically without any rolling restart.
whenever user will change any config in CR, operator will do certain operations:

  1. Compare the spec and status config from CR and fetch different config in a specific format.
  2. Check whether that field is static or dynamic.
  3. If dynamic, construct the set-config command based on the context and sub-context.
  4. Execute the command in all the hosts via asinfo.
  5. If command fails for any reason, fall back to rolling restart.

@tanmayja tanmayja closed this Dec 11, 2023
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