37 lines
1.2 KiB
Markdown
37 lines
1.2 KiB
Markdown
# Purpose of this component
|
|
|
|
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:
|
|
|
|
|
|
| Layer | Tool |
|
|
| ------------------------ | --------------------- |
|
|
| OpenCloud components | oc-deploy binary |
|
|
| KubernetesCluster | TODO or pre-requisite |
|
|
| 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).
|
|
|
|
This documentation will be updated with the needed command and/or requirements to properly execute the installation.
|
|
|
|
# Deploy cluster
|
|
## For dev in Docker
|
|
Install brew
|
|
|
|
/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
|