-
-
Save Simonx123/1b6c2940193337dade2a5c4e43455fbc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ####### PLUGIN, SERVICE-ACCOUNT AND RESTART ELASTICSEARCH ######## | |
| systemctl enable elasticsearch.service | |
| cd /usr/share/elasticsearch | |
| sudo ./bin/elasticsearch-plugin install repository-gcs -b | |
| echo ${gcp_sa} | base64 -d > credentials.json | |
| sudo ./bin/elasticsearch-keystore add-file gcs.client.default.credentials_file credentials.json -s | |
| systemctl restart elasticsearch.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment