init: added root README.md

This commit is contained in:
ITQ
2025-08-06 02:36:46 +03:00
parent 46848fbd72
commit ffa29a93e2
+47
View File
@@ -0,0 +1,47 @@
# Kubespray dualstack (IPv4 + IPv6) setup
## Prerequisites
Ensure you have the following installed on your system:
- [libvirt](https://libvirt.org/) (latest version recommended)
- [Terraform](https://developer.hashicorp.com/terraform) (latest version recommended)
## Deploying environment
NOTE: You must have `libvirt` daemon running
### Goto Terraform directory
```bash
cd terraform
```
### Create and edit dotenv file
```bash
cp .env.template .env
```
### Add following records to hypervisor `/etc/hosts`
```bash
# ...
10.6.6.10 control-plane
2001:db8:ca2:2::10 control-plane
10.6.6.20 worker-1
2001:db8:ca2:2::20 worker-1
```
### Init Terraform
```bash
terraform init
```
### Start the environment
```bash
terraform apply
```