OpenSearch
- Canonical
- Databases
Channel | Revision | Published | Runs on |
---|---|---|---|
2/stable | 168 | 24 Sep 2024 | |
2/candidate | 168 | 24 Sep 2024 | |
2/beta | 168 | 24 Sep 2024 | |
2/edge | 188 | 06 Nov 2024 |
juju deploy opensearch --channel 2/stable
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
Note: All commands are written for juju >= v.3.1
. Charmed OpenSearch no longer supports juju v.2
.
Software testing for charms
Most types of standard software tests are applicable to Charmed OpenSearch.
This reference addresses the following types:
Unit test
Check the Contributing guide and follow tox run -e unit
examples there.
Integration test
The integration tests coverage is rather rich in the OpenSearch charm. Check the Contributing guide and follow tox run -e integration
examples there.
For high availability (HA) related tests, each test serves as an integration as well as a smoke test with continuous writes routine being perpetually ran in parallel of whatever operation the test is involved in. These continuous writes ensure the availability of the service under different conditions.
HA tests make use of one of the 2 fixtures:
c_writes_runnner
: creates an index with a default replication factor and continuously “bulk” feeds data to itc_balanced_writes_runner
: creates an index with 2 primary shards and as many replica shards as the number of nodes available in the cluster, and continuously “bulk” feeds data to it.
After each test completes, the index gets deleted.
Performance test
Refer to the OpenSearch VM benchmark guide for charmed OpenSearch.