Skip to main content
Version: Release 24.1

Set up JVM Arguments for Application Containers

This topic illustrates on how to set up JVM arguments for Relase containers. After setup the release will start with additional JVM argument on the Release Java process, in this example: -DsystemProperty=value.

How to Set up JVM Arguments

  1. Update the Release CR yaml file by running the following command:
kubectl patch -n digitalai digitalaireleases.xlr.digital.ai dai-xlr \
--type=merge --patch '{"spec":{"jvmArgs": "-DsystemProperty=value"}}'
  1. The Release pods are automatically restarted.
  2. The CR yaml file will now have a new jvmArgs section.
kubectl get Digitalaireleases dai-xlr -n digitalai -o jsonpath='{.spec.jvmArgs}'
  1. The restarted pod process will now use the new system property. To return the setup to the application, set the jvmArgs to an empty string.