elasticsearch #1
Deploy this charm on Kubernetes with the CLI. Find out how by reading the docs.
Description
Elasticsearch is the distributed search and analytics engine.
elasticsearch-operator
Description
The Elasticsearch Operator provides a distributed search and analysis solution using Elasticsearch.
Setup
Increase the maximum number of virtual memory areas on your host system. On a Linux system this can be done using the command line
sudo sysctl -w vm.max_map_count=262144
For a more permanent change edit /etc/sysctl.conf
.
Build
To build the charm, first install the charmcraft
tool
sudo snap install charmcraft --classic
Then in this git repository run the command
charmcraft build
Usage
TODO: explain how to use the charm
Developing
Use your Python 3 development environment or create and activate a virtualenv, and install the development requirements,
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements-dev.txt
Testing
Just run run_tests
:
./run_tests
Configuration
- cluster-name
- (string) Name of Elasticsearch cluster.
- elasticsearch
- elasticsearch-image-path
- (string) Elasticsearch container image.
- docbthomas/elasticsearch
- port
- (int) Port on which Elasticsearch HTTP API is exposed.
- 9200