feat: add RS_SETUP_PROFILE tiers for lean demo deployments (v9.4.0)#391
Merged
Conversation
Introduce minimal/standard/full setup profiles to gate meta-index creation and optional plugins, reducing shard usage for external-cluster demos. Includes minimal-profile smoke script, example env, and nil-safe fixes for nodes cron and pipeline invocation when optional indices are skipped. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
|
Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information |
Guard applycache stats rollover and analytics persistence when cache_stats or analytics indices are not created under minimal/standard setup profiles. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
|
Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information |
Enable quick deployment via render.yaml with minimal profile defaults, paired with Aiven free OpenSearch in the README. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
|
Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this do / why do we need it?
RS_SETUP_PROFILE(minimal/standard/full) to gate meta-index creation, shard counts, and optional plugins for lean deployments against external Elasticsearch/OpenSearch clusters..users,.permissions,.pipelines,.pipeline_vars); standard adds core analytics/ops indices at 1 shard each; full preserves current behavior.config/minimal.env.example,scripts/smoke-minimal.sh, and nil-safe fixes for nodes cron/health and pipeline invocation when optional indices are skipped.Makefile,Dockerfile).What should your reviewer look out for in this PR?
go test ./util/...— setup profile unit testsgo run main.go --env=config/minimal.env --log=info— server starts with minimal profile./scripts/smoke-minimal.sh— 13 passed, 0 failed (auth, 4 meta indices, pipelines, env vars, ES proxy)9.4.0release / workflow_dispatch Docker image for demo deploymentWhich issue(s) does this PR fix?
If this PR affects any API reference documentation, please share the updated endpoint references