oc-deploy/README.md

41 lines
1.3 KiB
Markdown
Raw Normal View History

2024-07-30 11:56:24 +02:00
# Purpose of this componenet
The purpose of oc-deploy, is to deploy all the OC components over a Kubernetes cluster.
An OpenCloud deployment is composed of the following layers:
--------------------------
| OpenCloud components | <-- TODO
--------------------------
| KubernetesCluster | <-- TODO
--------------------------
| IaaS (VMs, LAN) | <-- pre-requisite
--------------------------
|HW (network and servers)| <-- pre-requisite
--------------------------
It thus contains a first optional installation layer which deploys the Kubernetes nodes (control plane(s) and workers) above an existing infrastructure (Iaas).
Then the second installation layer uses Helm charts to deploy and configure all the OC components.
This documentation will be updated with the needed command and/or requirements to properly execute the installation.
2024-07-10 17:05:05 +02:00
# Deploy cluster
## For dev in Docker
Install brew
2023-11-02 15:51:57 +01:00
2024-07-10 17:05:05 +02:00
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Install Talos
brew install siderolabs/tap/talosctl
talosctl cluster create
# Install helm
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh
# Create OpenCloud Chart
helm create occhart