lhotari edited a comment on issue #10136: URL: https://github.com/apache/pulsar/issues/10136#issuecomment-829183581
For example, In the k8s Helm chart deployment, an environment variable can be set for the broker by adding it under `broker.configData` in the `values.yaml` for the deployment. ``` broker: configData: PULSAR_EXTRA_OPTS: -Dpulsar.allocator.leak_detection=Simple -Dpulsar.allocator.exit_on_oom=true -Dio.netty.recycler.maxCapacity.default=1000 -Dio.netty.recycler.linkCapacity=1024 ``` `-Dpulsar.allocator.exit_on_oom=true -Dio.netty.recycler.maxCapacity.default=1000 -Dio.netty.recycler.linkCapacity=1024` are the defaults in `PULSAR_EXTRA_OPTS` which would get overridden unless they are also specified in the new value. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org