chore: improvements in docs

This commit is contained in:
ITQ
2025-08-20 13:53:21 +03:00
parent 4febd4f75a
commit 5bec757a16
9 changed files with 85 additions and 45 deletions
+27 -11
View File
@@ -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.