You've already forked kubespray-dualstack
init: added root README.md
This commit is contained in:
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user