Skip to content

Commit 50a039f

Browse files
committed
AI: changed deployment profiling attribute
1 parent d574eeb commit 50a039f

18 files changed

Lines changed: 58 additions & 58 deletions

DC-AI-deployment

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ADOC_TYPE=book
88
ADOC_ATTRIBUTES=" --attribute env-daps=1"
99
ADOC_ATTRIBUTES+=" --attribute PROF_PRODUCT=suseai"
1010
ADOC_ATTRIBUTES+=" --attribute PROF_PRODUCT=suseai"
11-
ADOC_ATTRIBUTES+=" --attribute deployment_standard"
11+
ADOC_ATTRIBUTES+=" --attribute PROF_DEPLOYMENT=standard"
1212

1313
STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2022-ns"
1414
FALLBACK_STYLEROOT="/usr/share/xml/docbook/stylesheet/suse-ns"

DC-AI-deployment-airgapped

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ADOC_POST=yes
77
ADOC_TYPE=book
88
ADOC_ATTRIBUTES=" --attribute env-daps=1"
99
ADOC_ATTRIBUTES+=" --attribute PROF_PRODUCT=suseai"
10-
ADOC_ATTRIBUTES+=" --attribute deployment_airgap"
10+
ADOC_ATTRIBUTES+=" --attribute PROF_DEPLOYMENT=airgapped"
1111

1212
STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2022-ns"
1313
FALLBACK_STYLEROOT="/usr/share/xml/docbook/stylesheet/suse-ns"

glues/ai-library-intro.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ Applications in the {sregistry} are not built by the {suse} build system.
3434
They are mirrored upstream projects with attached supply chain artifacts.
3535
These artifacts help you source popular applications and tools in the AI ecosystem from a single source and provide built-in visibility into their upstream origins.
3636
Learn more on the registry's link:https://registry.suse.com/[Web site]
37-
ifdef::deployment_standard[]
37+
ifeval::["{PROF_DEPLOYMENT}" == "standard"]
3838
and refer to xref:ai-library-apps-verifying[] to see how to verify the supply chain artifacts
3939
endif::[]
4040
.
4141

42-
ifdef::deployment_standard[]
42+
ifeval::["{PROF_DEPLOYMENT}" == "standard"]
4343
You can install the required {ailibrary} component {helm} charts using one of the following methods:
4444

4545
* Install each AI application manually using the {helm} CLI as described in xref:suse-ai-deploy-suse-ai[].

glues/ai-ssecurity-intro.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
= Installing {ssecurity}
33

44
This chapter describes how to install {ssecurity} to scan {suseai} nodes for vulnerabilities and improve data protection.
5-
ifdef::deployment_standard[]
5+
ifeval::["{PROF_DEPLOYMENT}" == "standard"]
66
You can install it either using xref:suse-security-installation-rancher[{ranchermanager}] or on any xref:suse-security-installation-kubernetes[{kube} cluster].
77
endif::[]

references/AI-installation-flowchart.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ endif::[]
2121
:override-abstract!:
2222
:override-title!:
2323

24-
ifdef::deployment_standard[]
24+
ifeval::["{PROF_DEPLOYMENT}" == "standard"]
2525
The presented steps mainly relate to *manual* command-line installation.
2626

2727
However, there are alternative installation methods that can ease parts of the installation process.
@@ -34,13 +34,13 @@ The chart focuses on the following possible scenarios:
3434
* You have a supported Linux operating system and {kube} distribution installed on cluster nodes.
3535
* You have {rancherprime} and all supportive components installed on the {kube} cluster and are prepared to install the required applications from the {ailibrary}.
3636
37-
ifdef::deployment_standard[]
37+
ifeval::["{PROF_DEPLOYMENT}" == "standard"]
3838
[#fg-ai-installation-flowchart]
3939
.{productname} installation process
4040
image::ai-installation-flowchart.png[alt="{productname} installation process",width=100%]
4141
endif::[]
4242

43-
ifdef::deployment_airgap[]
43+
ifeval::["{PROF_DEPLOYMENT}" == "airgapped"]
4444
[#fg-ai-installation-flowchart-airgapped]
4545
.{productname} air-gapped installation process
4646
image::ai-installation-flowchart-airgapped.png[alt="{productname} air-gapped installation process",width=100%]

references/owui-helm-overrides.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ include::../snippets/helm-chart-overrides-intro.adoc[]
99
.{owui} override file with {ollama} included
1010
====
1111
The following override file installs {ollama} during the {owui} installation.
12-
ifdef::deployment_standard[]
12+
ifeval::["{PROF_DEPLOYMENT}" == "standard"]
1313
[source,yaml]
1414
----
1515
global:
@@ -103,7 +103,7 @@ Refer to link:https://www.nltk.org/index.html[] for licensing information.
103103
<.> API key value for communication between {owui} and {owui} Pipelines.
104104
The default value is '0p3n-w3bu!'.
105105
endif::[]
106-
ifdef::deployment_airgap[]
106+
ifeval::["{PROF_DEPLOYMENT}" == "airgapped"]
107107
[source,yaml]
108108
----
109109
global:
@@ -206,7 +206,7 @@ endif::[]
206206
.{owui} override file with {ollama} installed separately
207207
====
208208
The following override file installs {ollama} separately from the {owui} installation.
209-
ifdef::deployment_standard[]
209+
ifeval::["{PROF_DEPLOYMENT}" == "standard"]
210210
[source,yaml]
211211
----
212212
global:
@@ -261,7 +261,7 @@ For production use, we recommend using a storage solution suitable for persisten
261261
<.> These values are optional, required only to receive telemetry data from {owui}.
262262
<.> The URL of the {otelemetry} Collector installed by the user.
263263
endif::[]
264-
ifdef::deployment_airgap[]
264+
ifeval::["{PROF_DEPLOYMENT}" == "airgapped"]
265265
[source,yaml]
266266
----
267267
global:
@@ -329,7 +329,7 @@ This simple filter adds a limit to the number of question and answer turns durin
329329
=====
330330
Pipelines normally require additional configuration provided either via environment variables or specified in the {owui} Web UI.
331331
=====
332-
ifdef::deployment_standard[]
332+
ifeval::["{PROF_DEPLOYMENT}" == "standard"]
333333
[source,yaml]
334334
----
335335
global:
@@ -361,7 +361,7 @@ ingress:
361361
<.> A list of pipeline URLs to be downloaded and installed by default.
362362
Individual URLs are separated by a semicolon `;`.
363363
endif::[]
364-
ifdef::deployment_airgap[]
364+
ifeval::["{PROF_DEPLOYMENT}" == "airgapped"]
365365
[source,yaml]
366366
----
367367
global:
@@ -396,7 +396,7 @@ For air-gapped deployments, you need to provide the pipelines at URLs that are a
396396
endif::[]
397397
====
398398

399-
ifdef::deployment_standard[]
399+
ifeval::["{PROF_DEPLOYMENT}" == "standard"]
400400
[#owui-ollama-deploy-vllm]
401401
.{owui} override file with a connection to {vllm}
402402
====

tasks/AI-deployment-ailibrary-installing.adoc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ endif::[]
2121
:revdate: 2026-02-10
2222
:page-revdate: {revdate}
2323

24-
ifdef::deployment_standard[]
24+
ifeval::["{PROF_DEPLOYMENT}" == "standard"]
2525
This procedure includes steps to install {ailibrary} applications.
2626
endif::[]
27-
ifdef::deployment_airgap[]
27+
ifeval::["{PROF_DEPLOYMENT}" == "airgapped"]
2828
This procedure includes steps to install {ailibrary} applications in an air-gapped environments.
2929
endif::[]
3030

31-
ifdef::deployment_airgap[]
31+
ifeval::["{PROF_DEPLOYMENT}" == "airgapped"]
3232
[NOTE]
3333
====
3434
If the following steps do not specify on which part of the air-gapped architecture--_local_ or _remote_--the task should be performed, assume _remote_.
@@ -42,11 +42,11 @@ It is a separate entitlement from {rancherprime}.
4242
. Visit link:https://apps.rancher.io/[] to perform the check for the {productname} entitlement.
4343
If the entitlement check is successful, you are given access to pull and deploy the {productname}-related {helm} charts and container images available on {sappco}.
4444
. Visit the {sappco}, sign in and get the user access token as described in link:https://docs.apps.rancher.io/get-started/authentication/[].
45-
ifdef::deployment_airgap[]
45+
ifeval::["{PROF_DEPLOYMENT}" == "airgapped"]
4646
. Visit {scc}, select the organization with an active {productname} subscription from the left sidebar, and save the registration code for the {productname} subscription.
4747
. On the _local_ cluster, create a {kube} namespace if it does not already exist.
4848
endif::[]
49-
ifdef::deployment_standard[]
49+
ifeval::["{PROF_DEPLOYMENT}" == "standard"]
5050
. Create a {kube} namespace if it does not already exist.
5151
endif::[]
5252
The steps in this procedure assume that all containers are deployed into the same namespace, referred to as `SUSE_AI_NAMESPACE`.
@@ -94,7 +94,7 @@ The username is `regcode` and the password is the {scca} registration code of yo
9494
-u regcode \
9595
-p <SCC_REG_CODE>
9696
----
97-
ifdef::deployment_airgap[]
97+
ifeval::["{PROF_DEPLOYMENT}" == "airgapped"]
9898
. On the _remote_ host, download the `SUSE-AI-get-images.sh` script from the xref:ai-air-gap-stack[air-gap stack] and run it.
9999
+
100100
[source,bash,subs="+attributes"]
@@ -117,20 +117,20 @@ Set `DST_REGISTRY_USERNAME` and `DST_REGISTRY_PASSWORD` environment variables if
117117
endif::[]
118118
. Install {certmanager} as described in xref:cert-manager-installing[].
119119
. Install {ailibrary} components.
120-
ifdef::deployment_standard[]
120+
ifeval::["{PROF_DEPLOYMENT}" == "standard"]
121121
You can either install each component separately, or use the {saideployer} chart to install the components together as described in xref:ailibrary-installing-deployer[].
122122
endif::[]
123123

124-
ifdef::deployment_airgap[]
124+
ifeval::["{PROF_DEPLOYMENT}" == "airgapped"]
125125
.. Install {milvus} as described in xref:milvus-installing[].
126126
endif::[]
127-
ifdef::deployment_standard[]
127+
ifeval::["{PROF_DEPLOYMENT}" == "standard"]
128128
.. Install an application with vector database capabilities.
129129
{owui} supports either xref:opensearch-installing[{opensearch}] or xref:milvus-installing[{milvus}].
130130
endif::[]
131131
.. _(Optional)_ Install {ollama} as described in xref:ollama-installing[].
132132
.. Install {owui} as described in xref:owui-installing[].
133-
ifdef::deployment_standard[]
133+
ifeval::["{PROF_DEPLOYMENT}" == "standard"]
134134
.. Install {vllm} as described in xref:vllm-installing[].
135135
.. Install {mcpo} as described in xref:mcpo-installing[].
136136
.. Install {pytorch} as described in xref:pytorch-installing[].

tasks/AI-deployment-cluster-preparation.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ endif::[]
2424
:page-revdate: {revdate}
2525

2626

27-
ifdef::deployment_standard[]
27+
ifeval::["{PROF_DEPLOYMENT}" == "standard"]
2828
. Install xref:rancher-installation-quickstart[{ranchermanager}].
2929
endif::[]
30-
ifdef::deployment_airgap[]
30+
ifeval::["{PROF_DEPLOYMENT}" == "airgapped"]
3131
. Install xref:rancher-installation-airgapped[{ranchermanager}].
3232
endif::[]
3333
+

tasks/AI-deployment-kube-installing.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ include::../snippets/ai-separate-rancher-cluster.adoc[]
4141
+
4242
We recommend using the supported {rke2} distribution.
4343
Refer to
44-
ifdef::deployment_standard[]
44+
ifeval::["{PROF_DEPLOYMENT}" == "standard"]
4545
xref:rke2-installation-quickstart[]
4646
endif::[]
47-
ifdef::deployment_airgap[]
47+
ifeval::["{PROF_DEPLOYMENT}" == "airgapped"]
4848
xref:rke2-installation-airgapped[]
4949
endif::[]
5050
for details.

tasks/NVIDIA-GPU-driver-installation-SLES.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ functional system.
6767
[#nvidia-gpu-pre-install-procedure-sles]
6868
== The installation procedure
6969

70-
ifdef::deployment_airgap[]
70+
ifeval::["{PROF_DEPLOYMENT}" == "airgapped"]
7171
. On the *remote* host, run the script
7272
`SUSE-AI-mirror-nvidia.sh` from the air-gapped stack
7373
(see xref:ai-air-gap-stack[]) to download all required
@@ -85,7 +85,7 @@ After the download is complete, transfer the downloaded directory with
8585
all its content to each GPU-enabled *local* host.
8686
endif::[]
8787

88-
ifdef::deployment_standard[]
88+
ifeval::["{PROF_DEPLOYMENT}" == "standard"]
8989
. Add a package repository from {nvidia}. This allows pulling in
9090
additional utilities, for example, `nvidia-smi`.
9191
+

0 commit comments

Comments
 (0)