oc-deploy/README.md

37 lines
1.2 KiB
Markdown
Raw Normal View History

2024-07-30 11:59:52 +02:00
# Purpose of this component
2024-07-30 11:56:24 +02:00
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:
2024-09-12 13:27:47 +02:00
| Layer | Tool |
| ------------------------ | --------------------- |
| OpenCloud components | oc-deploy binary |
| KubernetesCluster | TODO or pre-requisite |
| IaaS (VMs, LAN) | pre-requisite |
| HW (network and servers) | <-- pre-requisite |
2024-07-30 11:56:24 +02:00
2024-09-12 13:27:47 +02:00
It thus contains a first optional installation layer which deploys the Kubernetes nodes (control plane(s) and workers) above an existing infrastructure (Iaas).
2024-07-30 11:56:24 +02:00
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