Files
dsk-iac/ansible/roles/helm_install/files/elasticsearch/examples/security
2022-12-09 13:38:44 +09:00
..
2022-12-09 13:38:44 +09:00
2022-12-09 13:38:44 +09:00
2022-12-09 13:38:44 +09:00
2022-12-09 13:38:44 +09:00

Security

This example deploy a 3 nodes Elasticsearch 8.4.1 with authentication and autogenerated certificates for TLS (see values).

Note that this configuration should be used for test only. For a production deployment you should generate SSL certificates following the official docs.

Usage

  • Create the required secrets: make secrets

  • Deploy Elasticsearch chart with the default values: make install

  • You can now setup a port forward to query Elasticsearch API:

    kubectl port-forward svc/security-master 9200
    curl -u elastic:changeme https://localhost:9200/_cat/indices
    

Testing

You can also run goss integration tests using make test