Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The stack is built in **layers**, each on top of the one before. You pick a **ta
| 1 | **Infrastructure** | The cluster your machines become | Kubernetes (built with Kubespray) and storage (local-path, NFS, Ceph, NetApp ONTAP, or your own CSI driver) | `infrastructure` | [Quick Start: Layer 1](#layer-1-infrastructure) |
| 2 | **Platform** | Shared services every layer uses | Envoy Gateway, Keycloak, cert-manager, Istio ambient mesh, MetalLB, PostgreSQL, SeaweedFS, Grafana with Prometheus, Loki and Tempo, Headlamp | `platform` | [Quick Start: Layer 2](#layer-2-platform) |
| 3 | **Intel® Inference Toolkit** | Serves models behind one OpenAI-compatible API | Envoy AI Gateway, KServe, vLLM / OpenVINO™ Model Server, optional LiteLLM and Langfuse | `inference` | [inference-toolkit](https://github.com/intel/inference-toolkit) |
| 4 | **Intel® Chatbot Toolkit** *(optional, on top of 3)* | Chat with your own documents (RAG) | Vector database, document ingestion, RAG pipeline, MCP gateway, chat history, web UI | `erag` | [chatbot-toolkit](https://github.com/intel/chatbot-toolkit) |
| 4 | **Intel® Chatbot Toolkit** *(optional, on top of 3)* | Chat with your own documents (RAG) | Vector database, document ingestion, RAG pipeline, MCP gateway, chat history, web UI | `chatbot` | [chatbot-toolkit](https://github.com/intel/chatbot-toolkit) |
| 4 | **Intel® Agent Toolkit** *(optional, on top of 3)* | Run AI agents safely | Agent sandboxes (optionally Kata microVMs), memory stores (Redis Stack, pgvector), LiteLLM virtual keys, guardrails, a hybrid model router; optional KubeRay | `agent-toolkit` | [agent-toolkit](https://github.com/intel/agent-toolkit) |

> [!NOTE]
Expand Down Expand Up @@ -175,8 +175,8 @@ Keep the admin key to yourself; give each application or agent its own virtual k
**What you get:** a chat web UI at `https://inteltoolkits.ai` that answers from your own documents: document ingestion, a vector database, the RAG pipeline and chat history.

```bash
./toolkit_manager.sh init erag
./toolkit_manager.sh install erag
./toolkit_manager.sh init chatbot
./toolkit_manager.sh install chatbot
```

More: [Getting Started with Intel® Chatbot Toolkit](docs/getting-started/chatbot-toolkit.md) (prerequisites, sign-in, pipelines).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
# =============================================================================
# Layer manifest — erag
# Layer manifest — chatbot
# =============================================================================
# The inference layer eRAG builds on, then eRAG itself, each pinned to the
# rev this layer is validated against. Dependencies first: inference is
# cloned and seeded before erag.
# The inference layer Intel® Chatbot Toolkit builds on, then the toolkit
# itself, each pinned to the rev this layer is validated against.
# Dependencies first: inference is cloned and seeded before chatbot.
#
# Field reference: docs/reference/adding-solutions.md
# =============================================================================
Expand All @@ -19,10 +19,10 @@ repos:
default_flavour: ""
model_catalog: "model_manager/models.yaml"

- layer: "erag"
- layer: "chatbot"
url: "https://github.com/intel/chatbot-toolkit"
dest: "chatbot-toolkit"
rev: "6fa81aa0a9852cbf195317d45bfe8648ebc7a955" # v3.1.0-rc.1
rev: "release-3.1"
deployment_subdir: "deployment"
config_dir: "pipelines"
default_flavour: "chatqna"
4 changes: 2 additions & 2 deletions docs/configuration/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -576,15 +576,15 @@ Next to `global_config.yaml`, each solution layer has its own config file, creat
`init <layer>`:

- **`env/<name>/config.inference.yaml`** — from the inference repository's `config.yaml`
- **`env/<name>/config.erag.yaml`** — from the chosen flavour's `config.yaml` (default: `chatqna`)
- **`env/<name>/config.chatbot.yaml`** — from the chosen flavour's `config.yaml` (default: `chatqna`)
- **`env/<name>/config.agent-toolkit.yaml`** — from the Agent Toolkit repository's `config.yaml`

These files are **flat** lists of settings, passed to Ansible as they are (`-e @file`). A setting
that holds a nested block replaces the default block entirely; it is not merged with it. The
installer loads the layer files first (lower layers before higher ones), then
`global_config.yaml`, so a value in `global_config.yaml` wins over the same key in a layer's file.

Example: `config.erag.yaml` sets Chatbot Toolkit options such as `ui_enabled`, `edp_enabled` and
Example: `config.chatbot.yaml` sets Chatbot Toolkit options such as `ui_enabled`, `edp_enabled` and
`vector_databases_enabled`. Setting the same key in `global_config.yaml` overrides it.

---
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/nri-cpu-balloons.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ nri_deployment_profile: "siblings"
```

`nri_cpu_balloons` is a **platform-layer** component: `install platform` (and
`install inference`/`install erag`, which pull in the platform layer) installs or
`install inference`/`install chatbot`, which pull in the platform layer) installs or
re-applies it, and `teardown platform` removes it. `teardown inference` keeps
it, because every pod on the node is placed in a balloon, not only model pods.
Each of these installs re-applies the role, so a changed `nri_deployment_profile`
Expand Down
10 changes: 5 additions & 5 deletions docs/deployment/install-platform.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The installer sets up these layers automatically, each on top of the one before:
Intel GPU device plugin (only on nodes with an Intel GPU); optional: Headlamp, KEDA, Velero
3. Intel® Inference Toolkit — from the inference repository: KServe, the Envoy AI Gateway and the model services
(LiteLLM and Langfuse too in LiteLLM mode)
4. Intel® Chatbot Toolkit — opt-in (vector DB, ingestion, chat, UI) — requires init erag + install erag
4. Intel® Chatbot Toolkit — opt-in (vector DB, ingestion, chat, UI) — requires init chatbot + install chatbot
```

You run **one command** and it installs every layer the target needs. `./toolkit_manager.sh show` lists every layer and component.
Expand Down Expand Up @@ -560,7 +560,7 @@ env/<name>/logs/status-cluster-20260817-152000.log
```bash
# Environment setup
./toolkit_manager.sh configure # one-time machine prep
./toolkit_manager.sh init <layer> --env <name> # create new environment (layer: inference, erag, agent-toolkit)
./toolkit_manager.sh init <layer> --env <name> # create new environment (layer: inference, chatbot, agent-toolkit)
./toolkit_manager.sh show # list layers/components

# Installation
Expand Down Expand Up @@ -943,11 +943,11 @@ Intel® Chatbot Toolkit adds document ingestion, vector search, RAG pipelines, a
**Quick path:**

```bash
./toolkit_manager.sh init erag --env <name>
./toolkit_manager.sh install erag --env <name>
./toolkit_manager.sh init chatbot --env <name>
./toolkit_manager.sh install chatbot --env <name>
```

The `init erag` command downloads the inference and Intel® Chatbot Toolkit repositories (dependencies first), creates `env/<name>/config.erag.yaml` from the selected pipeline flavour (default: `chatqna`; pick another with `--flavour`), and records the layer in `env/<name>/.solutions.yaml`. The `install erag` command first installs whatever it needs that is missing (infrastructure → platform → inference), then installs the RAG application layer.
The `init chatbot` command downloads the inference and Intel® Chatbot Toolkit repositories (dependencies first), creates `env/<name>/config.chatbot.yaml` from the selected pipeline flavour (default: `chatqna`; pick another with `--flavour`), and records the layer in `env/<name>/.solutions.yaml`. The `install chatbot` command first installs whatever it needs that is missing (infrastructure → platform → inference), then installs the RAG application layer.

**See the full guide:** [Getting Started with Intel® Chatbot Toolkit](../getting-started/chatbot-toolkit.md) covers prerequisites, flavour selection, per-layer install and teardown, configuration, and troubleshooting.

Expand Down
24 changes: 12 additions & 12 deletions docs/deployment/netapp-ontap.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ Both flows assume the array side already exists. The installer creates nothing o
./toolkit_manager.sh configure
```

2. Initialize the `erag` layer. This clones the inference and RAG repositories at their
2. Initialize the `chatbot` layer. This clones the inference and RAG repositories at their
pinned revisions and seeds `env/prod/config.inference.yaml`, `env/prod/models.yaml`
and `env/prod/config.erag.yaml` from the default `chatqna` pipeline preset:
and `env/prod/config.chatbot.yaml` from the default `chatqna` pipeline preset:

```bash
./toolkit_manager.sh init erag --env prod
./toolkit_manager.sh init chatbot --env prod
```

3. In `env/prod/global_config.yaml`, the five Flow A values and `storage_backend`, plus
Expand All @@ -120,7 +120,7 @@ Both flows assume the array side already exists. The installer creates nothing o
too whenever the object-store server does not answer on 443, so preflight probes the
right port.

4. In `env/prod/config.erag.yaml`, the object-store user credentials:
4. In `env/prod/config.chatbot.yaml`, the object-store user credentials:

```yaml
edp_s3_compatible_access_key_id: "<access key>"
Expand All @@ -131,7 +131,7 @@ Both flows assume the array side already exists. The installer creates nothing o
`infrastructure`, `platform` and `inference` first, in that order:

```bash
./toolkit_manager.sh install erag --env prod
./toolkit_manager.sh install chatbot --env prod
```

## What the integration provides
Expand Down Expand Up @@ -193,7 +193,7 @@ The array topology goes in `env/<name>/global_config.yaml`, created by
`configs/defaults/global_config.yaml` is the same list, commented out, with inline notes.

Settings that belong to a solution layer rather than to the array live in that layer's
own config. For Intel® Chatbot Toolkit that is `env/<name>/config.erag.yaml`, seeded from the
own config. For Intel® Chatbot Toolkit that is `env/<name>/config.chatbot.yaml`, seeded from the
pipeline flavour you chose at `init` time. The installer's `global_config.yaml` carries no
layer-specific variables.

Expand Down Expand Up @@ -221,12 +221,12 @@ preflight runs `getent hosts` from each node and reports every unresolvable pair
| Variable | Where it goes | Meaning |
|---|---|---|
| `ontap_s3_data_lif` | `global_config.yaml` | Data LIF of the SVM's object-store server. This is a **different LIF** from `ontap_data_lif`, which is the NFS one. Leaving it empty means the whole S3 path is inactive. |
| `edp_s3_compatible_access_key_id` | `config.erag.yaml` | Access key of the ONTAP object-store user |
| `edp_s3_compatible_secret_access_key` | `config.erag.yaml` | Its secret key |
| `edp_s3_compatible_access_key_id` | `config.chatbot.yaml` | Access key of the ONTAP object-store user |
| `edp_s3_compatible_secret_access_key` | `config.chatbot.yaml` | Its secret key |

The array topology is the installer's concern; the credentials belong to the layer that
consumes them. For the RAG side, see `docs/customize/object_store.md` in the Intel® Chatbot
Toolkit repository (cloned to `ext/chatbot-toolkit/` by `init erag`).
Toolkit repository (cloned to `ext/chatbot-toolkit/` by `init chatbot`).

`ontap_s3_data_lif` is what activates the gateway's dedicated S3 listener and, together
with the credentials, the reverse proxy in Intel® Chatbot Toolkit. `edp_rbac_enabled` must stay
Expand Down Expand Up @@ -285,7 +285,7 @@ component comes with it. This section covers what happens afterwards.
Validate at the layer you deployed:

```bash
./toolkit_manager.sh validate inference --env prod # or: validate platform / validate erag
./toolkit_manager.sh validate inference --env prod # or: validate platform / validate chatbot
```

A layer validation includes the storage checks, because `storage` is part of the
Expand All @@ -300,10 +300,10 @@ Teardown is also a layer operation, and it resolves **upward**: the target plus
layer that depends on it. So `teardown infrastructure` removes Intel® Chatbot Toolkit, the serving
stack, the platform, the storage backend and then the cluster itself, in that order, and
it asks for confirmation first because Kubespray reset destroys the cluster.
Tearing down a single layer, for example `teardown erag`, leaves everything below it
Tearing down a single layer, for example `teardown chatbot`, leaves everything below it
running.

```bash
./toolkit_manager.sh teardown erag --env prod # just Intel® Chatbot Toolkit
./toolkit_manager.sh teardown chatbot --env prod # just Intel® Chatbot Toolkit
./toolkit_manager.sh teardown infrastructure --env prod # everything, cluster included
```
8 changes: 4 additions & 4 deletions docs/deployment/node-scaling.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ Check these before you run either command:
1. **The cluster was installed by Toolkit Manager.** Both commands need `env/<name>/kubeconfig.yaml`, which `install kubernetes` writes. Without it they stop and tell you to install the cluster first.
2. **The installer host reaches the API server** at `https://<control-plane-ip>:6443`, not only the nodes over SSH. Without that access, both stop before Kubespray runs.
3. **The installer host can SSH to the new node** with the node's `ssh_user`/`ssh_key` from `nodes.yaml` (or the file-wide `nodes_ssh_user`/`nodes_ssh_key`), without a password prompt. `add-node` tests this before it asks you to confirm. If it fails, authorize the key (for example with `ssh-copy-id`) and retry.
4. **ERAG is not deployed** (see [What's not supported](#whats-not-supported)).
4. **Intel® Chatbot Toolkit is not deployed** (see [What's not supported](#whats-not-supported)).

## What's supported

| Scenario | Supported? |
|---|---|
| Installer-managed cluster, no ERAG deployed | Yes |
| Installer-managed cluster, no Chatbot Toolkit deployed | Yes |
| Adding worker node(s) via `add-node` | Yes |
| A control-plane node that is also a worker (an identical entry under both `nodes_control_plane` and `nodes_workers`) | Yes, as long as it stays in both lists — `add-node`/`remove-node` treat it as control-plane: changing its role (worker on/off) is not something they do, and deleting it from both lists is a control-plane removal (refused) |
| Removing worker node(s) via `remove-node` | Yes |
Expand All @@ -59,7 +59,7 @@ Check these before you run either command:
| BYO cluster (`existing_kubernetes` set in `global_config.yaml`) | A bring-your-own cluster is not managed by Kubespray at all |
| Adding control-plane/etcd node(s) via `add-node` | Kubespray's `scale.yml` cannot add control-plane/etcd members |
| Removing control-plane/etcd node(s) via `remove-node` | Refused: see [Control-plane nodes are not removed](#control-plane-nodes-are-not-removed) |
| Cluster with ERAG deployed | Both actions only ever touch the `kubernetes` component — ERAG's own Helm/pipeline config is never re-applied, so any node-specific placement it relies on isn't accounted for. Both refuse when any ERAG-only namespace (`rag-ui`, `chat-history`, `edp`, `fingerprint`, `vdb`, `erag-gateway`, `auth-apisix`) exists |
| Cluster with Chatbot Toolkit deployed | Both actions only ever touch the `kubernetes` component — its own Helm/pipeline config is never re-applied, so any node-specific placement it relies on isn't accounted for. Both refuse when any Chatbot Toolkit-only namespace (`rag-ui`, `chat-history`, `edp`, `fingerprint`, `vdb`, `erag-gateway`, `auth-apisix`) exists |
| Hand-edited inventory (`env/<name>/inventory/hosts.yaml`, no `nodes.yaml`) | Both actions find their target node(s), SSH details and control-plane membership from `nodes.yaml`; without it they stop before doing anything. Convert the inventory to `nodes.yaml` first |
| Star racks (`topology: star`) | The spokes reach each other through the hub, so a spoke added or removed changes the hub's fabric and every spoke's routes. Both refuse a star rack before doing anything |
| On a rack: control-plane, etcd or storage nodes, and an edit that changes the nodes that stay | See [Rack-scale](#rack-scale) |
Expand Down Expand Up @@ -212,7 +212,7 @@ Not checked, and each would currently only surface as a Kubespray failure partwa
- **`nodes.yaml`, the inventory and the cluster must agree.** `add-node` refuses while a joined node is missing from `nodes.yaml` (its prep pass would drop that node from the inventory). `remove-node` refuses a node that is no longer in the inventory (Kubespray could not reach it), and a `nodes.yaml` that also lists nodes not yet joined (its post pass would put them in the inventory and the NFS exports).
- **Health after `remove-node`** is judged against the findings from before the removal: only new problems fail the command, and pods the drain evicted get a minute to be scheduled.
- **Fails closed when the cluster can't be read.** If `kubectl` can't list the cluster's nodes or namespaces, both actions stop with the error rather than diffing `nodes.yaml` against an empty list. `remove-node` does the same for PodDisruptionBudgets and the preflight simulation: a check that didn't run refuses the removal, it never passes it.
- **ERAG guard** — both actions refuse when ERAG is deployed (see [What's not supported](#whats-not-supported)).
- **Chatbot Toolkit guard** — both actions refuse when Intel® Chatbot Toolkit is deployed (see [What's not supported](#whats-not-supported)).
- **Control-plane removal is refused** — see [Control-plane nodes are not removed](#control-plane-nodes-are-not-removed).
- Inventory regeneration is deliberately deferred until *after* `remove-node.yml` succeeds, so Kubespray always gets a node it can still reach.
- **Workload visibility before you confirm** — lists real (non-DaemonSet, non-static-pod) workloads running on the node(s) about to be removed, so a model or service that's only running there doesn't get evicted as a surprise.
Expand Down
Loading