Custom JVM arguments in Hazelcast Management Center allow for the precise configuration of Java runtime parameters, enabling you to optimize resource utilization and enhance the overall performance of your Hazelcast cluster management. It can be useful to pass JVM arguments, such as for configuring log levels or supporting the IPv6 stack.
The structure of configuring JVM arguments in the Management Center CR is same as Hazelcast CR. See Configure JVM arameters.
Example configuration
The following example configuration adds JVM arguments for setting log levels to debug level and enabling IPv6 addressing.
Example Management Center with JVM args Configuration
apiVersion: hazelcast.com/v1alpha1
kind: ManagementCenter
metadata:
name: mancenter
spec:
hazelcastClusters:
- address: hazelcast
name: dev
jvm:
args:
- "-Dhazelcast.mc.log.level=debug"
- "-Djava.net.preferIPv6Addresses=true"
- "-Djava.net.preferIPv4Stack=false"