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
76 changes: 2 additions & 74 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,7 @@

The Open Cloud Data Center (OCDC) Terraform framework deploys and manages a full cloud-datacenter stack on top of [Harvester HCI](https://harvesterhci.io/). Harvester provides the hypervisor layer (based on KubeVirt), while Rancher provides the Kubernetes management plane. Tenant workload clusters are provisioned as RKE2 clusters running as virtual machines inside Harvester.

```text
┌─────────────────────────────────────────────────────────────────┐
│ Physical Nodes │
│ ┌───────────────────────────────────────────────────────────┐ │
│ │ Harvester HCI (KubeVirt) │ │
│ │ │ │
│ │ ┌─────────────────┐ ┌──────────────────────────────┐ │ │
│ │ │ Rancher Server │ │ Tenant RKE2 Clusters │ │ │
│ │ │ (RKE2 VM) │ │ ┌──────────┐ ┌──────────┐ │ │ │
│ │ │ │ │ │ Cluster A │ │ Cluster B │ │ │ │
│ │ │ cert-manager │ │ │ (3 VMs) │ │ (3 VMs) │ │ │ │
│ │ │ Rancher UI │ │ └──────────┘ └──────────┘ │ │ │
│ │ └────────┬────────┘ └──────────────────────────────┘ │ │
│ │ │ manages │ │
│ │ └──────────────────────────────────────────────▶│ │
│ └───────────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────────┘
```
![OCDC architecture overview: Rancher Server managing Tenant RKE2 Clusters inside Harvester HCI](media/architecture-overview.png)

---

Expand Down Expand Up @@ -187,62 +170,7 @@ This phase configures the `asgardeo` provider (or equivalent OIDC configuration

## Module Dependency Graph

```text
┌─────────────┐
│ bootstrap │
│ (Phase 0) │
└──────┬──────┘
│ rancher_lb_ip, rancher_hostname
┌─────────────┐
│ rancher auth│
│ (Phase 1) │
└──────┬──────┘
│ rancher2 provider configured
┌───────────────┼───────────────┐
▼ ▼ ▼
┌──────────────┐ ┌──────────┐ ┌───────────┐
│ harvester- │ │networking│ │ storage │
│ integration │ │(Phase 2b)│ │(Phase 2c) │
│ (Phase 2a) │ └──────────┘ └───────────┘
└──────┬───────┘
│ cloud credential, cluster registered
┌────────┐
│ rbac │
│(Phase │
│ 2d) │
└────────┘
│ projects/namespaces ready
┌─────────────────────────┐
│ namespace-credential- │
│ provisioner (Phase 2e) │
└──────────┬──────────────┘
│ harvesterconfig + harvester-vm-kubeconfig per namespace
┌───────────────────┐
│ identity │
│ (Phase 3a) │
└────────┬──────────┘
│ OIDC active
┌───────────────────┐
│ monitoring │
│ (Phase 3b) │
└────────┬──────────┘
│ observability ready
┌─────────────────────────────────┐
│ Workloads (Phase 4) │
│ ┌─────────────┐ ┌───────────┐ │
│ │ k8s-cluster │ │ vm │ │
│ │ (Phase 4a) │ │ (Phase 4b)│ │
│ └─────────────┘ └───────────┘ │
└─────────────────────────────────┘
```
![Module dependency graph: bootstrap → rancher auth → harvester-integration/networking/storage → rbac → namespace-credential-provisioner → identity → monitoring → workloads (k8s-cluster, vm)](media/module-dependency-graph.png)

---

Expand Down
Binary file added docs/media/architecture-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/media/module-dependency-graph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading