From ffa29a93e2da71b7efc6354c8d5fcfedccf53302 Mon Sep 17 00:00:00 2001 From: ITQ Date: Wed, 6 Aug 2025 02:36:46 +0300 Subject: [PATCH] init: added root README.md --- README.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..c671646 --- /dev/null +++ b/README.md @@ -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 +```