Created
July 19, 2020 08:14
-
-
Save Callonski/f63e1ac25965a0d1f77244a0e4a8de3e 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