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

✨(apps) add elasticsearch application #447

Merged
merged 1 commit into from
Jan 30, 2020
Merged

Conversation

madmatah
Copy link
Contributor

@madmatah madmatah commented Jan 23, 2020

Purpose

As described in #419 :

Apps that need Elasticsearch include their own dc to deploy Elasticsearch but we are facing limitation:

  • we want to benefit from highly available clusters
  • we sometimes need to share the same Elasticsearch between different applications

Proposal

Add an independant elasticsearch app with a configurable high availability cluster. It is designed to run without persistent volume and it supports rolling updates without any data loss.

On the other hand, a full restart of the ES cluster (without rolling update) results in data loss and requires to recreate indexes.

@madmatah madmatah added the WIP label Jan 23, 2020
@madmatah madmatah self-assigned this Jan 23, 2020
@madmatah madmatah force-pushed the feature-elasticsearch-ha branch 9 times, most recently from c7d7b81 to 6d520ea Compare January 27, 2020 16:07
@madmatah madmatah changed the title WIP: ✨(apps) add elasticsearch application ✨(apps) add elasticsearch application Jan 27, 2020
Copy link
Contributor

@jmaupetit jmaupetit left a comment

Choose a reason for hiding this comment

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

I mostly have suggestion on Bash scripts syntax and conventions, else...

apps/elasticsearch/vars/all/main.yml Outdated Show resolved Hide resolved
apps/elasticsearch/vars/all/main.yml Outdated Show resolved Hide resolved
apps/elasticsearch/vars/all/main.yml Outdated Show resolved Hide resolved
bin/ci-test-service Outdated Show resolved Hide resolved
group_vars/customer/eugene/main.yml Outdated Show resolved Hide resolved
@madmatah madmatah force-pushed the feature-elasticsearch-ha branch 5 times, most recently from f107971 to 591f413 Compare January 28, 2020 18:19
@madmatah
Copy link
Contributor Author

@jmaupetit I think I adressed all your feedbacks, thank you very much !

Now let's wait for CI green lights...

@jmaupetit
Copy link
Contributor

@madmatah great! I'll give this PR a new review.

@madmatah madmatah force-pushed the feature-elasticsearch-ha branch 2 times, most recently from 5a915b1 to 815a9be Compare January 29, 2020 10:15
@madmatah
Copy link
Contributor Author

Done ! It's better with the json file in the ConfigMap.
Thanks for your feedbacks.

Copy link
Contributor

@jmaupetit jmaupetit left a comment

Choose a reason for hiding this comment

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

Almost good to go! 💪

@madmatah madmatah force-pushed the feature-elasticsearch-ha branch 3 times, most recently from 150b729 to 0497398 Compare January 29, 2020 11:33
@madmatah
Copy link
Contributor Author

Fixed and rebased !

Copy link
Contributor

@jmaupetit jmaupetit left a comment

Choose a reason for hiding this comment

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

Add  an  independant  elasticsearch   app  with  a  configurable  high
availability cluster. It is designed  to run without persistent volume
and it  supports rolling updates without  any data loss. On  the other
hand,  a full  restart  of  the ES  cluster  (without rolling  update)
results in data loss and requires to recreate indexes.
@madmatah madmatah force-pushed the feature-elasticsearch-ha branch from 0497398 to 46465a2 Compare January 30, 2020 16:03
@madmatah madmatah merged commit 6dac132 into master Jan 30, 2020
@madmatah madmatah deleted the feature-elasticsearch-ha branch January 30, 2020 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants