Magent is build for select k3s master / cloudcore according to etcd leader
- ipvsadm should be installed
- running magent as root
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o magent main.goGOOS=linux GOARCH=adm64 CGO_ENABLED=0 go build -o magent main.goRunning with VirtualIP of the k3s master, for example:
sudo ./magent "200.23.34.56:6443,200.23.34.56:10352"