This project will generate a kubeadm command to join a k8s cluster
It is a http server. It will reply a request with a valid kubeadm join command to include a node to an existing cluster.
curl --fail -s -XPOST --header "format: text" "http://localhost:8000/join"
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -tags netgo -ldflags '-w -extldflags "-static"' -o k8s-gentoken *.go