Skip to content

meixiezichuan/magent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Magent

Magent is build for select k3s master according to etcd leader

Requirement

  • ipvsadm should be installed
  • running magent as root

Build

Build for arm64 linux

GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o magent main.go

Build for amd64 linux

GOOS=linux GOARCH=adm64 CGO_ENABLED=0 go build -o magent main.go

Run

Running with VirtualIP of the k3s master, for example:

sudo ./magent "200.23.34.56:6443"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages