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:
- Kubernetes clusters that you manually configure with kubeadm
- A single-node minikube cluster. You should run Optimizer Hub on minikube only for evaluation purposes. Make sure your minikube meets the 18vCore minimum for running Optimizer Hub.
- Managed cloud Kubernetes services such as Amazon Web Services Elastic Kubernetes Service (EKS), Google Kubernetes Engine, and Microsoft Azure Managed Kubernetes Service.
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:
- Install Azul Zulu Prime version 21.09.01 or later on your client machine.
- Make sure your Helm version is v3.8.0 or later.
- Add the Azul Helm repository to your Helm environment:
helm repo add opthub-helm https://azulsystems.github.io/opthub-helm-charts/
helm repo update
- Create a namespace (i.e.
opthub
) for the Optimizer Hub service.
kubectl create namespace opthub
- Create the
values-override.yaml
file in your local directory. - If you have a custom cluster domain name, you will need to provide it:
clusterName: "example.org"
-
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.
-
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. -
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
- Verify that all started pods are ready:
kubectl get all -n opthub