Skip to content

specify additional erlangFlags #184

@devcloud-ops

Description

@devcloud-ops
/opt/couchdb/etc/vm.args. There is already provision to specify a couple of erlangFlags [here](https://github.com/apache/couchdb-helm/blob/a1dfd8b8a7e365ae1820b7ee1d57a05ca0fd18c5/couchdb/values.yaml#L213), but if I want to specify some emulator flags, from [here](https://www.erlang.org/doc/apps/erts/erl_cmd.html#emulator-flags), there is no guideline how it can be done. Let's say I would like to add these flags. How do I add them to the vm.args file?
- "-kernel inet_dist_listen_min 9100"
- "-kernel inet_dist_listen_max 9100"
- "-kernel error_logger silent"
- "-sasl sasl_error_logger false"
- "+K true"
- "+A 16"
- "+Bd -noinput"
- "+Q 134217727"
- "+P 134217727"
- "-smp enable"
- "-ssl session_lifetime 300"

Be ready for followup questions, and please respond in a timely manner. If we can't reproduce a bug or think a feature already exists, we might close your issue. If we're wrong, PLEASE feel free to reopen it and explain why.
--> sure.

Describe the solution you'd like
Be able to specify all the flags and options available here in the values.yaml file under erlangFlags section.

Describe alternatives you've considered
An alternative is to use initContainer to overwrite the existing vm.args file post provision. To be able to modify vm.args flags via values.yaml file will be more convenient and ideal.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions