installer for kubernetes cluster in VM's #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
create example rhai script
remarks
requirements
proper sal's in herolib rust and have good rhai wrappers
make sure VM's do nat to go to outside world over IPv4
make sure the VM's can reach each other over IPV6 mycelium
can connect rhai script over SSH to the VMs
see how the kubernetes has its backplane over mycelium
5 VM's
configure k3s 3 master 2 nodes
create rhaj scripts for configuration, execute in VM's by executing hero'd
K3s HA Installation on 5 VMs with Mycelium Network
Scenario Overview
Step 1: Create Inventory File (on your workstation/host)
First, gather the Mycelium IPv6 addresses from each VM and create an inventory:
Step 2: Prepare All VMs
Create and run the preparation script on all VMs:
Step 3: Install K3s on First Master
Step 4: Join Additional Masters
Step 5: Join Worker Nodes
Step 6: Verification Tests
6.1 All-in-One Test Script
6.2 Test HA Failover
Step 7: Cleanup Test Resources
Quick Reference Commands
Troubleshooting
ssh VM "journalctl -u k3s -n 50"ssh VM "nft list ruleset"ssh VM "cat /var/lib/rancher/k3s/agent/etc/flannel/net-conf.json"flannel-iface myceliumkubectl logs -n kube-system -l k8s-app=kube-dnsssh MASTER "journalctl -u k3s | grep etcd"