Files
kubespray-dualstack/README.md
T
2025-08-06 02:37:27 +03:00

48 lines
745 B
Markdown

# 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
```