diff options
author | Alex Auvolat <alex@adnab.me> | 2022-12-22 18:01:46 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-12-22 18:01:46 +0100 |
commit | 4d637c91b16ed050e4d6860e8b8f31252018fb1e (patch) | |
tree | 8c749ba6c39987a999e1fe4755811cf1ed847cd1 /doc/telemetry.md | |
parent | b47334d7d7d458dd394001ec69b43578854cb66e (diff) | |
download | nixcfg-4d637c91b16ed050e4d6860e8b8f31252018fb1e.tar.gz nixcfg-4d637c91b16ed050e4d6860e8b8f31252018fb1e.zip |
remove outdated telemetry doc
Diffstat (limited to 'doc/telemetry.md')
-rw-r--r-- | doc/telemetry.md | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/doc/telemetry.md b/doc/telemetry.md deleted file mode 100644 index 968b1e4..0000000 --- a/doc/telemetry.md +++ /dev/null @@ -1,37 +0,0 @@ -# generate ca and tls certs for elasticsearch cluster - -start a `bash` in an elasticsearch image, such as `docker.elastic.co/elasticsearch/elasticsearch:8.2.0`: `docker run -ti docker.elastic.co/elasticsearch/elasticsearch:8.2.0 bash` - -generate a ca and node certs: - -```bash -./bin/elasticsearch-certutil ca -./bin/elasticsearch-certutil cert --ca elastic-stack-ca.p12 -``` - -write these files in Consul at `secrets/telemetry/elasticsearch/elastic-certificates.p12` and `secrets/telemetry/elasticsearch/elastic-stack-ca.p12` - -# start nomad services - -```bash -nomad run telemetry-system.hcl -nomad run telemetry.hcl -``` - -# create elasticsearch passwords - -in an elasticsearch container that was launched by Nomad: - -```bash -./bin/elasticsearch-reset-password -u elastic -./bin/elasticsearch-reset-password -u kibana -``` - -save passwords in consul, at: - -- `secrets/telemetry/elastic_passwords/kibana_system` for user `kibana_system` -- `secrets/telemetry/elastic_passwords/elastic` for user `elastic` - -check kibana works, login to kibana with user `elastic` - -grafana and apm-server will use the elastic user (the admin) to write data to elasticsearch |