This quick start guide will guide you through the initial steps to deploy and manage the Operator Platform using the provided Ansible automation framework.
First is recommended to start with a clean VM running Ubuntu 24.04. Then, add the VM details to the inventory file and configure SSH access. So in the `inventory/hosts.yml` file, add your VM's IP address and SSH user credentials:
Once dependencies are installed, then we can deploy the cluster.
## Deploy The Cluster
Now let's deploy the kind cluster with 3 nodes: 1 control plane and 2 workers.
!!! info
This is the default configuration with 1 control plane and 2 worker nodes. You can customize the number of nodes in the `group_vars/all.yml` file by modifying the `worker_nodes` variable:
This is playbook does many workarounds to be able to deploy i2edge on the cluster such as rsync the code to the VM and build the image and then add it to the cluster. This is ugly and needs to be fixed, but works for now.
```bash
ansible-playbook playbooks/02-deploy-i2edge.yml
```
!!! success
If everything went fine, i2edge should be accessible directly in http://VM_IP:30769/docs
## Deploy Artifact Registry (Harbor)
We provide a playbook to deploy a Harbor instance to work as the artefact registry for the operator platform. To deploy Harbor run the following playbook:
```bash
ansible-playbook playbooks/02-deploy-harbor.yml
```
!!! success
If everything went fine, harbor should be accessible directly in http://VM_IP:30002.
!!! info
Default Harbor credentials are: `admin` / `Harbor12345`. However those can be changed before the playbook run in the `ansible/roles/harbor/defaults/main.yml` file.