Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-7010

[RH-SSO] Document usage / configuration of advanced JAVA_OPTS on OpenShift

    Details

      Description

      Document how to enable advanced JAVA_OPTS when running RH-SSO for OpenShift image.

      Example to enable RH-SSO TechPreview features:

      • Either add JAVA_OPTS_APPEND="-Dkeycloak.profile=preview" to the sso deployment config
        via OpenShift web console, or
      • Perform something like the following on the CLI:
        • First scale the RH-SSO pod down:
          $ oc get dc -o name
          deploymentconfig/sso
          deploymentconfig/sso-mysql
          
          $ oc scale --replicas=0 dc sso
          deploymentconfig "sso" scaled
          
        • Edit the deployment config to enable TechPreview features:
          oc env dc/sso -e "JAVA_OPTS_APPEND=-Dkeycloak.profile=preview"
          
        • Then scale it back up:
          $ oc scale --replicas=1 dc sso
          deploymentconfig "sso" scaled
          

      Additional information: We should add an overall note, advanced features can be enabled by using JAVA_OPTS_APPEND variable. Then provide more specific, step-by-step example how to enable e.g. TechPreview features, or some other functionality.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  amunro Andrew Munro
                  Reporter:
                  iankko Ján Lieskovský
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: