|Index|Using SUSE AI Factory|How do I manage AI blueprints?
Applies to SUSE AI Factory

5 How do I manage AI blueprints?

SUSE AI Factory helps you manage custom and preconfigured AI blueprints on your Kubernetes cluster.

Important
Important

You must first configure all the necessary secrets before installing AI applications and blueprints. Refer to Post-deployment steps for detailed procedures.

Screenshot showing a list of AI blueprints
Figure 5.1: List of AI blueprints

Blueprints are grouped into catalogs. Use the catalog drop-down list on the Blueprints page to show only the blueprints of a specific catalog. Blueprints bundled with SUSE AI Factory are listed under SUSE Blueprints. The default bundled blueprints are maintained at the SUSE aif repository. To add more catalogs, refer to How do I add blueprint catalogs?.

Note
Note: Partner and community blueprints

The SUSE partner blueprint catalog is synchronized by default, as described in SUSE partner blueprint catalog. Blueprints can carry a partner logo, which is shown next to the source badge on the Blueprints page, and can declare the Partner or Community source. The source is declared by the blueprint author and is not verified by SUSE AI Factory. When you copy a blueprint, the copy becomes a custom blueprint without the partner logo.

5.1 How do I create custom blueprints?

  1. From the main left panel, select SUSE AI Factory › Blueprints › Create.

  2. On the Basic Info screen, enter the name, version and optional description of the blueprint.

    Screenshot showing basic information about a blueprint
    Figure 5.2: Basic information about a blueprint
  3. On the Select Apps screen, search for an application to add to the template, select its name, and specify the version to install. Repeat this step for all applications you want to include in the blueprint.

    Screenshot showing how to add applications to a blueprint
    Figure 5.3: Selecting applications of a blueprint
  4. On the Configuration screen, review and optionally update the Helm deployment chart of the blueprint.

    Screenshot showing how to modify configuration of applications belonging to a blueprint
    Figure 5.4: Custom applications configuration
  5. On the Review & Create screen, verify that the entered information is correct and confirm with Create.

    Screenshot showing a summary of the blueprint configuration
    Figure 5.5: Review blueprint configuration

5.2 How do I modify blueprints?

  1. From the main left panel, select SUSE AI Factory › Blueprints.

  2. From the list of existing templates, select the blueprint to modify, open its three-dot action menu, and select Edit.

    Screenshot showing how to modify a blueprint
    Figure 5.6: Modify blueprints
  3. On the Basic Info screen, update the version number and description.

  4. On the Select Apps screen, update the list of applications in the blueprint by adding new applications or removing existing ones. Confirm with Next.

  5. On the Configuration screen, review and optionally update the Helm charts of the blueprint applications.

  6. On the Review & Create screen, verify that the entered information is correct and confirm with Save as New Version.

5.3 How do I install blueprints?

  1. From the main left panel, select SUSE AI Factory › Blueprints.

  2. From the list of existing blueprints, select the template to install, specify the deployment version, and select Install.

  3. On the Basic Info screen, customize the default name and target namespace for your workload. The wizard suggests a new namespace with a random suffix, for example, chatbot-k3x9q2a, so that each installation of the same blueprint uses its own namespace.

  4. On the Target screen, specify the deployment type and the target cluster for your workload. You can also review the estimated hardware requirements for the workload.

  5. (Optional) On the Configuration screen, customize the blueprint for this deployment. Leave a component untouched to keep the blueprint defaults.

    • To override the default Helm values of a component, edit its values.

    • To leave a component out of the deployment, clear its Include check box. At least one component must remain included.

      SUSE AI Factory saves only the values that you change. A workload whose configuration differs from the blueprint defaults is marked as Customized on the Workloads page.

  6. On the Review screen, verify that the configuration is correct:

    • Default storage class. Ensure that a default storage class is set on the target cluster. Applications such as Milvus and Qdrant require persistent storage. If no default storage class is available, pods remain in the Pending state.

    • Ingress settings. If your blueprint includes applications that use Ingress, ensure the host field is set correctly for each application. Leaving the host field empty causes the Ingress service to be created without a valid host name.

    • Required application fields. Ensure all required application fields are filled in. Missing values can prevent workloads from starting correctly.

      Tip
      Tip

      If the workload stays in the Pending state for an extended period after installation, a configuration value is missing or incorrect. To identify the issue, check the pod status directly:

      > kubectl get pods -n <WORKLOAD_NAMESPACE>
      > kubectl describe pod <POD_NAME> -n <WORKLOAD_NAMESPACE>

      The output shows the exact reason why the pod is stuck, such as a missing PVC, an unresolvable image or a failed volume mount.

  7. Start the deployment by selecting Install.

  8. Navigate to SUSE AI Factory › Workloads to monitor the startup progress and verify deployment status.

5.4 How do I clone a blueprint?

  1. From the main left panel, select SUSE AI Factory › Blueprints.

  2. From the list of existing blueprints, select the template you want to clone, specify the source version, open its three-dot action menu, and select Copy.

    Screenshot showing how to clone a blueprint
    Figure 5.7: Clone blueprints
  3. On the Basic Info screen, you can modify the suggested name, version and description.

  4. On the Select Apps screen, update the list of applications in the blueprint by adding new applications or removing existing ones. Confirm with Next.

  5. On the Configuration screen, review and optionally update the Helm deployment chart of the blueprint.

  6. On the Review & Create screen, verify that the entered information is correct and confirm with Create.

5.5 How do I deprecate blueprints?

  1. From the main left panel, select SUSE AI Factory › Blueprints.

  2. From the list of existing blueprints, select the template to deprecate.

  3. Specify the version to deprecate, open its three-dot action menu, and select Deprecate.

    Screenshot showing how to deprecate a blueprint
    Figure 5.8: Deprecate blueprints
  4. Confirm with Deprecate.

5.6 How do I restore deprecated blueprints?

  1. From the main left panel, select SUSE AI Factory › Blueprints.

  2. A deprecated blueprint is hidden from the list of blueprints. To make it visible again, check the Show deprecated box.

  3. Select the blueprint you want to restore and specify the deprecated version.

  4. Open the three-dot action menu for the blueprint, and select Undeprecate.

  5. Confirm with Undeprecate.

5.7 How do I delete blueprints?

Note
Note: Bundled and catalog blueprints cannot be deleted

Bundled blueprints shipped with SUSE AI Factory and blueprints synchronized from a Git blueprint catalog are protected and cannot be deleted. The Delete action is not shown for them, and any deletion request is rejected. To remove the blueprints of a Git catalog, remove the catalog as described in How do I add blueprint catalogs?. To customize a protected blueprint, clone it as described in Section 5.4, “How do I clone a blueprint?” and edit the copy.

  1. From the main left panel, select SUSE AI Factory › Blueprints.

  2. From the list of existing templates, select the blueprint to delete and specify the target version.

  3. Open the three-dot action menu for the blueprint, select Delete, and confirm the deletion.

    Screenshot showing how to delete a blueprint
    Figure 5.9: Delete blueprints

5.8 How do I manage environment-specific configurations with blueprints?

Consider the following use-case: You want to deploy a single LiteLLM blueprint to both a development cluster and a production cluster, but with different configurations. Because of resource constraints on development nodes, you must configure different LLM models, Ingress settings, or GPU allocations. You can achieve this by managing separate blueprints named blueprint-litellm-dev and blueprint-litellm-prod.

To configure and manage environment-specific deployments, perform the following steps:

  1. Use a prebuilt blueprint or create a custom blueprint as described in Section 5.1, “How do I create custom blueprints?”. Because this template serves the production cluster, name the blueprint blueprint-litellm-prod.

  2. Create a new version of the blueprint with the desired configurations as described in Section 5.2, “How do I modify blueprints?”.

  3. Clone the blueprint as described in Section 5.4, “How do I clone a blueprint?” and name it blueprint-litellm-dev.

  4. Deploy the blueprints as described in Section 5.3, “How do I install blueprints?”. Specify the correct version for each deployment.

    1. Deploy blueprint-litellm-prod to the production cluster.

    2. Deploy blueprint-litellm-dev to the development cluster.

Tip
Tip

To apply a new blueprint version during future maintenance window upgrades, select SUSE AI Factory › Workloads and select the corresponding Upgrade button.

5.9 How do I customize AI blueprints on the command line?

When you deploy a blueprint through the Rancher Prime Web interface, SUSE AI Factory creates an AIWorkload custom resource (ai-factory.suse.com/v1alpha1). You can also author and apply this resource manifest directly with kubectl. This approach enables automated GitOps workflows and command-line deployments with custom configuration values.

Key manifest considerations
  • Managed fields: Do not include runtime metadata or operator-managed fields such as spec.fleetBundleNames, metadata.uid, metadata.resourceVersion, or metadata.finalizers. The SUSE AI Factory operator automatically resolves the blueprint components and computes the fleetBundleNames list during deployment.

  • Workload naming: By convention, set metadata.name to <blueprint-name>-<cluster-id> (for example, simple-chatbot-with-rag-local or simple-chatbot-with-rag-vllm-c-56b6m).

  • Target cluster: In spec.targetClusters, specify the Rancher Prime cluster ID (such as local for the local management cluster or a downstream cluster ID like c-56b6m).

  • Component value overrides: In spec.componentValues, specify only the values that differ from the blueprint defaults, such as Ingress hosts, model specifications or storage configurations. Array values (such as model lists) are replaced wholesale rather than merged item by item.

Prerequisites
  • An operational Kubernetes cluster with SUSE AI Factory installed.

  • The kubectl command-line tool configured to access the cluster.

  • A registered blueprint available on the cluster (bundled, catalog or custom resource).

Procedure
  1. Create the target namespace for the workload if it does not already exist:

    > kubectl create namespace simple-chatbot-with-rag-system
  2. Create a YAML manifest file (for example, aiworkload-custom.yaml) defining the AIWorkload custom resource with your customized component values:

    apiVersion: ai-factory.suse.com/v1alpha1
    kind: AIWorkload
    metadata:
      name: simple-chatbot-with-rag-local
      namespace: simple-chatbot-with-rag-system
    spec:
      displayName: Simple Chatbot with RAG
      source:
        sourceType: Blueprint
        blueprint:
          name: simple-chatbot-with-rag
          version: 1.0.2
      deployStrategy: FleetBundle
      targetClusters:
      - local
      targetNamespace: simple-chatbot-with-rag-system
      componentValues:
      - componentName: ollama
        values:
          ollama:
            models:
              pull:
                - qwen2.5:0.5b
              run:
                - qwen2.5:0.5b
          persistentVolume:
            enabled: true
            size: 10Gi
      - componentName: open-webui
        values:
          ingress:
            host: owui.127.0.0.1.sslip.io
            tls: false
  3. Apply the manifest to the cluster:

    > kubectl apply -f aiworkload-custom.yaml
  4. Verify the status of the workload resource and monitor the deployment of pods:

    > kubectl get aiworkloads -n simple-chatbot-with-rag-system
    > kubectl get pods -n simple-chatbot-with-rag-system -w