Files
kube-vm/README.md
ducoterra 405a0f5a0c reformat
2020-09-09 19:27:01 -04:00

59 lines
1.7 KiB
Markdown

# VM Managed Kubernetes
## etcd
3 debian VMs with etcd
| Host | CPU | MEM | DISK | IP | VNC Port |
| --------- | ----- | ------ | ------- | --------- | -------- |
| etcd1 | 2 | 2G | 16G | 3.14.3.20 | 5920 |
| etcd2 | 2 | 2G | 16G | 3.14.3.21 | 5921 |
| etcd3 | 2 | 2G | 16G | 3.14.3.22 | 5922 |
| **TOTAL** | **6** | **6G** | **48G** | | |
## k3os
3 k3os VMs
| Host | CPU | MEM | DISK | IP | VNC Port |
| --------- | ------ | ------- | ------- | --------- | -------- |
| kube1 | 12 | 16G | 16G | 3.14.3.23 | 5923 |
| kube2 | 12 | 16G | 16G | 3.14.3.24 | 5924 |
| kube3 | 12 | 16G | 16G | 3.14.3.25 | 5925 |
| **TOTAL** | **36** | **48G** | **48G** | | |
## Wireguard
2 debian VMs with wireguard and dnsmasq
| Host | CPU | MEM | DISK | IP | VNC Port |
| --------- | ----- | ------ | ------- | --------- | -------- |
| wg1 | 2 | 2G | 16G | 3.14.3.26 | 5926 |
| wg2 | 2 | 2G | 16G | 3.14.3.27 | 5927 |
| **TOTAL** | **4** | **4G** | **32G** | | |
## /etc/hosts
```bash
cat <<EOF >> /etc/hosts
3.14.3.20 etcd1
3.14.3.21 etcd2
3.14.3.22 etcd3
3.14.3.23 k3os1
3.14.3.24 k3os2
3.14.3.25 k3os3
3.14.3.26 wg1
3.14.3.27 wg2
EOF
```
## UEFI Boot Issues
1. When on UEFI Interactive Shell; type: exit
1. In the EFI menu system navigate to "Boot Maintenance Manager"
1. Select "Boot from file"
1. Locate and select your grubx64.efi file
1. When in terminal:
1. $ sudo mkdir /boot/efi/EFI/BOOT
1. $ sudo cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/BOOT/bootx64.efi
1. $ reboot