added deploy script

This commit is contained in:
2025-06-29 18:10:55 +02:00
parent 994a857b5d
commit 0f48caa9aa
6 changed files with 83 additions and 4 deletions

View File

@ -1,12 +1,12 @@
# Kubernetes Cluster Deployment Guide
This guide describes how to deploy a Kubernetes cluster tailored to your environment using the provided `init-deploy.sh` script.
This guide describes how to deploy a Kubernetes cluster tailored to your environment using the provided `redbutton.sh` script.
## ⚙️ Pre-requisites
Before running the deployment script, ensure the following are in place:
- `kubectl` is installed on your local machine
- `kubectl` and `helm` are installed on your local machine
- The remote user can execute `sudo` commands **without a password prompt**
- SSH host keys of the target nodes are already added to your system (to avoid interactive confirmation prompts)
@ -17,7 +17,8 @@ This setup will create a Kubernetes cluster with the following topology and comp
- **1 Control Plane Node**
- **2 Worker Nodes**
- **Calico** as the CNI (Container Network Interface)
- **MetalLB** as the cloud load balancer for bare metal services
- **MetalLB** as the cloud load balancer for bare metal services (change the configmap to adapt it to your network)
- **Traefik** as the ingress controller on IP 10.50.3.30 (change it in the values.yaml to adapt it to your network)
- **Longhorn** as the persistent storage provider
## 🚀 How to Deploy
@ -26,4 +27,6 @@ To initiate the deployment, run the provided script:
```bash
chmod +x init-deploy.sh
./init-deploy.sh
chmod +x helm-deploy.sh
chmod +x redbutton.sh
./redbutton.sh