This scenario deploys two complete, independent Operator Platform (OP) instances on two separate sets of nodes. This is useful for testing federation, inter-domain communication, and other multi-operator scenarios.
## Prerequisites
1.**Inventory Configuration**: You must define two groups in your inventory: `op1_nodes` and `op2_nodes`. Each group should contain the target host(s) for that specific OP instance.
Example `ansible/inventory/hosts.yml`:
```yaml
all:
children:
op1_nodes:
hosts:
node_for_op1:
op2_nodes:
hosts:
node_for_op2:
```
2.**Resources**: Ensure both target environments have sufficient resources to run a full OP stack (Kind cluster, Harbor, Federation Manager, etc.). Note that this takes a several amount of resources.
If you need to deploy specific components individually or want to customize a single component without running a full scenario, you can use the tool-specific playbooks.
## Common Usage
Run any tool playbook from the `ansible` directory:
This guide covers deployment options for the Operator Platform.
## "Single OOP Deployment (Kind)"
# Quick Start
This is the fastest way to get a full-ish Operator Platform environment running. It deploys a lightweight Kubernetes cluster (using [Kind](https://kind.sigs.k8s.io/)) on a single machine and installs all components automatically. It is ideal for quickly testing the OOP.
### 1. Prepare The Inventory
### Prepare The Inventory
Add your target machine (e.g., a fresh Ubuntu VM) to `ansible/inventory/hosts.yml`, or even your laptop for a quick test.
@@ -24,7 +20,7 @@ Add your target machine (e.g., a fresh Ubuntu VM) to `ansible/inventory/hosts.ym
your_vm_name:
```
### 2. Deploy Everything
### Deploy Everything
Run the "Single OOP" scenario playbook. This handles the needded python dependencies, installs docker if not installed already, creates a kubernetes cluster, and installs a minimal number of OOP components. Specifically, this playbook install the following modules:
@@ -46,84 +42,10 @@ Run the "Single OOP" scenario playbook. This handles the needded python dependen
Once the playbook finishes, access the **Dashboard** to see all services:
***URL:**`http://<VM_IP>:30088`

=== "Prod-ready / Custom Deployment"
For production environments or custom setups, you should execute the deployment steps individually. This allows for greater control over each component and is suitable for multi-node clusters or integrating with existing infrastructure.
## 1. Prepare The Inventory
Configure your `ansible/inventory/hosts.yml` as described in the [Getting Started](getting-started.md) guide.
## 2. Install Dependencies
Ensure you are in the `ansible` directory with your virtual environment activated: