Add instructions about how to add JVM arguments to Docker and DC Helm charts

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • None
    • Component/s: Documentation - All
    • None
    • 1

      In our documentation page Setting properties and options on startup, we don't have any reference about adding JVM arguments to Docker or Kubernetes (DC Helm charts).

      For Docker

      We can add a reference to our Docker repository page: https://hub.docker.com/r/atlassian/jira-software

      We can also add the instructions from there:
       

      • Add the environment variable JVM_SUPPORT_RECOMMENDED_ARGS

      Example:

      docker run -e JVM_SUPPORT_RECOMMENDED_ARGS=-Djavax.net.ssl.trustStore=/var/atlassian/application-data/jira/cacerts -v jiraVolume:/var/atlassian/application-data/jira --name="jira" -d -p 8080:8080 atlassian/jira-software

      For Kubernetes / DC Helm charts

      To do that, we should use the additionalJvmArgs segment from the values.yaml file.

      Example:

        additionalJvmArgs: 
          - -Dcom.sun.management.jmxremote
          - -Dcom.sun.management.jmxremote.port=8099
          - -Dcom.sun.management.jmxremote.ssl=false
          - -Dcom.sun.management.jmxremote.authenticate=false
          - -Dcom.sun.management.jmxremote.rmi.port=8099
          - -Djava.rmi.server.hostname=127.0.0.1
      

            Assignee:
            Robert Klimkiewicz
            Reporter:
            Allan Gandelman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: