opthub-helm-charts

Azul Optimizer Hub Helm Charts

Azul Optimizer Hub is a server-side optimization solution that offloads JIT compilation to separate and dedicated service resources, providing more processing power to JIT compilation while freeing your client JVMs from the burden of doing JIT compilation locally.

Optimizer Hub is shipped as a Kubernetes cluster which you provision and run on your cloud or on-premise servers. You can install Optimizer Hub on any Kubernetes cluster:

See the Optimizer Hub Documentation for more information. Note: By downloading and using Optimizer Hub Installer you are agreeing to the Optimizer Hub Evaluation Agreement.

To install Optimizer Hub:

  1. Install Azul Zulu Prime version 21.09.01 or later on your client machine.
  2. Make sure your Helm version is v3.8.0 or later.
  3. Add the Azul Helm repository to your Helm environment:
    helm repo add opthub-helm https://azulsystems.github.io/opthub-helm-charts/
    helm repo update
    
  4. Create a namespace (i.e. opthub) for the Optimizer Hub service.
    kubectl create namespace opthub
    
  5. Create the values-override.yaml file in your local directory.
  6. If you have a custom cluster domain name, you will need to provide it:
    clusterName: "example.org"
    
  7. Configure sizing and autoscaling of the Optimizer Hub components according to the sizing guide. By default autoscaling is on and the Optimizer Hub service can scale up to 10 Compile Brokers.
  8. If needed, configure external access in your cluster. If your JVMs are running within the same cluster as Optimizer Hub, you can ignore this step. Otherwise, it is necessary to configure an external load balancer in values-override.yaml. For clusters running on AWS an example configuration file is available in this GitHub project.

  9. Install using Helm, passing in the values-override.yaml:
    helm install opthub opthub-helm/azul-opthub -n opthub -f values-override.yaml
    

    In case you need a specific Optimizer Hub version, please use --version <version> flag. The command should produce output similar to this:

    NAME: opthub
    LAST DEPLOYED: Thu Apr  7 19:21:10 2022
    NAMESPACE: opthub
    STATUS: deployed
    REVISION: 1
    TEST SUITE: None
    

    Advanced deployment without compilation feature. If you want to deploy Optimizer Hub without its compilation feature, add provided values-disable-compiler.yaml to your helm command:

    helm install opthub opthub-helm/azul-opthub -n readynow-only -f values-override.yaml -f values-disable-compiler.yaml
    
  10. Verify that all started pods are ready:
    kubectl get all -n opthub