Going on like 40h straight of no sleep as this was my weekend passion project. I'll edit this issue and post good information on a second pass. Dropping in some notes for now.
BTW .... WOW!! Thank you for this amazing Open Source contribution! Netmaker is phenomenal!
Clouds used in my weekend implementation:
Azure
Vultr
Digital Ocean
System Requirements + Costs:
Master nodes 2 vCPU + 4GB RAM (I made 5 of these - generally $30/month each)
Agent nodes 1 vCPU 1GB RAM (I made 12 of these - generally $7/month each)
Bandwith: If over the pre-allocation, generally $0.01 per GB
Goal:
Build a edge cloud for our MSP business as an "edge-cloud command center" with support for Anycast IPs and geo-redundancy with our ingress
Lay a foundation with Cilium's clustermesh to extend to worker node k8s clusters running in our on-premise datacenters and IaaS clouds (Hetzner, Vultr Bare Metal, Cherry Servers, etc.)
Networking
Made a network for the physical node layer called "snyderedge-p" as 10.254.0.0/15
Made a network that will be used in the future across K8S services/pods called "snyderedge-k" as 10.252.0.0/15
Enabled UDP hole punching and renamed by default interface
Ubuntu 22.04 node setup
sudo update-alternatives --set iptables /usr/sbin/iptables-legacy
sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
sudo mount bpffs -t bpf /sys/fs/bpf
echo "bpffs /sys/fs/bpf bpf defaults 0 0" | sudo tee -a /etc/fstab
# If needing to blow out the installation due to trial & error:
/usr/local/bin/k3s-uninstall.sh && sudo ip link delete cilium_host && sudo ip link delete cilium_vxlan
# If needing to disconnect the netmaker client
sudo netclient leave -n snyderedge-p
I'll update this issue over the coming few weeks with more rich information. Hopefully this can then make it into docs more docs for others to benefit from :
What happened?
Going on like 40h straight of no sleep as this was my weekend passion project. I'll edit this issue and post good information on a second pass. Dropping in some notes for now.
BTW .... WOW!! Thank you for this amazing Open Source contribution! Netmaker is phenomenal!
Clouds used in my weekend implementation:
System Requirements + Costs:
Goal:
Networking
10.254.0.0/15
10.252.0.0/15
Ubuntu 22.04 node setup
Join each node to Netmaker
Initialize the first K3s server node with cluster-init
Add the other K3S server nodes with the control plane
Add K3S agent nodes
Install Cilium
Upgrade example
Cleanup One-Liners
I'll update this issue over the coming few weeks with more rich information. Hopefully this can then make it into docs more docs for others to benefit from :
Version
v0.17.1
What OS are you using?
Linux
Relevant log output
No response
Contributing guidelines