Install Alauda AI
Alauda AI provides model management, inference, training, and MLOps capabilities through the Alauda AI Operator. The automatically created default AmlCluster instance controls the components enabled in the cluster. By default, Alauda AI uses the KServe Standard mode for the inference backend, which is particularly recommended for resource-intensive generative workloads. This mode provides a straightforward way to deploy models and offers robust, customizable deployment capabilities by leveraging foundational Kubernetes functionalities.
Optional capabilities, including Knative functionality for scaling inference services to zero, are enabled by updating the component switches in the AmlCluster instance. The required operators and operands are installed automatically according to those settings.
Recommended deployment option: For generative inference workloads, the Standard approach (previously known as RawKubernetes Deployment) is recommended as it provides the most control over resource allocation and scaling.
TOC
Downloading packagesPrerequisitesUploading packagesInstalling Alauda AIConfiguring Alauda AI InstanceImporting Built-in Model Images for CatalogFAQ1. Configure the audit output directory for aml-skipper2. Set KServe Modelcar UID for vLLM-ascendDownloading packages
For the common procedure for downloading installation packages and the violet tool, see Upload Packages.
The package required for Alauda AI is:
- Alauda AI — the main platform component for model management, inference services, and component lifecycle management.
Download the package version that matches the Alauda AI release and the target cluster architecture.
Prerequisites
The dependent components listed below are delivered as packages. You do not need to install them on the target cluster separately — upload their packages to the platform repository before installing Alauda AI, and the AmlCluster installs and manages the components after Alauda AI is installed.
The following components are required by default:
- PostgreSQL
- Alauda Cache Service for Redis OSS
- Alauda Build of Authorino
- Alauda Build of Envoy AI Gateway
- Alauda Build of KServe
- Alauda Build of LeaderWorkerSet
Uploading packages
Upload the Alauda AI package to the cluster where Alauda AI will run. Follow Upload Packages to prepare violet, configure platform or external-registry credentials, and upload the package.
After uploading the package, install Alauda AI from OperatorHub as described below. Optional capabilities are enabled after installation through the AmlCluster component configuration.
Installing Alauda AI
Procedure
In Administrator view:
-
Click Marketplace / OperatorHub.
-
At the top of the console, from the Cluster dropdown list, select the destination cluster where you want to install Alauda AI.
-
Select Alauda AI, then click Install.
Install Alauda AI window will pop up.
-
Then in the Install Alauda AI window.
-
Leave Channel unchanged.
-
Check whether the Version matches the Alauda AI version you want to install.
-
Leave Installation Location unchanged, it should be
aml-operatorby default. -
Select Manual for Upgrade Strategy.
-
Click Install.
Verification
Confirm that the Alauda AI tile shows one of the following states:
Installing: installation is in progress; wait for this to change toInstalled.Installed: installation is complete.
Configuring Alauda AI Instance
Once Alauda AI is installed, the operator automatically creates the cluster-scoped default AmlCluster instance. You do not need to create the default instance manually. Review and update the automatically created instance according to your environment.
Deploy Alauda AI
In Administrator view:
-
Click Marketplace / OperatorHub.
-
At the top of the console, from the Cluster dropdown list, select the destination cluster where you want to install the Alauda AI Operator.
-
Select Alauda AI, then click it.
-
In the Alauda AI page, click All Instances from the tab.
-
Wait for the
defaultAmlClusterinstance to appear, then edit it. -
Select Deploy Flavor from dropdown:
single-nodefor non HA deployments.ha-clusterfor HA cluster deployments (Recommended for production).
-
Input a valid domain for Domain field.
INFOThis domain is used by ingress gateway for exposing model serving services. Most likely, you will want to use a wildcard name, like *.example.com.
You can specify the following certificate types by updating the Domain Certificate Type field:
ProvidedSelfSignedACPDefaultIngress
By default, the configuration uses
SelfSignedcertificate type for securing ingress traffic to your cluster, the certificate is stored in theknative-serving-certsecret that is specified in the Domain Certificate Secret field.
Component management states
Alauda AI 2.8 automatically installs and manages the components selected by the AmlCluster configuration. The following values show the default component settings. Merge the entries you need into the existing default AmlCluster; do not create a second instance.
The spec.components field uses configuration keys that correspond to the following products and Operators:
The management states have the following meanings:
For common 2.8 deployments, set the following component switches to Managed when the corresponding capabilities are required. The servingRuntimeOperator setting depends on the accelerator and serving-runtime requirements of your environment.
servingRuntimeOperatorcontrols Alauda Build of Serving Runtime, which contains vLLM and llm-d serving runtimes for Nvidia GPUs and is available only for x86. Enable it for Nvidia/x86 deployments that require these runtimes. If your environment uses Ascend or another non-Nvidia accelerator, do not enable or install this component; use the serving runtime appropriate for that hardware instead.
Enable Knative functionality
Set spec.components.knativeServing.managementState to SharedManaged in the existing default AmlCluster:
Configure KServe
Alauda Build of KServe is installed and managed by Alauda AI. The kserve component in the default AmlCluster instance defaults to Managed, so Alauda AI installs the KServe Operator and automatically creates the KServe instance. You do not need to upload the KServe Operator package, install the Operator from OperatorHub, or create a KServe custom resource manually.
The KServe parameters are exposed through spec.components.kserve.values. Merge the settings you need into the existing default AmlCluster:
The main kserve component settings:
The gateway presets configure the AI gateway stack that fronts inference traffic:
Verify that the AmlCluster reconciles and the KServe instance is created by Alauda AI:
The AmlCluster should report Phase=Ready and Reason=Reconciled, and the KServe instance is ready when the status shows DEPLOYED: True.
Configure a custom OIDC provider (Optional)
By default, Alauda AI uses ACP Dex as the OIDC provider. In this default
setup, no additional spec.oidc configuration is required in the
AmlCluster instance.
If you want Alauda AI to use another OIDC provider, register an OAuth2/OIDC
client in that provider, allow the Alauda AI callback URL, and then update
spec.oidc in the AmlCluster YAML. The callback URL is:
Alauda AI reads the OIDC client secret from a Kubernetes Secret in the
kubeflow namespace of the Alauda AI installation cluster. The default
Secret name is aml-oidc-secret, and the Secret key must be
client-secret. Update this Secret with the client secret from your OIDC
provider:
Then configure spec.oidc:
If the provider exposes a standard OIDC discovery document at
<issuerURL>/.well-known/openid-configuration, Alauda AI automatically
fills redeemURL, jwksURL, and profileURL from discovery when these
fields are not set. If discovery is unavailable, configure these fields
explicitly:
Use the mapped loginURL value for main.loginURL, or for
secondary.loginURL if you configure a secondary endpoint.
Example Keycloak configuration:
- In the target realm, create an OpenID Connect client.
- Set Client ID to the value used in
spec.oidc.clientID, for exampleaml. - Turn on Client authentication.
- Under Authentication flow, select Standard flow.
- Turn on Require PKCE and set PKCE Method to
S256. - Set Valid redirect URIs to
https://<platform-address>/clusters/<cluster-name>/aml/*. - Copy the client secret from the Keycloak client Credentials tab and
update the
aml-oidc-secretSecret shown above. - In the client Client scopes settings, set
basic,email, andprofileto Default, and set other scopes to Optional unless your environment explicitly needs them. Avoid adding large claim mappers such as groups, realm roles, client roles, address, phone, offline access, and other application-specific claims unless required. Large tokens can make the oauth2-proxy cookie exceed browser or ingress header size limits and cause login loops or HTTP 431/400 errors.
Configure the console languages (Optional)
Alauda AI reads the available console languages from
spec.i18n.languages in the AmlCluster instance. The default value is
en.
Supported language codes are:
en and zh are built-in languages. Other languages only add the
language as a selectable entry. To switch to those languages successfully,
you must also provide the corresponding translation file.
You can use the built-in English and Chinese translation files as references when preparing translation files for other languages:
Generate the target-language translation from these files, or contact Alauda to obtain the latest translation content for the required language.
For example, to make English, Chinese, and French selectable in the
console, update the AmlCluster YAML:
Then create a translation file ConfigMap for French in the
cpaas-system namespace:
Use the same pattern for other non-built-in languages by replacing fr
with the target language code and providing the translated
lich-single.json content.
Configure Model Catalog
-
Model OCI Registry Address: Registry address hosting model OCI artifacts for Model Catalog. This field has no default value and must be configured for your environment.
This registry stores the model OCI images used by Model Catalog. Use Harbor or another production-mode OCI registry with HTTPS access enabled. Model Catalog does not support configuring
imagePullSecretfor pulling model OCI images, so the Harbor project or repository used for Model Catalog must allow anonymous pull access from inference cluster nodes. In Harbor, set the project that stores Model Catalog images to Public.If you cannot deploy a registry with HTTPS in the target environment, you can use an HTTP registry as a fallback. Configure the container runtime on every node in the inference cluster before deploying models. For containerd, add an insecure registry mirror for the registry address, for example by creating
/etc/containerd/certs.d/<registry-host:port>/hosts.toml:Then restart containerd or apply the equivalent node-runtime configuration through your cluster management system. This configuration must exist on the nodes where inference service pods are scheduled; otherwise the pod image pull will fail even if Model Catalog can list the model. The exact containerd configuration path can vary by Kubernetes distribution; after applying the configuration, verify that the node can pull a Model Catalog image, for example with
crictl pull <registry-host:port>/<repository>:<tag>. -
Source of PVC: Choose whether to reuse an existing PVC or create a new one. Use
CreateNewto let the installation create the PVC. -
StorageClass Name: StorageClass used when creating a new PVC.
Verification
Review the configuration and save the default AmlCluster instance, then check its status:
The resource should be Ready:
Importing Built-in Model Images for Catalog
The Catalog feature in Alauda AI ships with a set of built-in model OCI images that users can deploy as inference services from the Web Console. These images must be imported into the OCI registry configured by Model Catalog before the Catalog can serve them. Without this step, the installation completes successfully, but deploying a built-in model from the Catalog will later fail with ImagePullBackOff.
Obtaining the OCI image tarballs
Built-in model images are delivered as OCI archive tarballs (.tar files compliant with the OCI Image Layout Specification). Each tarball contains a multi-architecture image (linux/amd64 + linux/arm64) for one model.
Download the tarballs from the Customer Portal Marketplace, or contact your Alauda support representative to obtain the package matching your Alauda AI version.
Pushing to Harbor
The recommended target is Harbor. The example below uses an HTTP Harbor registry. If your Harbor registry uses HTTPS, omit --plain-http and change the API URLs from http:// to https://.
Run the commands on a node that has ctr, curl, and jq installed and can reach Harbor.
First, set the environment variables:
- Harbor registry endpoint, without the URL scheme.
- Target repository path in Harbor, in the form
<project>/<image-name>. For example,mlops/modelcar-qwen3.5-0.8buses the Harbor projectmlopsand repositorymodelcar-qwen3.5-0.8b. - Image tag carried by the OCI archive. If you do not know it, extract it from the tarball with the command below.
- Path to the OCI archive tarball obtained in the previous step.
- Harbor credentials in the form
user:password. Contact your platform administrator if you do not have these.
The tarball usually carries its own tag (e.g. v0.1.0) inside the OCI image layout. If needed, extract it from the tarball:
Check whether the image tag already exists in Harbor:
If the Harbor project does not exist yet, create it before pushing:
If the project already exists, Harbor returns a non-2xx status code. After confirming the project exists, make sure it is configured as a public project, then continue with the import and push. Model Catalog does not support configuring imagePullSecret when deploying model OCI images, so inference cluster nodes must be able to pull these images anonymously.
Then run the import and push procedure:
Repeat this procedure for each built-in model tarball, varying $REPO, $TAG, and $TAR per model.
--all-platforms is critical at the import step: omitting it imports only the node's host architecture, and the subsequent push will silently miss the other platform's blobs. The flag is not needed on push — pushing the multi-arch index automatically pushes all platforms it references.
Verifying the Harbor import
Confirm that Harbor now serves the image:
HTTP=200 means the image was successfully imported into Harbor. Expected output includes the digest, size, push time, tag, and platform information:
Now, the core capabilities of Alauda AI have been successfully deployed. If you want to quickly experience the product, please refer to the Quick Start.
FAQ
1. Configure the audit output directory for aml-skipper
The default audit output path is /cpaas/audit on the host. However, on some operating systems (e.g., Alauda OS), the root path of the host is read-only, and the /cpaas directory cannot be created. In this case, users need to modify the audit output path.
To modify the audit output path, update the AmlCluster default resource and add the amlSkipper.auditLogHostPath.path configuration under spec.values. For example:
The specific path should be consistent with the collection configuration of Alauda Container Platform Log Collector.
2. Set KServe Modelcar UID for vLLM-ascend
If you plan to use vLLM-ascend, set KServe Modelcar UID to 0 (the default is 1000) in the default AmlCluster:
This setting is cluster-level and affects all Modelcar workloads in the Alauda AI installation cluster.