You've already forked kubespray-dualstack
chore: improvements in docs
This commit is contained in:
@@ -12,6 +12,13 @@ Ensure you have the following installed on your system:
|
||||
|
||||
NOTE: You must have `libvirt` daemon running
|
||||
|
||||
### Generate SSH keypair
|
||||
|
||||
```bash
|
||||
mkdir .ssh
|
||||
ssh-keygen -f .ssh/id_rsa
|
||||
```
|
||||
|
||||
### Goto Terraform directory
|
||||
|
||||
```bash
|
||||
@@ -24,17 +31,6 @@ cd terraform
|
||||
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
|
||||
@@ -46,3 +42,23 @@ terraform init
|
||||
```bash
|
||||
terraform apply
|
||||
```
|
||||
|
||||
## Provisioning Kubernetes
|
||||
|
||||
### Run provision script
|
||||
|
||||
```bash
|
||||
./scripts/provision
|
||||
```
|
||||
|
||||
## Testing dualstack
|
||||
|
||||
### Apply manifest.yaml (on node)
|
||||
|
||||
```bash
|
||||
sudo kubectl apply -f manifest.yaml
|
||||
```
|
||||
|
||||
### Check access via IPv{4,6}
|
||||
|
||||
You should access service via `10.6.6.10` and `2001:db8:ca2:2::10` inside cluster and on hypervisor.
|
||||
|
||||
Reference in New Issue
Block a user