Visit Azul.com Support

Installation with Rendered Manifests

If your platform standards don’t allow Helm to hold release state in the cluster, you can render the Optimizer Hub Helm chart into plain Kubernetes manifests with helm template and apply them with kubectl apply. This render-and-apply path has the same support level as helm install.

This page only describes what differs from the Helm installation. For the other steps, follow the Standard Installation Procedure:

  • Add the Helm repository (Step 1).

  • Create the namespace (Step 2). The rendered file does not create it.

  • Create values-override.yaml and configure storage (Step 3).

For the supported Kubernetes versions, see Kubernetes Requirements. For the values you can set, see Optimizer Hub Generic Defaults and Customizing the Optimizer Hub Deployment.

Support Boundary

  • Supported: helm install and helm upgrade, and manifests rendered from the chart and applied with kubectl apply. Both have the same support level. Switching components on or off and configuring them through Helm values is supported. This includes gwProxy.enabled=false, existingServiceAccount, the component enabled flags, and the Role and RoleBinding switch.

  • Best effort: Customer edits made after rendering.

  • Not supported: Removing or replacing rendered objects by hand, for example replacing the cache StatefulSet, and translating the objects into third-party or proprietary deployment systems. Questions about the object graph are answered, but the resulting installation isn’t warranted.

For the extension contract, see Network and Gateway Requirements > Extension Contract and Support Boundary.

Render the Manifests

Render the chart into a single file. Always specify the version you want to install.

 
helm template opthub opthub-helm/azul-opthub \ --namespace my-opthub \ -f values-override.yaml \ --version 26.11.0 > opthub.yaml
Important
The --namespace option is mandatory. A rendered file belongs to one namespace. To use another namespace, render the chart again. Never edit the generated file.

The same chart version, values, and namespace produce the same file. The Envoy image uses a floating tag, so the image that runs can still change.

Apply and Verify

Apply the file using the same namespace you used for --namespace, and verify that all pods start and reach ready state:

 
kubectl apply -n my-opthub -f opthub.yaml kubectl get all -n my-opthub

Customizing the Deployment

Customize Optimizer Hub only through Helm values. Never edit the generated file or the live quarkus-config-* ConfigMap. Render the manifests again after every change.

Changing the Configuration

  1. Edit values-override.yaml.

  2. Render the manifests again.

  3. Apply the new file.

Optimizer Hub receives opthub.properties through an immutable ConfigMap named quarkus-config-<hash>. A configuration change creates a new ConfigMap and updates the pod templates, so the workloads roll out without a manual restart.

Removing Superseded ConfigMaps

kubectl apply does not delete the previous quarkus-config-<hash> ConfigMap, so one remains after every configuration change.

Remove a ConfigMap only when:

  • no workload references it, and

  • the rollout has completed and the workloads are Ready.

Warning
Do not remove the gw-proxy ConfigMap this way. It is a different, mutable object that holds the Envoy configuration.

Upgrading to a New Version

  1. Follow the steps in Upgrading or Rolling Back: shut down the existing instance, including the cache pods, and validate your values-override.yaml file.

  2. Render the manifests with the target --version, and apply them as described above.

  3. Remove the objects that the new release no longer renders. kubectl apply does not remove them. Compare the list of objects of the installed release with the list of the target release, and remove the objects that are only in the first. This also works when you skip releases.

  4. Remove the ConfigMaps that are no longer referenced, as described in Removing Superseded ConfigMaps.

Troubleshooting

For problems with a running Optimizer Hub, see Troubleshooting Optimizer Hub.

kubectl apply fails with a namespace mismatch

Symptom: kubectl apply -n <other-ns> -f opthub.yaml fails once for each object that carries a namespace:

error: the namespace from the provided object "<ns>" does not match the namespace "<other-ns>". You must pass '--namespace=<ns>' to perform this operation.

Cause: The file was rendered for a different namespace than the one given to -n.

Fix: Render the manifests again with --namespace set to the intended namespace, and apply them with the same -n. Don’t edit the file.

Note
kubectl handles each object separately. An object that carries no namespace in the file is accepted into the namespace given with -n, so a rejected apply can still create objects there. Check the namespace you applied to, and remove anything the rejected apply created.