GitOps environment repo for OpenSearch and OpenSearch-Dashboards development
OpenSearch and OpenSearch-Dashboards helm charts are from the official helm-charts
- fork this repo
- In your forked repository, navigate to the
playgrounds/directory - Create a new subdirectory for your deployment, for example
playgrounds/my-playground - Within this new directory, create the following 3 files, see below
- Commit and create pull request, once the PR is merged, the playground will be deployed automatically in a few minutes
{
"owner": "<[email protected]>",
"cluster": {
"name": "opensearch-dev"
}
}cluster.name MUST be opensearch-dev or opensearch-playground, for development purpose, please use opensearch-dev
replicaCount: 1
image:
repository: "opensearchproject/opensearch-dashboards"
tag: "2.19.0"replicas: 2
image:
repository: "opensearchproject/opensearch"
tag: "2.19.0"With the these config, you will have a OSD playground with an OpenSearch cluster of two nodes created.
If you wish to build the cluster with the latest code, you should do a few extra steps to deploy the cluster:
- You can refer to yaml files from opensearch build repo. For example, this is the yml file for 2.19.0 opensearch dashboards.
- Go to
Actionsand selectBuild OSD Manually, and then initiate a workflow as is shown in the following figure. Upon workflow completion, A PR will be generated automatically. By manually merge this PR, your cluster will be updated with the latest built image.
- support build OpenSearch-Dashboards from source
- Support automatic builds based on schedule
- support build OpenSearch from source
- support k8s cluster auto-scaler
