Support jvmArgumentOverrides
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- kubernetes, rust
- Domain
- infrastructure
Research direction
The issue names no files or tests; begin by locating the operator’s handling of OpenSearchCluster node configuration and its existing envOverrides support. Done means jvmArgumentOverrides is accepted for JVM arguments, including changing or removing defaults, with tests covering the behavior.
Written by the indexing model from the issue text.
Description
Description
Support jvmArgumentOverrides, see https://docs.stackable.tech/home/stable/concepts/overrides/#jvm-argument-overrides.
Users are accustomed from other operators to being able to set JVM arguments via jvmArgumentOverrides. When they intuitively try this with the OpenSearch operator, it has no effect.
Workaround
Additional JVM arguments can currently set with the environment variable OPENSEARCH_JAVA_OPTS. The arguments are just appended to the other ones. Removing or changing arguments is not possible at the moment.
For example, the Java heap memory is set to 1 GB by default. It can be increased as follows:
---
apiVersion: opensearch.stackable.tech/v1alpha1
kind: OpenSearchCluster
spec:
nodes:
roleGroups:
data:
config:
resources:
memory:
limit: 4Gi
envOverrides:
OPENSEARCH_JAVA_OPTS: "-Xms3g -Xmx3g"
- Dominant language
- Rust
- Stars
- 0
- Forks
- 2
- Avg merge
- 11h 1m
- Merged PRs (30d)
- 9
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from stackabletech/opensearch-operator
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Dependency Dashboard Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
customer-request size/M type/feature-new
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
customer-request size/M type/feature-new
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in stackabletech/opensearch-operator
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug team:backend track:services-maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cowprotocol/services#4950 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·