-
Notifications
You must be signed in to change notification settings - Fork 46
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
Upgrade Elastic stack from 7.17 to 8 #216
Conversation
kibana_system does not have access to kibana
use monitoring instead of deprecated xpack.monitoring
2.4 onwards elastic8 is supported
Changes were initially ran against test country config
On upgrading: Support matrix: https://www.elastic.co/support/matrix Upgrade Elastic stack from 7.17.x to 8.14.2
At least critical issues should be fixed before moving forward. This PR addresses them. On upgrade order:
|
So for existing systems we can't just do a new deploy and expect everything to "just work" is that it? Instead we need to do it step by step, for example How about doing it in 2 phases? For example we could do a 1.5.x & 1.6.x release with the |
I tested this against existing environment and the upgrade with one go seemed to work. Thanks to docker swarm, I think. There might be some error state for a minute until every container has updated, unless we can define the order in which the containers are updated, or they can be swapped 'all at once'. I'm now filling dev environment with test data and check for regression next |
🍒 Merge changes from PR #216 to release-v1.6.0
In order to fix the issue opencrvs/opencrvs-core#7149 we needed to upgrade to next major version of elastic stack
Support matrix: https://www.elastic.co/support/matrix
Stack upgrade guide: https://www.elastic.co/guide/en/elastic-stack/8.14/upgrading-elastic-stack.html#prepare-to-upgrade
Changes
Using "elasticsearch.username: elastic" is deprecated
(Remove system-index write-access from superuser role elastic/elasticsearch#81400)kibana_system
user ([Breaking change] forbidelasticsearch.username: elastic
in production elastic/kibana#51101)Using "xpack.infra.sources.default.logAlias" is deprecated
(https://discuss.elastic.co/t/kibana-8-0-1-cant-set-logalias-on-the-configuration-file/300541)search_user
to prevent reindexing from crash loop.Needs core changes from opencrvs/opencrvs-core#7389